An evaluation of clone detection techniques for identifying crosscutting concerns

被引:52
作者
Bruntink, M [1 ]
van Deursen, A [1 ]
Tourwé, T [1 ]
van Engelen, R [1 ]
机构
[1] Cent Wiskunde Informat, NL-1090 GB Amsterdam, Netherlands
来源
20TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS | 2004年
关键词
D O I
10.1109/ICSM.2004.1357804
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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. 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 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.
引用
收藏
页码:200 / 209
页数:10
相关论文
共 19 条
[1]  
BAKER BS, 1995, SECOND WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, P86, DOI 10.1109/WCRE.1995.514697
[2]   Clone detection using abstract syntax trees [J].
Baxter, ID ;
Yahin, A ;
Moura, L ;
Sant'Anna, M ;
Bier, L .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, :368-377
[3]  
Breu S., 2003, GI SOFTWARETECHNIK T, V23, P21
[4]  
COADY Y, 2001, P 8 EUR SOFTW ENG C, P88
[5]  
Ducasse S., 1999, Proceedings IEEE International Conference on Software Maintenance - 1999 (ICSM'99). `Software Maintenance for Business Change' (Cat. No.99CB36360), P109, DOI 10.1109/ICSM.1999.792593
[6]  
ETTINGER R, 2004, SLICING BASED REFRAC
[7]  
GRISWOLD WG, 1999, ASPECTBOWSER TOOL SU
[8]  
HANNEMANN J, 2001, P ICSE WORKSH ADV SE
[9]  
HOLT RC, 1996, 345 U TOR COMP SCI R
[10]  
Johnson J. H., 1993, Proceedings CASCON '93, P171