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 条
  • [21] Benchmark-based allocations in EU ETS Phase 3: an early assessment
    Sartor, Oliver
    Palliere, Clement
    Lecourt, Stephen
    CLIMATE POLICY, 2014, 14 (04) : 507 - 524
  • [22] A Grid resource broker supporting advance reservations and benchmark-based resource selection
    Elmroth, Erik
    Tordsson, Johan
    APPLIED PARALLEL COMPUTING: STATE OF THE ART IN SCIENTIFIC COMPUTING, 2006, 3732 : 1061 - 1070
  • [23] Benchmark-Based Assessment of Outtasking, Outsourcing, and Managed Services for Mobile Network Operators
    Frisanco, Thomas
    PROCEEDINGS OF THE 2010 IEEE-IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, 2010, : 763 - 776
  • [24] A Benchmark-Based Framework for Estimating Network Operations Cost Reductions by Shared Delivery
    Frisanco, Thomas
    2009 IEEE 9TH MALAYSIA INTERNATIONAL CONFERENCE ON COMMUNICATIONS (MICC), 2009, : 417 - 422
  • [25] A Benchmark-Based Approach for Ranking Root Causes of Performance Problems in Software Development
    Raza, Mushtaq
    Faria, Joao Pascoal
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2014, 2014, 8892 : 314 - 317
  • [26] An intelligent benchmark-based design for environment system for derivative electronic product development
    Chiang, Tzu-An
    Roy, Rajkumar
    COMPUTERS IN INDUSTRY, 2012, 63 (09) : 913 - 929
  • [27] A methodology and its support environment for benchmark-based adaptable software process improvement
    Wu, MH
    Ying, J
    Yu, CY
    2004 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN & CYBERNETICS, VOLS 1-7, 2004, : 5183 - 5188
  • [28] Antibiotic reimbursement in a model delinked from sales: a benchmark-based worldwide approach
    Rex, John H.
    Outterson, Kevin
    LANCET INFECTIOUS DISEASES, 2016, 16 (04): : 500 - 505
  • [29] A Benchmark-Based Estimation Approach for Network Operation Cost Reduction with Shared Delivery Options
    Frisanco, Thomas
    2009 INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS (ICT), 2009, : 155 - 159
  • [30] Benchmark-based Optimization of Computational Capacity Distribution in a Client-server Web Application
    Marias, Zsigmond
    Tarcsi, Adam
    Nikovits, Tibor
    Halassy, Zoltan
    INFORMATICS 2013: PROCEEDINGS OF THE TWELFTH INTERNATIONAL CONFERENCE ON INFORMATICS, 2013, : 309 - 313