• DocumentCode
    650707
  • Title

    Predicting Bugs Using Antipatterns

  • Author

    Taba, Seyyed Ehsan Salamati ; Khomh, Foutse ; Ying Zou ; Hassan, Ahmed E. ; Nagappan, Meiyappan

  • Author_Institution
    Sch. of Comput., Queen´s Univ., Kingston, ON, Canada
  • fYear
    2013
  • fDate
    22-28 Sept. 2013
  • Firstpage
    270
  • Lastpage
    279
  • Abstract
    Bug prediction models are often used to help allocate software quality assurance efforts. Software metrics (e.g., process metrics and product metrics) are at the heart of bug prediction models. However, some of these metrics like churn are not actionable, on the contrary, antipatterns which refer to specific design and implementation styles can tell the developers whether a design choice is "poor" or not. Poor designs can be fixed by refactoring. Therefore in this paper, we explore the use of antipatterns for bug prediction, and strive to improve the accuracy of bug prediction models by proposing various metrics based on antipatterns. An additional feature to our proposed metrics is that they take into account the history of antipatterns in files from their inception into the system. Through a case study on multiple versions of Eclipse and ArgoUML, we observe that (i) files participating in antipatterns have higher bug density than other files, (ii) our proposed antipattern based metrics can provide additional explanatory power over traditional metrics, and (iii) improve the F-measure of cross-system bug prediction models by 12.5% in average. Managers and quality assurance personnel can use our proposed metrics to better improve their bug prediction models and better focus testing activities and the allocation of support resources.
  • Keywords
    software metrics; software quality; ArgoUML; Eclipse; antipattern based metrics; cross-system bug prediction models; software metrics; software quality assurance; Computational modeling; Computer bugs; History; Mathematical model; Measurement; Predictive models; Software systems; antipattern; bug prediction; software quality;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance (ICSM), 2013 29th IEEE International Conference on
  • Conference_Location
    Eindhoven
  • ISSN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2013.38
  • Filename
    6676898