Building Usage Contexts During Program Comprehension
Chris Parnin, Carsten Görg · IEEE International Conference on Program Comprehension (ICPC) · 2006
Software developers often work on multiple simultaneous projects. Even when only a single project is underway, everyday distractions interrupt the development effort. Consequently, developers spend significant effort pursuing recovery of their context. By context, we focus on the classes and methods within the code that are relevant to a specific bug being fixed or enhancement made. Context is reified by a program in terms of a set of presentations (windows a containing source code, command executions, and data files); however, it is not enough to save the latest context. Even when working on a single task, programmers flip between contexts as they extend their understanding, and when they decide on a change, they may have to visit several contexts in order to address all possible ripple effects. Consequently, we would like to record a history of contexts and be able to retrieve them as demanded by the current task. We introduce a novel technique to obtain a context, consisting of a set of methods relevant for the current task, from a programmer's interactions with an IDE. Using this context, we demonstrate how to improve the ability of a programmer to recover the mental state associated with tasks and to facilitate the exploration of software through recommendation systems
Cited by 76 works. doi:10.1109/icpc.2006.14
Authors
References
- Mining association rules between sets of items in large databases
- A study of replacement algorithms for a virtual-storage computer
- Edit wear and read wear
- Empirical evaluation of the tarantula automatic fault-localization technique
- Mining Version Histories to Guide Software Changes
- A diary study of task switching and interruptions
- Effective personalization based on association rule discovery from web usage data
- Timespace in the workplace
- An examination of software engineering work practices
- Mining navigation history for recommendation