Efficient Code Reachability Analysis and Visualization Using Probabilistic Model Checking
In software development, the rapid expansion of code often leads to increased complexity and higher maintenance costs, particularly when unused or redundant code accumulates over time. This study introduces a novel approach to analyzing and visualizing code reachability using probabilistic model checking, enabling efficient identification of components that may no longer be necessary. By leveraging probabilistic reachability analysis, our method evaluates the usage trends of packages, classes and methods throughout the system’s lifecycle. We implemented a prototype tool and conducted case studies on real-world projects to validate its effectiveness. The results demonstrate the tool’s potential to support strategic code management by identifying and visualizing frequently used, rarely used and unused code components, thereby facilitating system optimization and reducing maintenance overhead.
Authors
- Shimon Sumita
- Shinobu Saito (ORCID: https://orcid.org/0000-0002-6259-3521)
- Hiroyuki Nakagawa (ORCID: https://orcid.org/0000-0001-5280-4113)
Institutions
- Okayama University (JP)
- NTT (Japan) (JP)
- The University of Osaka (JP)
Publication Details
- Journal
- International Journal of Software Engineering and Knowledge Engineering
- Published
- 2025-06-02
- DOI
- https://doi.org/10.1142/s0218194025410062
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00