Fast, scalable and user-guided clone detection
Autor: | Jeffrey Svajlenko, Chanchai K. Roy |
---|---|
Rok vydání: | 2018 |
Předmět: |
Source code
Jaccard index Computer science media_common.quotation_subject Pipeline (computing) Search engine indexing ComputingMilieux_LEGALASPECTSOFCOMPUTING 020207 software engineering 02 engineering and technology computer.software_genre Software_SOFTWAREENGINEERING Clone (algebra) 020204 information systems Scalability Metric (mathematics) 0202 electrical engineering electronic engineering information engineering Data mining computer media_common |
Zdroj: | ICSE (Companion Volume) |
DOI: | 10.1145/3183440.3195005 |
Popis: | Despite the great number of clone detection approaches proposed in the literature, few have the scalability and speed to analyze large inter-project source datasets, where clone detection has many potential applications. Furthermore, because of the many uses of clone detection, an approach is needed that can adapt to the needs of the user to detect any kind of clone. We propose a clone detection approach designed for user-guided clone detection by exploiting the power of source transformation in a plugin based source processing pipeline. Clones are detected using a simple Jaccard-based clone similarity metric, and users customize the representation of their source code as sets of terms to target particular types or kinds of clones. Fast and scalable clone detection is achieved with indexing, sub-block filtering and input partitioning. |
Databáze: | OpenAIRE |
Externí odkaz: |