A metrics suite for grammar‐based software
Author(s) -
Power James F.,
Malloy Brian A.
Publication year - 2004
Publication title -
journal of software maintenance and evolution: research and practice
Language(s) - English
Resource type - Journals
eISSN - 1532-0618
pISSN - 1532-060X
DOI - 10.1002/smr.293
Subject(s) - computer science , software metric , grammar , suite , software engineering , software , program comprehension , software system , programming complexity , compiler , software development , attribute grammar , software construction , software quality , programming language , verification and validation , parsing , engineering , operations management , linguistics , philosophy , archaeology , history
One approach to measuring and managing the complexity of software, as it evolves over time, is to exploit software metrics. Metrics have been used to estimate the complexity of the maintenance effort, to facilitate change impact analysis, and as an indicator for automatic detection of a transformation that can improve the quality of a system. However, there has been little effort directed at applying software metrics to the maintenance of grammar‐based software applications, such as compilers, editors, program comprehension tools and embedded systems. In this paper, we adapt the software metrics that are commonly used to measure program complexity and apply them to the measurement of the complexity of grammar‐based software applications. Since the behaviour of a grammar‐based application is typically choreographed by the grammar rules, the measure of complexity that our metrics provide can guide maintainers in locating problematic areas in grammar‐based applications. Copyright © 2004 John Wiley & Sons, Ltd.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom