Software analysis provides evidence about program structure, execution behavior, and the quality of tests. My research investigates how these different forms of evidence can be compared and combined to identify problems that would be difficult to recognize from any single representation.
Test quality and traceability
Unit tests are expected to exercise their intended units and follow the organization of production code. In Are My Unit Tests in the Right Package?, we used coverage information and community detection to identify discrepancies between dynamic test-to-code relationships and the static package structure. Our subsequent analysis of static and dynamic traceability information investigated structural unit-test smells arising from disagreement between these perspectives, while a comparison of static and dynamic traceability recovery addressed the differences between the underlying methods. This line of inquiry also appears in Software Systems, Their Engineers and Their Testers and motivates the more general idea of graph discrepancy analysis.
Coverage itself is not an unambiguous measurement. Our comparison of Java bytecode and source-code instrumentation, published as a journal article and presented in the SANER journal-first track, examines differences in the coverage reported by the two approaches. In our study of coverage, mutation score, test-suite reducibility, and defect density, we investigated how these measures relate to test adequacy. Our survey of embedded-system testing addresses testing in a different application context.
Fault localization and actionable analysis
Spectrum-based fault localization uses coverage and test outcomes to rank suspicious code elements. Our work on contextual knowledge and interactive fault localization investigates how developer feedback can refine this process. Experiments with simulated and real users explore the interactive approach, complemented by research on formal representations of user feedback and context switching.
To bring these techniques into practical workflows, we investigated IDE integration, presented an Eclipse-based approach for Java developers, and developed the iFL for Eclipse tool (iFL4Eclipse). The human aspects of these approaches connect to human-centered software engineering. A related challenge is determining which static-analysis warnings are worth addressing, investigated in our project-aware actionability study.
Test and coverage data also provide input for software visualization and comprehension, particularly our work on visualizing test-related metrics through the city metaphor. These connections between static and dynamic analysis, test quality, visualization, and estimation are brought together in my doctoral dissertation.
