NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Press Enter or click the Search button to begin your search.

Back to Results
CST: A Tool for Optimizing the Efficiency and Effectiveness of Static-Code Analysis ToolsStatic Code Analysis (SCA) is a vital component of NASA IV&V’s mission assurance for safety-critical software as it reduces the likelihood of software-induced hazards impacting mission success. Static Code Analysis achieves this by identifying hazards that may not have been otherwise detectable by typical code reviews or other testing. Using SCA tools, however, can be intimidating due to steep learning curves, especially considering tool performance and defect coverage varies greatly. Because of this variation amongst SCA tools, understanding which tools support certain defects and which do not, as well as understanding how to run an analysis based on steps that are unique to each tool, can be difficult to both new and experienced analysts alike. To mitigate this, the SCAWG or the IV&V Static Code Analysis Working Group, created the SCA Checker Taxonomy and Starting Point Profiles. The Checker Selection Tool (CST) incorporates these two SCAWG products into an interactive tool which allows the user to: select organized categories of defects they would like the SCA tools to discover, select default checkers depending on their mission type (e.g. flight), and configure multiple SCA tools at once. C/C++, Java, and Python defect checkers from four common SCA tools were utilized in this iteration of the CST. This iteration also includes the addition of training, SCA tool specific help, and taxonomy guide links, into its design to help users new to Static Code Analysis learn how to perform SCA more efficiently. The CST has been subject to beta testing by experienced static code analysts from the SCAWG to ensure a usable and accurate final product. The implications of the CST in the mission assurance of NASA safety-critical software are profound, as the CST can help identify and reduce false positives and false negatives, fundamentally improving overall SCA efficiency and accuracy.
Document ID
20230008112
Acquisition Source
Goddard Space Flight Center
Document Type
Contractor or Grantee Report
Authors
Madeleine Weber
(West Virginia Space Grant Consortium)
Cecil H. O'Dell
(MPL Fairmont, West Virginia, United States)
Date Acquired
May 24, 2023
Publication Date
May 24, 2023
Subject Category
Computer Programming and Software
Funding Number(s)
CONTRACT_GRANT: 80NSSC18M0128
CONTRACT_GRANT: 80GSFC22CA049
Distribution Limits
Public
Copyright
Public Use Permitted.
Technical Review
Single Expert
Keywords
static code analysis
No Preview Available