An Exploratory Study of How Developers Seek, Relate, and Collect Relevant Information during Software Maintenance Tasks
Top Cited Papers
- 30 November 2006
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 32 (12) , 971-987
- https://doi.org/10.1109/tse.2006.116
Abstract
Much of software developers' time is spent understanding unfamiliar code. To better understand how developers gain this understanding and how software development environments might be involved, a study was performed in which developers were given an unfamiliar program and asked to work on two debugging tasks and three enhancement tasks for 70 minutes. The study found that developers interleaved three activities. They began by searching for relevant code both manually and using search tools; however, they based their searches on limited and misrepresentative cues in the code, environment, and executing program, often leading to failed searches. When developers found relevant code, they followed its incoming and outgoing dependencies, often returning to it and navigating its other dependencies; while doing so, however, Eclipse's navigational tools caused significant overhead. Developers collected code and other information that they believed would be necessary to edit, duplicate, or otherwise refer to later by encoding it in the interactive state of Eclipse's package explorer, file tabs, and scroll bars. However, developers lost track of relevant code as these interfaces were used for other tasks, and developers were forced to find it again. These issues caused developers to spend, on average, 35 percent of their time performing the mechanics of navigation within and between source files. These observations suggest a new model of program understanding grounded in theories of information foraging and suggest ideas for tools that help developers seek, relate, and collect information in a more effective and explicit mannerKeywords
This publication has 42 references indexed in Scilit:
- Automatic generation of suggestions for program investigationACM SIGSOFT Software Engineering Notes, 2005
- How effective developers investigate source code: an exploratory studyIEEE Transactions on Software Engineering, 2004
- The value of slicing while debuggingScience of Computer Programming, 2001
- Near-term memory in programming: a simulation-based analysisInternational Journal of Human-Computer Studies, 2001
- Does code decay? Assessing the evidence from change management dataIEEE Transactions on Software Engineering, 2001
- Information foraging.Psychological Review, 1999
- The Time Famine: Toward a Sociology of Work TimeAdministrative Science Quarterly, 1999
- Stimulus structures and mental representations in expert comprehension of computer programsCognitive Psychology, 1987
- Program indentation and comprehensibilityCommunications of the ACM, 1983
- Programmers use slices when debuggingCommunications of the ACM, 1982