Результаты исследований: Публикации в книгах, отчётах, сборниках, трудах конференций › статья в сборнике материалов конференции › научная › Рецензирование
Clone detection plays an important role in software engineering. Finding clones within a single project introduces possible refactoring opportunities, and between different projects it could be used for detecting code reuse or possible licensing violations.In this paper, we propose a modification to bag-of-tokens based clone detection that allows detecting more clone pairs of greater diversity without losing precision by implementing a multi-threshold search, i.e. conducting the search several times, aimed at different groups of clones. To combat the increase in operation time that this approach brings about, we propose an optimization that allows to significantly decrease the overlap in detected clones between the searches.We evaluate the method for two different popular clone detection tools on two datasets of different sizes. The implementation of the technique allows to increase the number of detected clones by 40.5-56.6% for different datasets. BigCloneBench evaluation also shows that the recall of detecting Strongly Type-3 clones increases from 37.5% to 59.6%.
Язык оригинала | английский |
---|---|
Название основной публикации | Proceedings - 2021 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2021 |
Издатель | Institute of Electrical and Electronics Engineers Inc. |
Страницы | 496-500 |
Число страниц | 5 |
ISBN (электронное издание) | 9781728196305 |
DOI | |
Состояние | Опубликовано - мар 2021 |
Событие | 28th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2021 - Virtual, Honolulu, Соединенные Штаты Америки Продолжительность: 9 мар 2021 → 12 мар 2021 |
конференция | 28th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2021 |
---|---|
Страна/Tерритория | Соединенные Штаты Америки |
Город | Virtual, Honolulu |
Период | 9/03/21 → 12/03/21 |
ID: 78246110