NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Initial Ada components evaluationThe SAIC has the responsibility for independent test and validation of the SSE. They have been using a mathematical functions library package implemented in Ada to test the SSE IV and V process. The library package consists of elementary mathematical functions and is both machine and accuracy independent. The SSE Ada components evaluation includes code complexity metrics based on Halstead's software science metrics and McCabe's measure of cyclomatic complexity. Halstead's metrics are based on the number of operators and operands on a logical unit of code and are compiled from the number of distinct operators, distinct operands, and total number of occurrences of operators and operands. These metrics give an indication of the physical size of a program in terms of operators and operands and are used diagnostically to point to potential problems. McCabe's Cyclomatic Complexity Metrics (CCM) are compiled from flow charts transformed to equivalent directed graphs. The CCM is a measure of the total number of linearly independent paths through the code's control structure. These metrics were computed for the Ada mathematical functions library using Software Automated Verification and Validation (SAVVAS), the SSE IV and V tool. A table with selected results was shown, indicating that most of these routines are of good quality. Thresholds for the Halstead measures indicate poor quality if the length metric exceeds 260 or difficulty is greater than 190. The McCabe CCM indicated a high quality of software products.
Document ID
19900005487
Acquisition Source
Legacy CDMS
Document Type
Conference Paper
Authors
Moebes, Travis
(Science Applications International Corp. Houston, TX, United States)
Date Acquired
September 6, 2013
Publication Date
December 1, 1989
Publication Information
Publication: NASA, Langley Research Center, Software Reuse Issues
Subject Category
Computer Programming And Software
Accession Number
90N14803
Distribution Limits
Public
Copyright
Work of the US Gov. Public Use Permitted.
No Preview Available