Title :
An evaluation of clone detection techniques for crosscutting concerns
Author :
Bruntink, Magiel ; Van Deursen, Arie ; Tourwé, Tom ; Van Engelen, Remco
Author_Institution :
Centrum voor Wiskunde en Informatica, Amsterdam, Netherlands
Abstract :
Code implementing a crosscutting concern is often spread over many different parts of an application. Identifying such code automatically greatly improves both the maintainability and the evolvability of the application. First of all, it allows a developer to more easily find the places in the code that must be changed when the concern changes, and thus makes such changes less time consuming and less prone to errors. Second, it allows a developer to refactor the code, so that it uses modern and more advanced abstraction mechanisms, thereby restoring its modularity. We evaluate the suitability of clone detection as a technique for the identification of crosscutting concerns. To that end, we manually identify four specific concerns in an industrial C application, and analyze to what extent clone detection is capable of finding these concerns. We consider our results as a stepping stone toward an automated "concern miner" based on clone detection.
Keywords :
C language; data flow analysis; software maintenance; automated concern miner; clone detection; code refactoring; crosscutting concerns; industrial C application; Application software; Cloning; Computer errors; Computer languages; Computer science; Detection algorithms; Mathematics; Programming; Scattering; Software systems;
Conference_Titel :
Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
Print_ISBN :
0-7695-2213-0
DOI :
10.1109/ICSM.2004.1357804