On the use of clone detection for identifying crosscutting concern code
Authors:
- A. van DeursenADA. van Deursen
- R. van EngelenRER. van Engelen
- 21 November 2005
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 31 (10) , 804-818
Abstract
In systems developed without aspect-oriented programming, code implementing a crosscutting concern may be spread over many different parts of a system. Identifying such code automatically could be of great help during maintenance of the system. 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 the code to be refactored to an aspect-oriented solution, thereby improving its modularity. In this paper, we evaluate the suitability of clone detection as a technique for the identification of crosscutting concerns. To that end, we manually identify five specific crosscutting concerns in an industrial C system and analyze to what extent clone detection is capable of finding them. We consider our results as a stepping stone toward an automated "aspect miner" based on clone detection.Keywords
This publication has 29 references indexed in Scilit:
- Identification of high-level concept clones in source code2005
- Identifying aspects using fan-in analysis2005
- A Qualitative Comparison of Three Aspect Mining Techniques2005
- Evaluating clone detection techniques from a refactoring perspective2004
- Reconstruction of successful software evolution using clone detection2003
- Clone detection using abstract syntax trees2002
- On finding duplication and near-duplication in large software systems2002
- Advanced clone-analysis to support object-oriented system refactoring2002
- Removing clones from the codeJournal of Software Maintenance: Research and Practice, 1999
- A language independent approach for detecting duplicated code1999