Published October 6, 2025 | Version v1

Some Tips on Modernizing Legacy Software

Authors/Creators

  • 1. ROR icon Stanford University

Description

Legacy codebases often pose considerable challenges, including a scarcity of tests, monolithic architecture, inadequate documentation, and a lack of standardized development practices. These obstacles typically arise from the absence of formal testing, complicating efforts to maintain and update the code for compatibility with newer hardware and software. Consequently, writing unit tests often necessitates refactoring the code, which involves restructuring it without compromising its original functionality. However, this raises a critical question: How can one refactor without having tests in place to verify functionality?
    
This poster will explore the incorporation of software better practices, with a particular emphasis on testing, to facilitate the modernization of legacy codebases. By adopting a structured approach to testing, our aim is to enhance the reliability and maintainability of the code while preserving the current functionality and stability of software that produces science-ready data. The discussions will focus on practical strategies for implementing testing frameworks, establishing a culture of continuous integration, and ensuring that updates do not disrupt the production of critical scientific outputs. Through these efforts, we can create a more robust and adaptable codebase that meets the demands of modern scientific research.

Files

US_RSE_25_Poster.pdf

Files (1.6 MB)

Name Size Download all
md5:f606bb6ceda9583f7f9dd35ce20840ca
1.6 MB Preview Download

Additional details

Related works

References
Poster: 10.5281/zenodo.10994996 (DOI)
Poster: 10.5281/zenodo.14291633 (DOI)
Publication: 10.48550/arXiv.2507.16166 (DOI)

Funding

National Aeronautics and Space Administration
NASA Contract - SDO/HMI NAS5-02139
National Aeronautics and Space Administration
NASA Cooperative Agreement - COFFIES DRIVE Science Center 80NSSC22M0162
Schmidt Sciences

Dates

Created
2025-10-02

References

  • M. Baker. 1,500 scientists lift the lid on reproducibility. Nature, 533:452–454, 2016. doi: 10.1038/533452a
  • Better Scientific Software (BSSw). Testing Resources. https://bssw.io/items?topic=testing, 2024.
  • N. U. Eisty, D. E. Bernholdt, A. Koufos, D. J. Luet, and M. Mundt. Ten essential guidelines for building high-quality research software, 2025. URL https://arxiv.org/abs/2507.16166.
  • A. Koufos. Software Best Practices for Reproducible Open Science. Apr. 2024. doi: 10.5281/zenodo.10994996.
  • A. Koufos, M. Mundt, and N. Eisty. Software Testing Practices for Reproducible Open Science. Dec. 2024. doi: 10.5281/zen- odo.14291633.
  • C. on Reproducibility and Replicability in Science. Reproducibility and Replicability in Science. National Academies Press, 2019. ISBN 978-0-309-48616-3. doi: 10.17226/25303