Extracting relative thresholds for source code metrics

Paloma Oliveira, Marco Tulio Valente, Fernando Paim Lima
2014 2014 Software Evolution Week - IEEE Conference on Software Maintenance, Reengineering, and Reverse Engineering (CSMR-WCRE)  
Establishing credible thresholds is a central challenge for promoting source code metrics as an effective instrument to control the internal quality of software systems. To address this challenge, we propose the concept of relative thresholds for evaluating metrics data following heavy-tailed distributions. The proposed thresholds are relative because they assume that metric thresholds should be followed by most source code entities, but that it is also natural to have a number of entities in
more » ... e "long-tail" that do not follow the defined limits. In the paper, we describe an empirical method for extracting relative thresholds from real systems. We also report a study on applying this method in a corpus with 106 systems. Based on the results of this study, we argue that the proposed thresholds express a balance between real and idealized design practices.
doi:10.1109/csmr-wcre.2014.6747177 dblp:conf/csmr/OliveiraVL14 fatcat:ktvjifet2bg5dfxum23cpcwlay