An Automated Ada Physical Source Line Counter
Abstract
Tools to count lines of code have not been standardized or automated in a flexible fashion. This lack of flexibility can lead to ambiguous interpretations of the size of software modules, especially when the person performing the measurement does not use the method or rules expected by the person requesting the measurement. The Software Engineering Institute (SEI) framework for Size Measurement provides a basis for flexible design of software measurements. The SEI framework describes measurements using nine attributes. This Framework is part of recently proposed DoD guidelines for software process measurement. The problem that this thesis addresses is how to implement the SEI Framework for Size Measurement to flexibility count lines of the code in Ada software. The approach is to build an automated Ada Physical Source Line Counter that measures Ada source files and generates the appropriate reports. The tool works as follows: the user defines the measurement constraints to the tool, which calls an Ada parser to generate counts to be included in user-specified reports. The result is a program that takes user requests and Ada source files and produces measurement reports as output. This program fully captures the flexibility of the SEI framework along five of the nine measurement attributes.
Document Details
- Document Type
- Technical Report
- Publication Date
- Sep 01, 1993
- Accession Number
- ADA274916
Entities
People
- Kevin J. Walsh
Organizations
- Naval Postgraduate School