The application of product measures in directing software maintenance activity
Journal of Software Maintenance and Evolution: Research and Practice
A Model-Driven Measurement Approach
MoDELS '08 Proceedings of the 11th international conference on Model Driven Engineering Languages and Systems
Hi-index | 0.00 |
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.