• DocumentCode
    3635669
  • Title

    Automated Bug Neighborhood Analysis for Identifying Incomplete Bug Fixes

  • Author

    Mijung Kim;Saurabh Sinha;Carsten Görg;Hina Shah;Mary Jean Harrold;Mangala Gowri Nanda

  • Author_Institution
    Georgia Inst. of Technol., Atlanta, GA, USA
  • fYear
    2010
  • Firstpage
    383
  • Lastpage
    392
  • Abstract
    Although many static-analysis techniques have been developed for automatically detecting bugs, such as null dereferences, fewer automated approaches have been presented for analyzing whether and how such bugs are fixed. Attempted bug fixes may be incomplete in that a related manifestation of the bug remains unfixed. In this paper, we characterize the “completeness” of attempted bug fixes that involve the flow of invalid values from one program point to another, such as null dereferences, in Java programs. Our characterization is based on the definition of a bug neighborhood, which is a scope of flows of invalid values. We present an automated analysis that, given two versions P and P´ of a program, identifies the bugs in P that have been fixed in P´, and classifies each fix as complete or incomplete. We implemented our technique for null-dereference bugs and conducted empirical studies using open-source projects. Our results indicate that, for the projects we studied, many bug fixes are not complete, and thus, may cause failures in subsequent executions of the program.
  • Keywords
    "Computer bugs","Null value","Java","Software testing","Open source software","Virtual machining","Software systems","Sun","Runtime library","Performance evaluation"
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2010 Third International Conference on
  • Print_ISBN
    978-1-4244-6435-7
  • Type

    conf

  • DOI
    10.1109/ICST.2010.63
  • Filename
    5477063