Simple Search:

An attribute grammar approach to specifying Halstead's metrics


Abd Ghani, Abdul Azim and Hunter, Robin (1996) An attribute grammar approach to specifying Halstead's metrics. Malaysian Journal of Computer Science, 9 (1). pp. 56-67. ISSN 0127-9084

Abstract / Synopsis

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.

Download File

PDF (Abstract)
An attribute grammar approach to specifying Halstead's metrics.pdf

Download (34kB) | Preview

Additional Metadata

Item Type: Article
Divisions: Universiti Pertanian Malaysia
Publisher: Faculty of Computer Science and Information Technology, University of Malaya
Keywords: Attribute grammar; Halstead's metrics; Source code models
Depositing User: Najah Mohd Ali
Date Deposited: 13 Apr 2016 15:26
Last Modified: 13 Apr 2016 15:26
Statistic Details: View Download Statistic

Actions (login required)

View Item View Item