Refactoring paper accepted at TSE

ieee-tse-logo

We are very glad to announce that the paper ““Identifying Extract Method Refactoring Opportunities based on Functional Relevance”” (by Sofia Charalampidou, Apostolos Ampatzoglou, Alexander Chatzigeorgiou, Antonios Gkortzis and Paris Avgeriou) has been accepted for publication at the IEEE Transactions on Software Engineering

Abstract—‘Extract Method’ is considered one of the most frequently applied and beneficial refactorings, since the corresponding Long Method smell is among the most common and persistent ones. Although Long Method is conceptually related to the implementation of diverse functionalities within a method, until now, this relationship has not been utilized while identifying refactoring opportunities. In this paper we introduce an approach (accompanied by a tool) that aims at identifying source code chunks that collaborate to provide a specific functionality, and propose their extraction as separate methods. The accuracy of the proposed approach has been empirically validated both in an industrial and an open-source setting. In the former case, the approach was capable of identifying functionally related statements within two industrial long methods (approx. 500 LoC each), with a recall rate of 93%. In the latter case, based on a comparative study on open-source data, our approach ranks better compared to two well-known techniques of the literature. To assist software engineers in the prioritization of the suggested refactoring opportunities the approach ranks them based on an estimate of their fitness for extraction. The provided ranking has been validated in both settings and proved to be strongly correlated with experts’ opinion

This entry was posted in News by Alexander Chatzigeorgiou. Bookmark the permalink.

About Alexander Chatzigeorgiou

Alexander Chatzigeorgiou is an associate professor of software engineering in the Department of Applied Informatics at the University of Macedonia, Thessaloniki, Greece. He received the Diploma in Electrical Engineering and the PhD degree in Computer Science from the Aristotle University of Thessaloniki, Greece, in 1996 and 2000, respectively. From 1997 to 1999, he was with Intracom, Greece, as a telecommunications software designer. Since 2007, he is also a member of the teaching staff of Hellenic Open University. His research interests include object-oriented design, software maintenance, and software evolution analysis. He has published more than 80 papers in international refereed journals and conferences while his research work has received more than 1000 citations. In 2010 he was ranked by the Journal of Systems and Software among the 15 top scholars in the field of Systems and Software Engineering.