Towards Portable Metrics-based Models for Software Maintenance Problems

Abstract

The usage of software metrics for various purposes has become a hot research topic in academia and industry (e.g. detecting design patterns and bad smells, studying change-proneness, quality and maintainability, predicting faults). Most of these topics have one thing in common: they are all using some kind of metrics-based models to achieve their goal. Unfortunately, only few researchers have tested these models on unknown software systems so far. This paper tackles the question, which metrics are suitable for preparing portable models (which can be efficiently applied to unknown software systems). We have assessed several metrics on four large software systems and we found that the well-known RFC and WMC metrics differentiate the analyzed systems fairly well. Consequently, these metrics cannot be used to build portable models, while the CBO, LCOM and LOC metrics behave similarly on all systems, so they seem to be suitable for this purpose.

Publication
Proceedings of the 22nd International Conference on Software Maintenance (ICSM 2006), Philadelphia, PA, USA, Pages 483–486

BibTeX:

@InProceedings{BFG06,
    author    = {Bakota, Tibor and Ferenc, Rudolf and Gyim{\'o}thy, Tibor and Riva, Claudio and Xu, Jianli},
    title     = {Towards Portable Metrics-based Models for Software Maintenance Problems},
    booktitle = {Proceedings of the 22nd International Conference on Software Maintenance (ICSM 2006)},
    year      = {2006},
    pages     = {483--486},
    address   = {Philadelphia, PA, USA},
    month     = sep,
    publisher = {IEEE Computer Society},
    doi       = {10.1109/ICSM.2006.69},
    keywords  = {Mozilla, Metrics, model, source code analysis, C++, open source, Columbus, OpenOffice.org},
    url       = {http://ieeexplore.ieee.org/document/4021377/},
}