Identifying extract-method refactoring candidates automatically

Tushar Sharma · 2012

Refactoring becomes an essential activity in software development process especially for large and long life projects. Extract-method is one of the most frequently used refactorings to address code smells such as long and incohesive methods, and duplicated code. Automated means of identifying opportunities for refactoring can make the software development process faster and more efficient. In this paper, an abstraction for methods viz. Data and Structure Dependency (DSD) graph and an algorithm viz. longest edge removal algorithm to find extract-method refactoring candidates is proposed.

Read the paper · More papers on PaperTik