2014 Software Evolution Week --- IEEE Conference on Software Maintenance, Reengineering, and Reverse Engineering (CSMR-WCRE), February 3-6, 2014, Antwerp, Belgium

Desktop Layout

Empirical Investigation
Main Research
Willem Elsschotzaal, Chairs: Rudolf Ferenc and Rocco Oliveto
Extracting Relative Thresholds for Source Code Metrics
Paloma Oliveira, Marco Tulio Valente, and Fernando Paim Lima
(UFMG, Brazil; IFMG, Brazil)
Preprint
Abstract: 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 the ``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.

Authors:


Time stamp: 2019-04-23T16:19:22+02:00