Anticopypaster 2.0: Whitebox Just-In-Time Code Duplicates Extraction

ANTICOPYPASTER is an IntelliJ IDEA plugin, implemented to detect and refactor duplicate code interactively as soon as a duplicate is introduced. The plugin only recommends the extraction of a duplicate when it is worth it. In contrast to current Extract Method refactoring approaches, our tool seamle...

Full description

Saved in:
Bibliographic Details
Published in2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) pp. 84 - 88
Main Authors AlOmar, Eman Abdullah, Knobloch, Benjamin, Kain, Thomas, Kalish, Christopher, Mkaouer, Mohamed Wiem, Ouni, Ali
Format Conference Proceeding
LanguageEnglish
Published ACM 14.04.2024
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:ANTICOPYPASTER is an IntelliJ IDEA plugin, implemented to detect and refactor duplicate code interactively as soon as a duplicate is introduced. The plugin only recommends the extraction of a duplicate when it is worth it. In contrast to current Extract Method refactoring approaches, our tool seamlessly integrates with the developer's workflow and actively provides recommendations for refactorings. This work extends our tool to allow developers to customize the detection rules, i.e., metrics, based on their needs and preferences. The plugin and its source code are publicly available on GitHub at https://github.com/refactorings/anti-copy-paster. The demonstration video can be found on YouTube: https://youtu.be/Y1sbfpds2Ms.
ISSN:2574-1934
DOI:10.1145/3639478.3640035