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 条
  • [1] On the proposal and evaluation of a benchmark-based threshold derivation method
    Gustavo Vale
    Eduardo Fernandes
    Eduardo Figueiredo
    Software Quality Journal, 2019, 27 : 275 - 306
  • [2] Benchmark-based evaluation of portfolio performance: a characterization
    Alekseev, Aleksandr G.
    Sokolov, Mikhail V.
    ANNALS OF FINANCE, 2016, 12 (3-4) : 409 - 440
  • [3] A benchmark-based method for sustainable product design
    Hosseinpour, Arash
    Peng, Qingjin
    Gu, Peihua
    BENCHMARKING-AN INTERNATIONAL JOURNAL, 2015, 22 (04) : 643 - 664
  • [4] A benchmark-based evaluation of search-based crash reproduction
    Mozhan Soltani
    Pouria Derakhshanfar
    Xavier Devroey
    Arie van Deursen
    Empirical Software Engineering, 2020, 25 : 96 - 138
  • [5] A benchmark-based evaluation of search-based crash reproduction
    Soltani, Mozhan
    Derakhshanfar, Pouria
    Devroey, Xavier
    Van Deursen, Arie
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (01) : 96 - 138
  • [7] A benchmark-based adaptable software process model
    Wang, YX
    Leung, HKN
    PROCEEDINGS OF THE 27TH EUROMICRO CONFERENCE - 2001: A NET ODYSSEY, 2001, : 216 - 224
  • [8] Optimizing Benchmark-Based Portfolios with Hedge Funds
    Popova, Ivilina
    Morton, David P.
    Popova, Elmira
    Yau, Jot
    JOURNAL OF ALTERNATIVE INVESTMENTS, 2007, 10 (01): : 35 - 55
  • [9] A benchmark-based low carbon performance evaluation and improvement approach for beverage production
    Chiang, Tzu-An
    Che, Z. H.
    Liu, Chia Hua
    COMPUTERS & INDUSTRIAL ENGINEERING, 2020, 139 (139)
  • [10] Benchmark-Based Strategy Use in Atypical Number Lines
    Luwel, Koen
    Peeters, Dominique
    Dierckx, Goedele
    Sekeris, Elke
    Verschaffel, Lieven
    CANADIAN JOURNAL OF EXPERIMENTAL PSYCHOLOGY-REVUE CANADIENNE DE PSYCHOLOGIE EXPERIMENTALE, 2018, 72 (04): : 253 - 263