Software engineering tools are most useful when they account for the people who use them. My research examines both how developers’ work can be observed and how their knowledge can become an input to automated analysis.
One way to understand development work is to observe it directly. In our study of wasted effort, we collected detailed IDE interaction traces from an industrial project and constructed micro-productivity profiles to characterize changes in productivity across milestones and application layers. This complements the structural perspective on software described in Software Systems, Their Engineers and Their Testers, which considers how analysis of program and test organization can help developers identify problematic code.
A second direction is to involve developers in the analysis itself. Spectrum-based fault localization ranks suspicious program elements, but a conventional ranking does not necessarily exploit the knowledge a developer acquires while debugging. Our work on contextual knowledge in interactive fault localization and interaction with fault localization tools investigates feedback as a way to influence this process. Experiments with simulated and real users examine this interactive approach, while formal notations for user feedback address how such feedback can be represented. Context switching in spectrum-based fault localization considers another aspect of the developer’s debugging experience.
The interaction must also fit the development environment. Our work on integrating fault localization into IDEs, aiding Java developers in Eclipse, and the iFL for Eclipse tool addresses the practical interface between the analysis and its users. The underlying analysis methods are discussed in software analysis and quality assurance.
Human expertise is relevant beyond debugging: our work on expert-guided corporate database analysis considers domain knowledge in structural analysis, and project-aware actionability detection uses active learning to account for which warnings matter in a particular project. Collaboration is another aspect of this perspective, explored through CodeMetropolis as a shared virtual environment for developers, connecting this topic to software visualization and comprehension.
