Title :
An extensible metrics extraction environment for object-oriented programming languages
Author :
Harmer, T.J. ; Wilkie, F.G.
Author_Institution :
Sch. of Comput. Sci., Queen´´s Univ., Belfast, UK
Abstract :
In this paper the enhancements to an existing production-quality compiler to facilitate the collection of complexity metrics as an integral part of the compilation and build process are described An object oriented programming language meta-model is presented. This meta-model is used in a relational database schema and enables a language neutral form of a compilation unit of source code or system of units to be stored We have used C language routines with embedded SQL to calculate a suite of 11 complexity metrics for each class stored in the database. We present the full implementation of one of these routines. The resulting metrics extraction tool is highly extensible, readily facilitating incorporation of new object oriented programming languages and new metrics.
Keywords :
object-oriented languages; object-oriented programming; program compilers; relational databases; software metrics; C language routines; complexity metrics; embedded SQL; extensible metrics extraction environment; language neutral form; object oriented programming language meta-model; production-quality compiler; relational database schema; source code; Computer languages; Large-scale systems; Message passing; Object oriented databases; Object oriented programming; Relational databases; Software maintenance; Software metrics; Software quality; Software systems;
Conference_Titel :
Source Code Analysis and Manipulation, 2002. Proceedings. Second IEEE International Workshop on
Print_ISBN :
0-7695-1793-5
DOI :
10.1109/SCAM.2002.1134102