Developers' code context models for change tasks
Thomas Fritz, David C. Shepherd, Katja Kevic et al. · ACM SIGSOFT International Symposium on Foundations of Software Engineering (FSE) · 2014
To complete a change task, software developers spend a substantial amount of time navigating code to understand the relevant parts. During this investigation phase, they implicitly build context models of the elements and relations that are relevant to the task. Through an exploratory study with twelve developers completing change tasks in three open source systems, we identified important characteristics of these context models and how they are created. In a second empirical analysis, we further examined our findings on data collected from eighty developers working on a variety of change tasks on open and closed source projects. Our studies uncovered, amongst other results, that code context models are highly connected, structurally and lexically, that developers start tasks using a combination of search and navigation and that code navigation varies substantially across developers. Based on these findings we identify and discuss design requirements to better support developers in the initial creation of code context models. We believe this work represents a substantial step in better understanding developers' code navigation and providing better tool support that will reduce time and effort needed for change tasks.
Cited by 45 works. doi:10.1145/2635868.2635905 Open-access PDF
Authors
References
- Experimentation in software engineering
- Qualitative methods in empirical studies of software engineering
- Towards a theory of the comprehension of computer programs
- Stimulus structures and mental representations in expert comprehension of computer programs
- Maintaining mental models
- Using task context to improve programmer productivity
- An Exploratory Study of How Developers Seek, Relate, and Collect Relevant Information during Software Maintenance Tasks
- Change Distilling:Tree Differencing for Fine-Grained Source Code Change Extraction
- An examination of software engineering work practices
- Concern graphs