The field of software metrics is constantly changing and metrics extraction tools have to be updated frequently to handle these changes. This paper details the use of an intermediate relation set to decouple code parsing from metrics analysis. Parsers simply generate a set of intuitive relations, which a separate analyzer uses as input to compute arbitrary metrics. Then, new metrics simply have to be specified in terms of these relations. A C++ metrics extractor tool for OO design metrics was built as a proof of concept.
Succi G, Liu E (1999). A Relations-Based Approach for Simplifying Metrics Extraction. APPLIED COMPUTING REVIEW, 7, 27-32.
A Relations-Based Approach for Simplifying Metrics Extraction
Succi G;
1999
Abstract
The field of software metrics is constantly changing and metrics extraction tools have to be updated frequently to handle these changes. This paper details the use of an intermediate relation set to decouple code parsing from metrics analysis. Parsers simply generate a set of intuitive relations, which a separate analyzer uses as input to compute arbitrary metrics. Then, new metrics simply have to be specified in terms of these relations. A C++ metrics extractor tool for OO design metrics was built as a proof of concept.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.