elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Imprint | Privacy Policy | Contact | Deutsch
Fontsize: [-] Text [+]

You Look so Different: Finding Structural Clones and Subclones in Java Source Code

Amme, Wolfram and Heinze, Thomas and Schäfer, André (2021) You Look so Different: Finding Structural Clones and Subclones in Java Source Code. In: 2021 IEEE International Conference on Software Maintenance and Evolution, ICSME 2021, pp. 70-80. ICSME 2021, 27. September - 1. Oktober 2021, Virtuelle Konferenz. doi: 10.1109/ICSME52107.2021.00013. (In Press)

[img] PDF - Only accessible within DLR
302kB

Abstract

Code reuse and copying is a widespread practice in software development. Detecting code clones, i.e., identical or similar fragments of code, is thus an important task with many applications, ranging from code search to bug finding and malware detection. In this paper, we propose a new approach to detect code clones in source code. Instead of analyzing the code tokens or syntax, our technique is based upon control flow analysis and dominator trees. In this way, the technique not only detects exact and syntactically similar near-miss code clones but also two new types of clones, which we characterize as structural code clones and subclones. For implementation and evaluation, we have developed the tool StoneDetector, which finds code clones in Java source code. StoneDetector performs competitive with the state of the art as measured on the BigCloneBench benchmark and finds more structural clones and subclones.

Item URL in elib:https://elib.dlr.de/144760/
Document Type:Conference or Workshop Item (Speech)
Title:You Look so Different: Finding Structural Clones and Subclones in Java Source Code
Authors:
AuthorsInstitution or Email of AuthorsAuthor's ORCID iD
Amme, Wolframwolfram.amme (at) uni-jena.deUNSPECIFIED
Heinze, Thomasthomas.heinze (at) dlr.deUNSPECIFIED
Schäfer, AndréFriedrich-Schiller-Universität JenaUNSPECIFIED
Date:2021
Journal or Publication Title:2021 IEEE International Conference on Software Maintenance and Evolution, ICSME 2021
Refereed publication:Yes
Open Access:No
Gold Open Access:No
In SCOPUS:No
In ISI Web of Science:No
DOI :10.1109/ICSME52107.2021.00013
Page Range:pp. 70-80
Series Name:IEEE
Status:In Press
Keywords:Code duplication, Code clone, Source code clone, Clone detection, Java, Structural clone, Subclone
Event Title:ICSME 2021
Event Location:Virtuelle Konferenz
Event Type:international Conference
Event Dates:27. September - 1. Oktober 2021
HGF - Research field:Aeronautics, Space and Transport
HGF - Program:Space
HGF - Program Themes:Space System Technology
DLR - Research area:Raumfahrt
DLR - Program:R SY - Space System Technology
DLR - Research theme (Project):R - Intelligent analysis and methods for safe software development
Location: Jena
Institutes and Institutions:Institute of Data Science > Secure Digital Systems
Deposited By: Heinze, Thomas
Deposited On:27 Oct 2021 15:32
Last Modified:27 Oct 2021 15:32

Repository Staff Only: item control page

Browse
Search
Help & Contact
Information
electronic library is running on EPrints 3.3.12
Copyright © 2008-2017 German Aerospace Center (DLR). All rights reserved.