• DocumentCode
    3602879
  • Title

    An Eye-Tracking Study of Java Programmers and Application to Source Code Summarization

  • Author

    Rodeghero, Paige ; Cheng Liu ; McBurney, Paul W. ; McMillan, Collin

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Univ. of Notre Dame, Notre Dame, IN, USA
  • Volume
    41
  • Issue
    11
  • fYear
    2015
  • Firstpage
    1038
  • Lastpage
    1054
  • Abstract
    Source Code Summarization is an emerging technology for automatically generating brief descriptions of code. Current summarization techniques work by selecting a subset of the statements and keywords from the code, and then including information from those statements and keywords in the summary. The quality of the summary depends heavily on the process of selecting the subset: a high-quality selection would contain the same statements and keywords that a programmer would choose. Unfortunately, little evidence exists about the statements and keywords that programmers view as important when they summarize source code. In this paper, we present an eye-tracking study of 10 professional Java programmers in which the programmers read Java methods and wrote English summaries of those methods. We apply the findings to build a novel summarization tool. Then, we evaluate this tool. Finally, we further analyze the programmers´ method summaries to explore specific keyword usage and provide evidence to support the development of source code summarization systems.
  • Keywords
    Java; program compilers; source code (software); Java programmer; code generation; eye-tracking study; source code summarization; Documentation; Java; Navigation; Software; Software engineering; XML; Source code summaries; program comprehension;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2015.2442238
  • Filename
    7118751