Abstract
It is generally accepted in Software Engineering that code clones - often the result of copy-and-paste of existing code - result in poorer maintainability of software systems. Consequently, a variety of techniques have been devised to detect cloned code in software systems and alert developers of duplicated code. Most techniques operate at the source-code level and require some combination of pretty-printing, tokenization and abstraction in order to improve the comparison of code fragments over purely string-based techniques. Avoiding some of the issues of source-code based approaches, we are investigating the effectiveness of using various similarity measures on Bytecode to identify code clones in Java-based systems in this work. The results of our evaluation on selected Java systems indicate that instruction sequences can be used to effectively detect identical code clones. Especially, we achieved the best performance when using the normalized edit distance among applied similarity measures.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - 2022 29th Asia-Pacific Software Engineering Conference, APSEC 2022 |
| Editors | Eunjong Choi, DongGyun Han |
| Place of Publication | Piscataway NJ USA |
| Publisher | IEEE, Institute of Electrical and Electronics Engineers |
| Pages | 139-148 |
| Number of pages | 10 |
| ISBN (Electronic) | 9781665455374 |
| DOIs | |
| Publication status | Published - 2022 |
| Event | Asia-Pacific Software Engineering Conference 2022 - Online, Japan Duration: 6 Dec 2022 → 9 Dec 2022 Conference number: 29th https://ieeexplore.ieee.org/xpl/conhome/10043104/proceeding (Proceedings) https://conf.researchr.org/home/apsec-2022 (Website) |
Publication series
| Name | Proceedings - Asia-Pacific Software Engineering Conference, APSEC |
|---|---|
| Publisher | IEEE, Institute of Electrical and Electronics Engineers |
| Volume | 2022-December |
| ISSN (Print) | 1530-1362 |
| ISSN (Electronic) | 2640-0715 |
Conference
| Conference | Asia-Pacific Software Engineering Conference 2022 |
|---|---|
| Abbreviated title | APSEC 2022 |
| Country/Territory | Japan |
| Period | 6/12/22 → 9/12/22 |
| Internet address |
Keywords
- Bytecode
- code clone
- Java
- sequence alignment
- similarity distance
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver