Investigating the relation between lexical smells and change- and fault-proneness: an empirical study

被引:9
|
作者
Guerrouj, Latifa [1 ]
Kermansaravi, Zeinab [2 ]
Arnaoudova, Venera [3 ]
Fung, Benjamin C. M. [4 ]
Khomh, Foutse [2 ]
Antoniol, Giuliano [2 ]
Gueheneuc, Yann-Gael [2 ]
机构
[1] Ecole Technol Super, Montreal, PQ, Canada
[2] Ecole Polytech, Montreal, PQ, Canada
[3] Washington State Univ, Pullman, WA 99164 USA
[4] McGill Univ, Montreal, PQ, Canada
关键词
Lexical smells; Design smells; Change-proneness; Fault-proneness; Empirical study; IDENTIFIER NAMES; CODE SMELLS; BAD SMELLS;
D O I
10.1007/s11219-016-9318-6
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Past and recent studies have shown that design smells which are poor solutions to recurrent design problems make object-oriented systems difficult to maintain, and that they negatively impact the class change- and fault-proneness. More recently, lexical smells have been introduced to capture recurring poor practices in the naming, documentation, and choice of identifiers during the implementation of an entity. Although recent studies show that developers perceive lexical smells as impairing program understanding, no study has actually evaluated the relationship between lexical smells and software quality as well as their interaction with design smells. In this paper, we detect 29 smells consisting of 13 design smells and 16 lexical smells in 30 releases of three projects: ANT, ArgoUML, and Hibernate. We analyze to what extent classes containing lexical smells have higher (or lower) odds to change or to be subject to fault fixing than other classes containing design smells. Our results show and bring empirical evidence on the fact that lexical smells can make, in some cases, classes with design smells more fault-prone. In addition, we empirically demonstrate that classes containing design smells only are more change- and fault-prone than classes with lexical smells only.
引用
收藏
页码:641 / 670
页数:30
相关论文
共 50 条
  • [21] Characterizing the Roles of Classes and their Fault-Proneness through Change Metrics
    Steff, Maximilian
    Russo, Barbara
    PROCEEDINGS OF THE ACM-IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT (ESEM'12), 2012, : 59 - 68
  • [22] Investigating the impact of fault data completeness over time on predicting class fault-proneness
    Al Dallal, Jehad
    Morasca, Sandro
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 95 : 86 - 105
  • [23] The effect of refactoring on change and fault-proneness in commercial C# software
    Gatrell, M.
    Counsell, S.
    SCIENCE OF COMPUTER PROGRAMMING, 2015, 102 : 44 - 56
  • [24] Empirical analysis of network measures for effort-aware fault-proneness prediction
    Ma, Wanwangying
    Chen, Lin
    Yang, Yibiao
    Zhou, Yuming
    Xu, Baowen
    INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 69 : 50 - 70
  • [25] Mining the Relationship between Anti-patterns Dependencies and Fault-Proneness
    Jaafar, Fehmi
    Gueheneuc, Yann-Gael
    Hamel, Sylvie
    Khomh, Foutse
    2013 20TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE), 2013, : 351 - 360
  • [26] An empirical analysis of package-modularization metrics: Implications for software fault-proneness
    Zhao, Yangyang
    Yang, Yibiao
    Lu, Hongmin
    Zhou, Yuming
    Song, Qinbao
    Xu, Baowen
    INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 57 : 186 - 203
  • [27] A study on fault-proneness detection of Object-Oriented systems
    Fioravanti, F
    Nesi, P
    FIFTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, 2001, : 121 - 130
  • [28] Software metrics thresholds calculation techniques to predict fault-proneness: An empirical comparison
    Boucher, Alexandre
    Badri, Mourad
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 96 : 38 - 67
  • [29] Using Tri-Relation Networks for Effective Software Fault-Proneness Prediction
    Li, Yihao
    Wong, W. Eric
    Lee, Shou-Yu
    Wotawa, Franz
    IEEE ACCESS, 2019, 7 : 63066 - 63080
  • [30] Empirical Study about Class Change Proneness Prediction using Software Metrics and Code Smells
    Forte Martins, Antonio Diogo
    Melo, Cristiano
    Monteiro, Jose Maria
    Machado, Javam de Castro
    PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS (ICEIS), VOL 1, 2020, : 140 - 147