On the proposal and evaluation of a benchmark-based threshold derivation method

被引:14
|
作者
Vale, Gustavo [1 ,2 ]
Fernandes, Eduardo [1 ,3 ]
Figueiredo, Eduardo [1 ]
机构
[1] Fed Univ Minas Gerais UFMG, Dept Comp Sci, Belo Horizonte, MG, Brazil
[2] Univ Passau, Dept Comp Sci, Passau, Germany
[3] Pontifical Catholic Univ Rio De Janeiro PUC Rio, Informat Dept, Rio De Janeiro, Brazil
关键词
Software metric; Threshold; Benchmark; Software product lines; Code smell;
D O I
10.1007/s11219-018-9405-y
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software-intensive systems have been growing in both size and complexity. Consequently, developers need better support for measuring and controlling the software quality. In this context, software metrics aim at quantifying different software quality aspects. However, the effectiveness of measurement depends on the definition of reliable metric thresholds, i.e., numbers that characterize a metric value as critical given a quality aspect. In fact, without proper metric thresholds, it might be difficult for developers to indicate problematic software components for correction, for instance. Based on a literature review, we have found several existing methods for deriving metric thresholds and observed their evolution. Such evolution motivated us to propose a new method that incorporates the best of the existing methods. In this paper, we propose a novel benchmark-based method for deriving metric thresholds. We assess our method, called Vale's method, using a set of metric thresholds derived with the support of our method, aimed at composing detection strategies for two well-known code smells, namely god class and lazy class. For this purpose, we analyze three benchmarks composed of multiple software product lines. In addition, we demonstrate our method in practice by applying it to a benchmark composed of 103 Java open-source software systems. In the evaluation, we compare Vale's method to two state-of-the-practice threshold derivation methods selected as a baseline, which are Lanza's method and Alves' method. Our results suggest that the proposed method provides more realistic and reliable thresholds, with better recall and precision in the code smell detection, when compared to both baseline methods.
引用
收藏
页码:275 / 306
页数:32
相关论文
共 50 条
  • [31] A Domain-Sensitive Threshold Derivation Method
    Mori, Allan
    Vale, Gustavo
    Cirilo, Elder
    Figueiredo, Eduardo
    PROCEEDINGS OF THE XV BRAZILIAN SYMPOSIUM ON INFORMATION SYSTEMS, SBSI 2019: Complexity on Modern Information Systems, 2019,
  • [32] BencHMAP:: Benchmark-based, hardware and model-aware partitioning for parallel and distributed network simulation
    Xu, DH
    Ammar, M
    IEEE COMPUTER SOCIETY'S 12TH ANNUAL INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATIONS SYSTEMS - PROCEEDINGS, 2004, : 455 - 463
  • [33] Cloud Capability Estimation and Recommendation in Black-Box Environments Using Benchmark-Based Approximation
    Jung, Gueyoung
    Sharma, Naveen
    Goetz, Frank
    Mukherjee, Tridib
    2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD 2013), 2013, : 293 - 300
  • [34] Proposal for a Flexible Benchmark for Agent Based Models
    Koning, Elizabeth
    Gropp, William
    2024 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, IPDPSW 2024, 2024, : 835 - 838
  • [35] Grandfather-based or benchmark-based: Strategy choice for carbon quota allocation methods in the carbon neutrality era
    Zhang, Xuefeng
    Li, Zhe
    Li, Guo
    RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2024, 192
  • [36] Quantification of Long-Range Persistence in Geophysical Time Series: Conventional and Benchmark-Based Improvement Techniques
    Witt, Annette
    Malamud, Bruce D.
    SURVEYS IN GEOPHYSICS, 2013, 34 (05) : 541 - 651
  • [37] A Benchmark-based Approach for the Validation of Eddy Current Simulation Codes in Support of Nuclear Power Plants Inspection
    Mayos, Michel
    Moreau, Olivier
    Costan, Valentin
    Gilles-Pascaud, Catherine
    Reboud, Christophe
    Buvat, Fabrice
    ELECTROMAGNETIC NONDESTRUCTIVE EVALUATION (XIII), 2010, 33 : 191 - 198
  • [38] Benchmark-Based Reference Model for Evaluating Botnet Detection Tools Driven by Traffic-Flow Analytics
    Huancayo Ramos, Katherinne Shirley
    Sotelo Monge, Marco Antonio
    Maestre Vidal, Jorge
    SENSORS, 2020, 20 (16) : 1 - 31
  • [39] Proposal of an innovative benchmark for accuracy evaluation of dental crown manufacturing
    Atzeni, Eleonora
    Luliano, Luca
    Minetola, Paolo
    Salmi, Alessandro
    COMPUTERS IN BIOLOGY AND MEDICINE, 2012, 42 (05) : 548 - 555
  • [40] ECG Biometric Recognition: Review, System Proposal, and Benchmark Evaluation
    Melzi, Pietro
    Tolosana, Ruben
    Vera-Rodriguez, Ruben
    IEEE ACCESS, 2023, 11 : 15555 - 15566