Do Developers Read Compiler Error Messages?
Titus Barik, Justin Smith, Kevin Lubick et al. · IEEE/ACM International Conference on Software Engineering (ICSE) · 2017
In integrated development environments, developers receive compiler error messages through a variety of textual and visual mechanisms, such as popups and wavy red underlines. Although error messages are the primary means of communicating defects to developers, researchers have a limited understanding on how developers actually use these messages to resolve defects. To understand how developers use error messages, we conducted an eye tracking study with 56 participants from undergraduate and graduate software engineering courses at our university. The participants attempted to resolve common, yet problematic defects in a Java code base within the Eclipse development environment. We found that: 1) participants read error messages and the difficulty of reading these messages is comparable to the difficulty of reading source code, 2) difficulty reading error messages significantly predicts participants' task performance, and 3) participants allocate a substantial portion of their total task to reading error messages (13%-25%). The results of our study offer empirical justification for the need to improve compiler error messages for developers.
Cited by 85 works. doi:10.1109/icse.2017.59
Authors
References
- A Note on a General Definition of the Coefficient of Determination
- Eye movements in reading and information processing: 20 years of research.
- An Overview of the Tesseract OCR Engine
- Response Time Effort: A New Measure of Examinee Motivation in Computer-Based Tests
- Why don't software developers use static analysis tools to find bugs?
- Kullback-Leibler Divergence
- Retrospective vs. concurrent think-aloud protocols: Testing the usability of an online library catalogue
- Why don’t software developers use static analysis tools to find bugs
- Programmers' build errors: a case study (at google)
- Analyzing individual performance of source code review using reviewers' eye movement