DocumentCode
588613
Title
Move code refactoring with dynamic analysis
Author
Kimura, Shunji ; Higo, Y. ; Igaki, Hiroshi ; Kusumoto, Shinji
Author_Institution
Grad. Sch. of Inf. Sci. & Technol., Osaka Univ., Suita, Japan
fYear
2012
fDate
23-28 Sept. 2012
Firstpage
575
Lastpage
578
Abstract
In order to reduce coupling and increase cohesion, we refactor program source code. Previous research efforts for suggesting candidates of such refactorings are based on static analysis, which obtains relations among classes or methods from source code. However, these approaches cannot obtain runtime information such as repetition count of loop, dynamic dispatch and actual execution path. Therefore, previous approaches might miss some refactoring opportunities. To tackle this problem, we propose a technique to find refactoring candidates by analyzing method traces. We have implemented a prototype tool based on the proposed technique and evaluated the technique on two software systems. As a result, we confirmed that the proposed technique could detect some refactoring candidates, which increase code quality.
Keywords
program diagnostics; software maintenance; software quality; system monitoring; code quality; dynamic analysis; dynamic dispatch; method traces; program source code refactoring; runtime information; static analysis; Cloning; Conferences; Data visualization; Image color analysis; Performance analysis; Software maintenance; Move Method refactoring; dynamic analysis; refactoring; software maintenance;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location
Trento
ISSN
1063-6773
Print_ISBN
978-1-4673-2313-0
Type
conf
DOI
10.1109/ICSM.2012.6405324
Filename
6405324
Link To Document