Abstract
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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.