Detection of Software Anomalies Using Object-oriented Metrics

Renato Correa Juliano, Bruno A. N. Travençolo, Michel S. Soares

2014

Abstract

The development of quality software has always been the aim of many studies in past years, in which the focus was on seeking for better software production with high effectiveness and quality. In order to evaluate software quality, software metrics were proposed, providing an effective tool to analyze important features such as maintainability, reusability and testability. The Chidamber and Kemerer metrics (CK metrics) are frequently applied to analyze Object-Oriented Programming (OOP) features related to structure, inheritance and message calls. The main purpose of this article is to gather results from studies that used the CK metrics for source code evaluation, and based on the CK metrics, perform a review related to software metrics and the values obtained. Results on the mean and standard deviation obtained in all the studied papers is presented, both for Java and C++ projects. Therefore, software anomalies are identified comparing the results of software metrics described in those studies. This article contributes by suggesting values for software metrics that, according to the literature, can present high probabilities of failures. Another contribution is to analyze which CK metrics are successfully used (or not) in some activities such as to predict proneness error, analyze the impact of refactoring on metrics and examine the facility of white-box reuse based on metrics. We discovered that, in most of the studied articles, CBO, RFC and WMC are often useful and hierarchical metrics as DIT and NOC are not useful in the implementation of such activities. The results of this paper can be used to guide software development, helping to manage the development and preventing future problems.

Download


Paper Citation


in Harvard Style

Correa Juliano R., A. N. Travençolo B. and S. Soares M. (2014). Detection of Software Anomalies Using Object-oriented Metrics . In Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 2: ICEIS, ISBN 978-989-758-028-4, pages 241-248. DOI: 10.5220/0004889102410248

in Bibtex Style

@conference{iceis14,
author={Renato Correa Juliano and Bruno A. N. Travençolo and Michel S. Soares},
title={Detection of Software Anomalies Using Object-oriented Metrics},
booktitle={Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 2: ICEIS,},
year={2014},
pages={241-248},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004889102410248},
isbn={978-989-758-028-4},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 2: ICEIS,
TI - Detection of Software Anomalies Using Object-oriented Metrics
SN - 978-989-758-028-4
AU - Correa Juliano R.
AU - A. N. Travençolo B.
AU - S. Soares M.
PY - 2014
SP - 241
EP - 248
DO - 10.5220/0004889102410248