Detecting Similarity of Program Code Using an Aggregated Approach to the Problem of Plagiarism Detection

D. I. Solomatin, M. E. Novotochinov, E. N. Desyatirikova
{"title":"Detecting Similarity of Program Code Using an Aggregated Approach to the Problem of Plagiarism Detection","authors":"D. I. Solomatin, M. E. Novotochinov, E. N. Desyatirikova","doi":"10.17587/prin.15.97-104","DOIUrl":null,"url":null,"abstract":"In this work, the primary strategies employed for code plagiarism were explored, alongside an analysis of prevalent methods for detecting copied content. Based on the results of the analysis of various approaches, as well as the analysis of the subject area itself and on the basis of the formulated requirements, a new System for automatically checking software similarity for plagiarism was successfully designed, implemented and tested. When developing the System, an aggregated approach was used, which made it possible to use several basic similarity detection algorithms. Namely, the Greedy Row Tiling algorithm and the Sifting algorithm. Since the System is designed for programmers, in particular, for teachers, and also with the possibility of local launch, it is proposed to perform user interaction with the System in the form of a command line interface. The System is implemented in Python, which ensures that the suggested System is platform independent. Regular expressions are used to implement preprocessing and exclusion functions, and the libclang library is used for С++ code parsing and tokenization functions. Promising applications for the developed System include education and programming competitions. So universities and colleges can use the System to check code written by students to detect plagiarism. And in competitive environments such as hackathons or programming competitions, the System can be used to ensure fairness and prevent plagiarism among participants.","PeriodicalId":513113,"journal":{"name":"Programmnaya Ingeneria","volume":"3 12","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Programmnaya Ingeneria","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17587/prin.15.97-104","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this work, the primary strategies employed for code plagiarism were explored, alongside an analysis of prevalent methods for detecting copied content. Based on the results of the analysis of various approaches, as well as the analysis of the subject area itself and on the basis of the formulated requirements, a new System for automatically checking software similarity for plagiarism was successfully designed, implemented and tested. When developing the System, an aggregated approach was used, which made it possible to use several basic similarity detection algorithms. Namely, the Greedy Row Tiling algorithm and the Sifting algorithm. Since the System is designed for programmers, in particular, for teachers, and also with the possibility of local launch, it is proposed to perform user interaction with the System in the form of a command line interface. The System is implemented in Python, which ensures that the suggested System is platform independent. Regular expressions are used to implement preprocessing and exclusion functions, and the libclang library is used for С++ code parsing and tokenization functions. Promising applications for the developed System include education and programming competitions. So universities and colleges can use the System to check code written by students to detect plagiarism. And in competitive environments such as hackathons or programming competitions, the System can be used to ensure fairness and prevent plagiarism among participants.
使用聚合法检测程序代码的相似性,解决剽窃检测问题
在这项工作中,除了对检测抄袭内容的流行方法进行分析外,还探讨了针对代码抄袭所采用的主要策略。基于对各种方法的分析结果,以及对主题领域本身的分析,并根据制定的要求,成功地设计、实施和测试了一个自动检查软件相似性是否抄袭的新系统。在开发该系统时,采用了一种综合方法,从而可以使用几种基本的相似性检测算法。即 "贪婪行平铺算法 "和 "筛选算法"。由于该系统是为程序员,特别是教师设计的,而且还可以在本地启动,因此建议以命令行界面的形式与该系统进行用户交互。该系统用 Python 实现,这确保了所建议的系统与平台无关。正则表达式用于实现预处理和排除功能,libclang 库用于实现 С++ 代码解析和标记化功能。所开发系统的应用前景包括教育和编程竞赛。因此,大学和学院可以使用该系统检查学生编写的代码,以发现抄袭行为。在黑客马拉松或编程竞赛等竞争环境中,该系统可用于确保公平性,防止参赛者之间的抄袭行为。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信