RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics
-
Upload
alexander-serebrenik -
Category
Science
-
view
379 -
download
3
description
Transcript of RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics
A Tool for Extracting Relative Thresholds for Source Code Metrics
APPLIED SOFTWARE ENGINEERING RESEARCH
GROUP
/Federal Institute
Minas Gerais
Paloma Oliveira @PalomaFormiga
Fernando P. Lima
Marco Túlio Valente @mtov
Alexander Serebrenik @aserebrenik
2
?
?
Unavoidable!
Relative Thresholds
Paloma Oliveira, Marco Tulio Valente, Fernando Paim Lima: Extracting relative thresholds for source code metrics. CSMR-WCRE 2014: 254-263
For metric M, p% of the entities should not exceed k
84%94%
84%94%
For metric M, p% of the entities should not
exceed k
MAX
MIN
Applicability
• Class-level metrics• “Low” better than “high”• Heavy-tailed
✓ (S)LOC, NOA, NOM, FAN-OUT, RFC, WMC…
✗ DIT, Dn
http://aserg.labsoft.dcc.ufmg.br/rttool/