首页 | 本学科首页   官方微博 | 高级检索  
     


An exploratory study of the impact of antipatterns on class change- and fault-proneness
Authors:Foutse Khomh  Massimiliano Di Penta  Yann-Ga?l Guéhéneuc  Giuliano Antoniol
Affiliation:(1) Department of Electrical and Computer Engineering, Queen’s University, Kingston, ON, Canada;(2) Department of Engineering, University of Sannio, Benevento, Italy;(3) SOCCER Lab. and Ptidej Team, D?partement de G?nie Informatique et G?nie Logiciel, ?cole Polytechnique de Montr?al, Montr?al, QC, Canada
Abstract:Antipatterns are poor design choices that are conjectured to make object-oriented systems harder to maintain. We investigate the impact of antipatterns on classes in object-oriented systems by studying the relation between the presence of antipatterns and the change- and fault-proneness of the classes. We detect 13 antipatterns in 54 releases of ArgoUML, Eclipse, Mylyn, and Rhino, and analyse (1) to what extent classes participating in antipatterns have higher odds to change or to be subject to fault-fixing than other classes, (2) to what extent these odds (if higher) are due to the sizes of the classes or to the presence of antipatterns, and (3) what kinds of changes affect classes participating in antipatterns. We show that, in almost all releases of the four systems, classes participating in antipatterns are more change-and fault-prone than others. We also show that size alone cannot explain the higher odds of classes with antipatterns to underwent a (fault-fixing) change than other classes. Finally, we show that structural changes affect more classes with antipatterns than others. We provide qualitative explanations of the increase of change- and fault-proneness in classes participating in antipatterns using release notes and bug reports. The obtained results justify a posteriori previous work on the specification and detection of antipatterns and could help to better focus quality assurance and testing activities.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号