On the Association between Code Cloning and Fault-Proneness: An Empirical Investigation

被引:0
|
作者
Elish, Mahmoud O. [1 ]
机构
[1] Gulf Univ Sci & Technol, Comp Sci Dept, Mishref, Kuwait
来源
关键词
Code cloning; fault-proneness; software quality; software metrics; empirical studies;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
During software development projects, the reuse of code fragments with or without modification by copying and pasting is a common practice, which is known as code clones. It has been an arguable issue whether cloning has a harmful impact or not on software development and the quality of the produced software. This paper empirically explores the association between code clones and fault-proneness of object-oriented classes. An empirical investigation was conducted using data from more than 3000 classes in five open source software projects. It was found that classes with clones are significantly more fault-prone than the classes without clones. In addition, the classes with intra-class clones, regardless of whether they also have inter-class clones or not, were found to be significantly more fault-prone than the classes with inter-class clones only. Moreover, among the groups of classes that have only one type of clones, the group of classes with Type II clones was found to be the most fault-prone. Furthermore, the groups of classes that contain more than one type of clones where Type I is among them were found to be more fault-prone than the groups of classes with only one type of clones.
引用
收藏
页码:928 / 935
页数:8
相关论文
共 50 条
  • [21] Exploring the relationship of a file's history and its fault-proneness: An empirical study
    Illes-Seifert, Timea
    Paech, Barbara
    TACI PART 2008:TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS, 2008, : 13 - 22
  • [22] Software metrics thresholds calculation techniques to predict fault-proneness: An empirical comparison
    Boucher, Alexandre
    Badri, Mourad
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 96 : 38 - 67
  • [23] An Exploratory Study of the Relationship Between Software Test Smells and Fault-Proneness
    Qusef, Abdallah
    Elish, Mahmoud O.
    Binkley, David
    IEEE ACCESS, 2019, 7 : 139526 - 139536
  • [24] Robust prediction of fault-proneness by random forests
    Guo, L
    Ma, Y
    Cukic, B
    Singh, H
    15TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2004, : 417 - 428
  • [25] Towards industrially relevant fault-proneness models
    Denaro, G
    Pezzè, M
    Morasca, S
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2003, 13 (04) : 395 - 417
  • [26] An Empirical Analysis of the Impact of Comment Statements on Fault-Proneness of Small-Size Module
    Aman, Hirohisa
    2012 19TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), VOL 1, 2012, : 362 - 367
  • [27] Anti-pattern Mutations and Fault-proneness
    Jaafar, Fehmi
    Khomh, Foutse
    Gueheneuc, Yann-Gael
    Zulkernine, Mohammad
    2014 14TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2014), 2014, : 246 - 255
  • [28] A SYSTEMATIC REVIEW OF THE EMPIRICAL VALIDATION OF OBJECT-ORIENTED METRICS TOWARDS FAULT-PRONENESS PREDICTION
    Isong, Bassey
    Obeten, Ekabua
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2013, 23 (10) : 1513 - 1540
  • [29] Software fault-proneness prediction using random forest
    Hong, Euyseok
    International Journal of Smart Home, 2012, 6 (04): : 147 - 152
  • [30] The influence of developer quality on software fault-proneness prediction
    Wu, Yansong
    Yang, Yibiao
    Zhao, Yangyang
    Lu, Hongmin
    Zhou, Yuming
    Xu, Baowen
    2014 EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY, 2014, : 11 - 19