• DocumentCode
    1458489
  • Title

    Making Program Refactoring Safer

  • Author

    Soares, Gustavo ; Gheyi, Rohit ; Serey, Dalton ; Massoni, Tiago

  • Volume
    27
  • Issue
    4
  • fYear
    2010
  • Firstpage
    52
  • Lastpage
    57
  • Abstract
    Developers rely on compilation, test suites, and tools to preserve observable behavior during refactoring. However, most refactoring tools don´t implement all the preconditions that guarantee refactoring correctness because formally identifying them is cost-prohibitive. Therefore, these tools could perform nonbehavior-preserving transformations. The authors present a tool for improving safety during refactoring that automatically generates a test suite suited for detecting behavioral changes. They used this tool to evaluate seven real case study refactorings (from 3 to 100 KLOC).
  • Keywords
    software maintenance; compilation; nonbehavior preserving transformations; program refactoring; test suites; behavior preservation; refactoring; software engineering; unit testing;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/MS.2010.63
  • Filename
    5440166