Title :
Automated Refactoring Suggestions Using the Results of Code Analysis Tools
Author :
Herbold, Steffen ; Grabowski, Jens ; Neukirchen, Helmut
Author_Institution :
Inst. of Comput. Sci., Univ. of Gottingen, Gottingen, Germany
Abstract :
Static analysis tools are used for the detection of errors and other problems on . The detected problems related to the internal structure of a software can be removed by source code transformations called refactorings. To automate such source code transformations, refactoring tools are available. In modern integrated development environments, there is a gap between the static analysis tools and the refactoring tools. This paper presents an automated approach for the improvement of the internal quality of software by using the results of code analysis tools to call a refactoring tool to remove detected problems. The approach is generic, thus allowing the combination of arbitrary tools. As a proof of concept, this approach is implemented as a plug-in for the integrated development environment Eclipse.
Keywords :
program diagnostics; program verification; software maintenance; software quality; software tools; error detection; integrated development environment; refactoring tool; software internal quality; software validation; software verification; source code transformation; static code analysis tool; Computer errors; Computer science; Industrial engineering; Inspection; Java; Mechanical engineering; Software metrics; Software quality; Software tools; System testing; Refactoring; Software inspection techniques; Software testing tools; Software verification and validation; Tool integration;
Conference_Titel :
Advances in System Testing and Validation Lifecycle, 2009. VALID '09. First International Conference on
Conference_Location :
Porto
Print_ISBN :
978-1-4244-4862-3
Electronic_ISBN :
978-0-7695-3774-0
DOI :
10.1109/VALID.2009.12