• DocumentCode
    555280
  • Title

    An empirical investigation into the role of API-level refactorings during software evolution

  • Author

    Kim, Miryung ; Cai, Dongxiang ; Kim, Sunghun

  • Author_Institution
    Univ. of Texas at Austin, Austin, TX, USA
  • fYear
    2011
  • fDate
    21-28 May 2011
  • Firstpage
    151
  • Lastpage
    160
  • Abstract
    It is widely believed that refactoring improves software quality and programmer productivity by making it easier to maintain and understand software systems. However, the role of refactorings has not been systematically investigated using fine-grained evolution history. We quantitatively and qualitatively studied API-level refactorings and bug fixes in three large open source projects, totaling 26523 revisions of evolution. The study found several surprising results: One, there is an increase in the number of bug fixes after API-level refactorings. Two, the time taken to fix bugs is shorter after API-level refactorings than before. Three, a large number of refactoring revisions include bug fixes at the same time or are related to later bug fix revisions. Four, API-level refactorings occur more frequently before than after major software releases. These results call for re-thinking refactoring´s true benefits. Furthermore, frequent floss refactoring mistakes observed in this study call for new software engineering tools to support safe application of refactoring and behavior modifying edits together.
  • Keywords
    application program interfaces; program debugging; software maintenance; software tools; API-level refactorings; bug fixes; fine-grained evolution history; frequent floss refactoring mistakes; open source projects; software engineering tools; software evolution; software quality; Accuracy; Computer bugs; Data mining; History; Manuals; Productivity; Software; defects; empirical study; refactoring; release cycle; software evolution;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2011 33rd International Conference on
  • Conference_Location
    Honolulu, HI
  • ISSN
    0270-5257
  • Print_ISBN
    978-1-4503-0445-0
  • Electronic_ISBN
    0270-5257
  • Type

    conf

  • DOI
    10.1145/1985793.1985815
  • Filename
    6032454