Abstract
Software metrics have a fundamental role in the process of software quality management. However, in most cases, they are only used to quantify attributes, not supporting decision-making during the software life cycle. To support decision-making, it is necessary to give them by defining thresholds. In the literature, several approaches have been proposed with this purpose. On the other hand, most of them do not consider context factors such as the domain. Given this, in this paper, we evaluate if context factors influence the definition of thresholds for software metrics. Our work is restricted to Chidamber and Kemerer metrics, due to availability of data. We conducted an empirical study composed of two quasi-experiments. Each quasi-experiment uses an approach presented in the literature to define thresholds for software metrics, with the defined thresholds as the dependent variable. As the factor, we used a variable with two possible treatments: To consider the context or not. To define context, we used factors presented in the literature. As the objects of study, we used the source code of fifteen Java-based open-source projects. For measurement purposes, we used the six original Chidamber and Kemerer metrics. For both quasi-experiments, the accuracy of the definition of thresholds improved by considering the context. Therefore, we concluded that context factors influence the definition of the threshold for Chidamber and Kemerer metrics, which is an indicator that it influences other software metrics.
Author supplied keywords
Cite
CITATION STYLE
Santos, L. C., Saraiva, R., Perkusich, M., Almeida, H. O., & Perkusich, A. (2017). An empirical study on the influence of context in computing thresholds for Chidamber and Kemerer metrics. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (pp. 357–362). Knowledge Systems Institute Graduate School. https://doi.org/10.18293/SEKE2017-044
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.