Publication:
An automated Ada physical source line counter

Loading...
Thumbnail Image
Authors
Walsh, Kevin J.
Subjects
Software Metrics
Source Lines of Code
Ada
Advisors
Shimeall, Timothy J.
Date of Issue
1993-09
Date
Publisher
Monterey, California. Naval Postgraduate School
Language
en_US
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
Type
Thesis
Description
Series/Report No
Department
Computer Science
Other Units
Naval Postgraduate School
Identifiers
NPS Report Number
Sponsors
Funder
Format
273 p.
Citation
Distribution Statement
Approved for public release; distribution is unlimited.
Rights