• DocumentCode
    3686802
  • Title

    Sharing developers´ mental models through source code annotations

  • Author

    Matúš Sulír;Milan Nosál´

  • Author_Institution
    Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Koš
  • fYear
    2015
  • Firstpage
    997
  • Lastpage
    1006
  • Abstract
    Context: Developers possess mental models containing information far beyond what is explicitly captured in the source code. Objectives: We investigate the possibility to use source code annotations to capture parts of the developers´ mental models and later reuse them by other programmers during program comprehension and maintenance. Method: We performed two studies and a controlled experiment. Results: Developers´ mental models overlap and thus can be shared. Possible use cases of shared annotations are hypotheses confirmation, feature location, obtaining new knowledge, finding relationships and maintenance notes. In the experiment, the presence of annotations reduced program comprehension and maintenance time by 34%. Conclusion: Annotations are a viable way to share programmers´ thoughts.
  • Keywords
    "Cognitive science","Maintenance engineering","Java","Encoding","Graphical user interfaces","Software engineering"
  • Publisher
    ieee
  • Conference_Titel
    Computer Science and Information Systems (FedCSIS), 2015 Federated Conference on
  • Type

    conf

  • DOI
    10.15439/2015F301
  • Filename
    7321551