Automated Refactoring Suggestions Using the Results of Code Analysis Tools

Steffen Herbold, Jens Grabowski, Helmut Neukirchen

Abstract

Static analysis tools are used for the detection of errors and other problems on source code level. 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: 
Software verification and validation; Software inspection techniques; Software testing tools; Refactoring; Tool integration
Document Type: 
Articles in Conference Proceedings
Booktitle: 
2009 First International Conference on Advances in System Testing and Validation Lifecycle
Series: 
VALID'09
Publisher: 
IEEE
Pages: 
104--109
Month: 
9
Year: 
2009
DOI: 
10.1109/VALID.2009.12
2024 © Software Engineering For Distributed Systems Group

Main menu 2