Amme, Wolfram und Heinze, Thomas und 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, Seiten 70-80. ICSME 2021, 2021-09-27 - 2021-10-01, Virtuelle Konferenz. doi: 10.1109/ICSME52107.2021.00013. ISBN 978-166542882-8. (im Druck)
PDF
- Nur DLR-intern zugänglich
302kB |
Kurzfassung
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.
elib-URL des Eintrags: | https://elib.dlr.de/144760/ | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dokumentart: | Konferenzbeitrag (Vortrag) | ||||||||||||||||
Titel: | You Look so Different: Finding Structural Clones and Subclones in Java Source Code | ||||||||||||||||
Autoren: |
| ||||||||||||||||
Datum: | 2021 | ||||||||||||||||
Erschienen in: | 2021 IEEE International Conference on Software Maintenance and Evolution, ICSME 2021 | ||||||||||||||||
Referierte Publikation: | Ja | ||||||||||||||||
Open Access: | Nein | ||||||||||||||||
Gold Open Access: | Nein | ||||||||||||||||
In SCOPUS: | Nein | ||||||||||||||||
In ISI Web of Science: | Nein | ||||||||||||||||
DOI: | 10.1109/ICSME52107.2021.00013 | ||||||||||||||||
Seitenbereich: | Seiten 70-80 | ||||||||||||||||
Name der Reihe: | IEEE | ||||||||||||||||
ISBN: | 978-166542882-8 | ||||||||||||||||
Status: | im Druck | ||||||||||||||||
Stichwörter: | Code duplication, Code clone, Source code clone, Clone detection, Java, Structural clone, Subclone | ||||||||||||||||
Veranstaltungstitel: | ICSME 2021 | ||||||||||||||||
Veranstaltungsort: | Virtuelle Konferenz | ||||||||||||||||
Veranstaltungsart: | internationale Konferenz | ||||||||||||||||
Veranstaltungsbeginn: | 27 September 2021 | ||||||||||||||||
Veranstaltungsende: | 1 Oktober 2021 | ||||||||||||||||
HGF - Forschungsbereich: | Luftfahrt, Raumfahrt und Verkehr | ||||||||||||||||
HGF - Programm: | Raumfahrt | ||||||||||||||||
HGF - Programmthema: | Technik für Raumfahrtsysteme | ||||||||||||||||
DLR - Schwerpunkt: | Raumfahrt | ||||||||||||||||
DLR - Forschungsgebiet: | R SY - Technik für Raumfahrtsysteme | ||||||||||||||||
DLR - Teilgebiet (Projekt, Vorhaben): | R - Intelligente Analysen und Methoden zur sicheren Softwareentwicklung | ||||||||||||||||
Standort: | Jena | ||||||||||||||||
Institute & Einrichtungen: | Institut für Datenwissenschaften > Sichere Digitale Systeme | ||||||||||||||||
Hinterlegt von: | Heinze, Thomas | ||||||||||||||||
Hinterlegt am: | 27 Okt 2021 15:32 | ||||||||||||||||
Letzte Änderung: | 24 Apr 2024 20:44 |
Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags