• DocumentCode
    181912
  • Title

    How Developers Visualize Compiler Messages: A Foundational Approach to Notification Construction

  • Author

    Barik, Titus ; Lubick, Kevin ; Christie, Samuel ; Murphy-Hill, Emerson

  • Author_Institution
    Comput. Sci. Dept., North Carolina State Univ., Raleigh, NC, USA
  • fYear
    2014
  • fDate
    29-30 Sept. 2014
  • Firstpage
    87
  • Lastpage
    96
  • Abstract
    Self-explanation is one cognitive strategy through which developers comprehend error notifications. Self-explanation, when left solely to developers, can result in a significant loss of productivity because humans are imperfect and bounded in their cognitive abilities. We argue that modern IDEs offer limited visual affordances for aiding developers with self-explanation, because compilers do not reveal their reasoning about the causes of errors to the developer. The contribution of our paper is a foundational set of visual annotations that aid developers in better comprehending error messages when compilers expose their internal reasoning. We demonstrate through a user study of 28 undergraduate Software Engineering students that our annotations align with the way in which developers self-explain error notifications. We show that these annotations allow developers to give significantly better self-explanations when compared against today´s dominant visualization paradigm, and that better self-explanations yield better mental models of notifications. The results of our work suggest that the diagrammatic techniques developers use to explain problems can serve as an effective foundation for how IDEs should visually communicate to developers.
  • Keywords
    data visualisation; program compilers; programming environments; IDEs; compiler message visualization; diagrammatic techniques; error notifications; self-explanation; undergraduate software engineering students; visual annotations; Cognition; Cognitive science; Computers; Java; Programming; Software engineering; Visualization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Visualization (VISSOFT), 2014 Second IEEE Working Conference on
  • Conference_Location
    Victoria, BC
  • Type

    conf

  • DOI
    10.1109/VISSOFT.2014.24
  • Filename
    6980219