Combining Dynamic Analysis and Visualization to Explore the Distribution of Unit Test Suites
Amjed Tahir, Stephen G. MacDonell

TL;DR
This paper presents a visualization approach combining dynamic and static analysis to explore unit test distribution in large OSS systems, aiming to improve understanding of test coverage and system dependencies.
Contribution
It introduces a method that maps dynamic coupling data onto static test information using visualization and graph analysis, revealing discrepancies in test distribution.
Findings
Unit tests do not align with dynamic coupling in studied systems.
Visualization helps identify central classes and test coverage gaps.
Graph metrics reveal test effort distribution relative to system dependencies.
Abstract
As software systems have grown in scale and complexity the test suites built alongside those systems have also become increasingly complex. Understanding key aspects of test suites, such as their coverage of production code, is important when maintaining or reengineering systems. This work investigates the distribution of unit tests in Open Source Software (OSS) systems through the visualization of data obtained from both dynamic and static analysis. Our long-term aim is to support developers in their understanding of test distribution and the relationship of tests to production code. We first obtain dynamic coupling information from five selected OSS systems and we then map the test and production code results. The mapping is shown in graphs that depict both the dependencies between classes and static test information. We analyze these graphs using Centrality metrics derived from graph…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
