Recurring bug fixes in object-oriented programs

  • Authors:
  • Tung Thanh Nguyen;Hoan Anh Nguyen;Nam H. Pham;Jafar Al-Kofahi;Tien N. Nguyen

  • Affiliations:
  • Iowa State University;Iowa State University;Iowa State University;Iowa State University;Iowa State University

  • Venue:
  • Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Previous research confirms the existence of recurring bug fixes in software systems. Analyzing such fixes manually, we found that a large percentage of them occurs in code peers, the classes/methods having the similar roles in the systems, such as providing similar functions and/or participating in similar object interactions. Based on graph-based representation of object usages, we have developed several techniques to identify code peers, recognize recurring bug fixes, and recommend changes for code units from the bug fixes of their peers. The empirical evaluation on several open-source projects shows that our prototype, FixWizard, is able to identify recurring bug fixes and provide fixing recommendations with acceptable accuracy.