Exploring Sustainability in Scientific Software through Code Quality & Test Coverage Metrics
Sheikh Md. Mushfiqur Rahman, Gregory R. Watson, Nasir U. Eisty

TL;DR
This paper assesses the long-term sustainability of scientific open-source software by analyzing code quality and test coverage metrics, revealing patterns that distinguish sustainable projects from less sustainable ones.
Contribution
It introduces a data-driven approach to evaluate scientific software sustainability through code and test quality metrics, aiding future quality assurance efforts.
Findings
Sustainable projects have higher, more consistent test coverage.
Code-test correlations are clearer in sustainable projects.
Overall, scientific software exhibits low test coverage and high complexity reduces testability.
Abstract
Context: Scientific open-source software (SciOSS) plays a foundational role in research and engineering, yet its long-term sustainability has often been overlooked and remains a significant concern. Objective: This study investigates the long-term sustainability of SciOSS through code and test quality metrics. Method: We analyze CASS Software Portfolio projects, classifying them by sustainability and comparing their code structure, test coverage, and links between code quality and testing across the dataset. Results: Sustainable projects show higher, more consistent test coverage and clearer code-test correlations, while unsustainable ones show weaker patterns. Overall, test coverage is low in scientific software, and high complexity and coupling reduce testability. Conclusion: In this study, we present a practical, data-driven approach for assessing sustainability in scientific…
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.
