• DocumentCode
    3419976
  • Title

    Lightweight detection of program refactorings

  • Author

    Atkinson, Darren C. ; King, Todd

  • Author_Institution
    Dept. of Comput. Eng., Santa Clara Univ., CA, USA
  • fYear
    2005
  • fDate
    15-17 Dec. 2005
  • Abstract
    Poorly structured code is hard to maintain and read. Program refactoring can improve code structure and thus make it easier to preserve and to discern the underlying design. However, refactoring is a difficult and time-consuming process making it unattractive for many developers. An automated tool that could identify poorly structured code and make suggestions would make the refactoring process easier. Although in general refactorings may be quite difficult to locate automatically, we show that many can be detected using low-cost, syntactic techniques. We have built a tool to locate refactorings in C# programs. Our experiments indicate that the tool has an excellent success rate in identifying refactorings.
  • Keywords
    automatic programming; program verification; reverse engineering; software maintenance; systems re-engineering; C; lightweight detection; poorly structured code; program maintenance; program refactoring; syntactic technique; Computer architecture; Costs; Data analysis; Design engineering; Information analysis; Maintenance engineering; Optimizing compilers; Preventive maintenance; Programming profession; Software maintenance;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2005. APSEC '05. 12th Asia-Pacific
  • ISSN
    1530-1362
  • Print_ISBN
    0-7695-2465-6
  • Type

    conf

  • DOI
    10.1109/APSEC.2005.76
  • Filename
    1607207