Automated Refactoring Suggestions Using the Results of Code Analysis Tools

被引:3
作者
Herbold, Steffen [1 ]
Grabowski, Jens [1 ]
Neukirchen, Helmut [2 ]
机构
[1] Univ Gottingen, Inst Comp Sci, Gottingen, Germany
[2] Univ Iceland, Fac Ind Engn, Engn Mech & Comp Sci, IS-101 Reykjavik, Iceland
来源
2009 FIRST INTERNATIONAL CONFERENCE ON ADVANCES IN SYSTEM TESTING AND VALIDATION LIFECYCLE | 2009年
关键词
Software verification and validation; Software inspection techniques; Software testing tools; Refactoring; Tool integration;
D O I
10.1109/VALID.2009.12
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:104 / +
页数:2
相关论文
共 16 条
[1]  
[Anonymous], 2005, PMD applied
[2]  
BALAZINSKA M, 2000, 7 WORK C REV ENG IEE
[3]  
COLE B, 2006, DYN LANG S 2006 ACM
[4]  
CRESPO Y, 2005, 9 ECOOP WORKSH QUANT
[5]  
*ECL FDN, 2009, ECL PROJ
[6]  
*ECL FDN, 2009, JAV DEV TOOLS ECL PL
[7]  
Fowler M., 2018, Refactoring: Improving the Design of Existing Code
[8]  
Gamma E., 1994, Design patterns: elements of reusable object-oriented software, V1 edition
[9]  
KATAOKA Y, 2001, IEEE INT C SOFTW MAI
[10]   A survey of software refactoring [J].
Mens, T ;
Tourwé, T .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (02) :126-139