Clone detection in student programs based on lexical analysis of source codes
Autor: | V E Ivanova, O N Polovikova |
---|---|
Rok vydání: | 2020 |
Předmět: | |
Zdroj: | Journal of Physics: Conference Series. 1615:012021 |
ISSN: | 1742-6596 1742-6588 |
DOI: | 10.1088/1742-6596/1615/1/012021 |
Popis: | This article presents the development of automatic clone detection for verification students programs - the Detector of Clones. The Levenshtein Distance is used for the initial assessment of the similarity of the two token sequences which is calculated by the Wagner-Fisher algorithm. Verification of two programs is carried out by the fingerprint method and by the winnowing method. To improve the results of plagiarism assessment, an additional calculation was added to the implementation of the winnowing method: the detector compares not only the labels themselves, but also the sequences near the matching labels. The detector of clones is formed for the cycle of disciplines Object Oriented Programming, Object Oriented Analysis and Design on the Moodle platform. These tools support C-like languages (C++ and C#). In general, the work of the detector undoubtedly made it possible to increase the consistency in verification of student programs. |
Databáze: | OpenAIRE |
Externí odkaz: |