Automating the refactoring process

Szőke Gábor: Automating the refactoring process. In: Acta cybernetica, (23) 2. pp. 715-735. (2017)

[thumbnail of actacyb_23_2_2017_16.pdf]
Cikk, tanulmány, mű

Download (565kB) | Preview


To decrease software maintenance cost, software development companies use static source code analysis techniques. Static analysis tools are capable of finding potential bugs, anti-patterns, coding rule violations, and they can also enforce coding style standards. Although there are several available static analyzers to choose from, they only support issue detection. The elimination of the issues is still performed manually by developers. Here, we propose a process that supports the automatic elimination of coding issues in Java. We introduce a tool that uses a third-party static analyzer as input and enables developers to automatically fix the detected issues for them. Our tool uses a special technique, called reverse AST-search, to locate source code elements in a syntax tree, just based on location information. Our tool was evaluated and tested in a two-year project with six software development companies where thousands of code smells were identified and fixed in five systems that have altogether over five million lines of code.

Item Type: Article
Journal or Publication Title: Acta cybernetica
Date: 2017
Volume: 23
Number: 2
ISSN: 0324-721X
Page Range: pp. 715-735
Language: English
Place of Publication: Szeged
Related URLs:
DOI: 10.14232/actacyb.23.2.2017.16
Uncontrolled Keywords: Informatika, Számítástechnika, Programozás
Additional Information: Bibliogr.: p. 733-735. és a lábjegyzetekben ; összefoglalás angol nyelven
Subjects: 01. Natural sciences
01. Natural sciences > 01.02. Computer and information sciences
Date Deposited: 2018. Feb. 13. 10:48
Last Modified: 2022. Jun. 20. 15:38

Actions (login required)

View Item View Item