DocumentCode
1663040
Title
Automatic code locations identification for replacing temporary variable with query method
Author
Rongviriyapanish, Songsakdi ; Karunlanchakorn, Nopphawit ; Meananeatra, Panita
Author_Institution
Comput. Sci. Dept., Thammasat Univ., Pathumthani, Thailand
fYear
2015
Firstpage
1
Lastpage
6
Abstract
Automatic application of refactoring techniques can help developer save effort for removing bad smells from their code which improves software maintainability. To remove automatically long method bad smell, which is one of the most serious bad smells, we need an automatic application of six refactoring techniques. However, only one refactoring technique “Extract Method” can be automated. In this research, we propose an algorithm to identify code locations which will be extracted for creating a query method. We performed an experiment to conclude the workability and correctness of our algorithm. This is the most important step towards an automatic application of refactoring technique “replace temp with query”.
Keywords
software maintenance; automatic code location identification; bad smell removal; extract method; query method; refactoring techniques; replace temp with query; software maintainability; temporary variable; Europe; Flow graphs; Java; Software algorithms; Software maintenance; Workability; Bad Smell; Program Dependency Graph; Program Slicing; Refactoring Application; Software Maintenance;
fLanguage
English
Publisher
ieee
Conference_Titel
Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), 2015 12th International Conference on
Conference_Location
Hua Hin
Type
conf
DOI
10.1109/ECTICon.2015.7207086
Filename
7207086
Link To Document