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 条
  • [41] Quantification of Long-Range Persistence in Geophysical Time Series: Conventional and Benchmark-Based Improvement Techniques
    Annette Witt
    Bruce D. Malamud
    Surveys in Geophysics, 2013, 34 : 541 - 651
  • [42] Analysis and evaluation method for linpack benchmark
    Du, Yun-Fei
    Yang, Can-Qun
    Wang, Feng
    Yi, Hui-Zhan
    Dongbei Daxue Xuebao/Journal of Northeastern University, 2014, 35 : 102 - 107
  • [43] Proposal of BCM evaluation method based on disaster scenario simulation
    Graduate School of Engineering Science, Ritsumeikan University, 1-1, Noji-Higashi 1, Kusatsu
    Shiga
    525-0058, Japan
    Lect. Notes Comput. Sci., (346-353):
  • [44] Proposal of BCM Evaluation Method Based on Disaster Scenario Simulation
    Kaneko, Ryuhei
    Nakatani, Yoshio
    HUMAN-COMPUTER INTERACTION: USERS AND APPLICATIONS, PT IV, 2011, 6764 : 346 - 353
  • [45] Benchmark-Based Free Allocations in EU ETS Phase III: How Much Better Than Phase II?
    Sartor, Oliver
    Lecourt, Stephen
    Palliere, Clement
    EMISSIONS TRADING AS A POLICY INSTRUMENT: EVALUATION AND PROSPECTS, 2015, : 63 - 85
  • [46] A Method of Waterway Traffic Safety Evaluation Based on Conflict Threshold
    Cao, Wenlei
    Jiang, Fucai
    Tan, Jian
    2016 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION ENGINEERING (ICITE), 2016, : 64 - 67
  • [47] Evaluation of MUF uncertainty based on GUM method for benchmark bulk handling facility
    Lee, Hyun Cheol
    Choi, Jung Youn
    Seo, Hana
    Kim, Hyun Ju
    Kim, Yewon
    Lee, Haneol
    NUCLEAR ENGINEERING AND TECHNOLOGY, 2024, 56 (08) : 2937 - 2947
  • [48] Research of method for DNS performance measurement and evaluation based on benchmark DNS servers
    Sekiya, Y
    Cho, K
    Kato, A
    Murai, J
    ELECTRONICS AND COMMUNICATIONS IN JAPAN PART I-COMMUNICATIONS, 2006, 89 (10): : 66 - 75
  • [49] Evaluation of the ecological civilization index of China based on the double benchmark progressive method
    Zhang, Linbo
    Yang, Jiao
    Li, Daiqing
    Liu, Haijiang
    Xie, Yuxi
    Song, Ting
    Luo, Shanghua
    JOURNAL OF CLEANER PRODUCTION, 2019, 222 : 511 - 519
  • [50] A proposal and evaluation of an extractive method for summarization in the biomedical domain based on concepts
    De la Villa, Manuel
    Mana, Manuel J.
    PROCESAMIENTO DEL LENGUAJE NATURAL, 2009, (43): : 131 - 139