+ All Categories
Home > Science > RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

Date post: 19-May-2015
Category:
Upload: alexander-serebrenik
View: 371 times
Download: 3 times
Share this document with a friend
Description:
Meaningful thresholds are essential for promoting source code metrics as an effective instrument to control the internal quality of software systems. Despite the increasing number of source code measurement tools, no publicly available tools support extraction of metric thresholds. Moreover, earlier studies suggest that in larger systems significant number of classes exceed recommended metric thresholds. Therefore, in our previous study we have introduced the notion of a relative threshold, i.e., a pair including an upper limit and a percentage of classes whose metric values should not exceed this limit. In this paper we propose RTTOOL, an open source tool for extracting relative thresholds from the measurement data of a benchmark of software systems. RTTOOL is publicly available at http://aserg.labsoft.dcc.ufmg.br/rttool.
Popular Tags:
9
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
Transcript
Page 1: 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

Page 2: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

2

Page 3: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

?

Page 4: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

?

Unavoidable!

Page 5: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

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%

Page 6: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

84%94%

For metric M, p% of the entities should not

exceed k

MAX

MIN

Page 7: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics
Page 8: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

Applicability

• Class-level metrics• “Low” better than “high”• Heavy-tailed

✓ (S)LOC, NOA, NOM, FAN-OUT, RFC, WMC…

✗ DIT, Dn

Page 9: RTTOOL: A Tool for Extracting Relative Thresholds for Source Code Metrics

http://aserg.labsoft.dcc.ufmg.br/rttool/


Recommended