*Result*: An Attribute Grammar Approach to specifying Halstead’s Metrics
Title:
An Attribute Grammar Approach to specifying Halstead’s Metrics
Authors:
Contributors:
The Pennsylvania State University CiteSeerX Archives
Publication Year:
1996
Collection:
CiteSeerX
Subject Terms:
Document Type:
*Academic Journal*
text
File Description:
application/pdf
Language:
English
Relation:
Availability:
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.DC17E271
Database:
BASE
*Further Information*
*Attribute grammars have been used in defining programming languages and constructing compilers. Since these are concerned with the syntax and static semantics of the source code of the language, attribute grammars can be effectively used to define source code metrics on it. Most of the source code metrics are based on measuring models of the source code. However, there is no formal way of specifying the mapping of the source code onto the models. This paper attempts to provide an approach using an attribute grammar to demonstrate how Halstead's metrics may be specified in an unambiguous manner on the source code itself.*