RUS  ENG
Full version
JOURNALS // Modelirovanie i Analiz Informatsionnykh Sistem // Archive

Model. Anal. Inform. Sist., 2012 Volume 19, Number 6, Pages 69–78 (Mi mais271)

Tree Slicing in Clone Detection: Syntactic Analysis Made (Semi)-Semantic

Marat Akhin, Vladimir Itsykson

Saint-Petersburg State Polytechnical University

Abstract: Nowadays most of software contains code duplication that leads to serious problems in software maintenance. A lot of different clone detection approaches have been proposed over the years to deal with this problem, but almost all of them do not consider semantic properties of the source code. We propose to reinforce traditional tree-based clone detection algorithms by using additional information about variable slices. This allows to find intertwined/gapped clones on variables; preliminary evaluation confirms applicability of our approach to real-world software.

Keywords: Clone Detection, Tree Slicing, Tree Patterns, Software Maintenance.

UDC: 004.05+004.422+004.4'23

Received: 12.09.2012



© Steklov Math. Inst. of RAS, 2025