Auto-Detection of Copied Code from StackOverflow
summary
Claims an automated pipeline that detects code copied from StackOverflow by scraping snippets into a local NoSQL DB and running method-wise comparisons with a custom detector. It uses StackOversight to scrape, CorpusCC for tokenizing and set-similarity detection (Java tokenizer initially, ANTLR for Python), and plans a Redis queue for scaling. An initial run reports ~6,000 raw matches against Spring Framework, which filter down to about a dozen relevant copies (uploader also reports 500+ high-severity clones).
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:48Outline
- 1:12What is Code Clone Detection Process of finding two pieces of code within an application that are duplicates of one another
- 1:41Why Should You Care?
- 5:02Types of Code Clones - Type 4
- 5:53Types of Code Clone Detection
- 8:20Overview of Stack Oversight
- 13:43Overview of Corpus-CC
- 15:00Overview of Persistence Database
- 15:43How does it detect clones - Every method of the target application is tokenized
- 16:24Results
- 17:37Future Work
- 18:23Acknowledgements
related talks
29mCopy-Paste Detector for 150+ Languages on JavaScript
37mMachine Learning on Source Code
26mDetecting and Mapping Code Defects Introduced by Generative AI Using CodeLogic & Neo4j
49mTreat Your Code as a Crime Scene
25mMachine Learning for source code analysis
55mExploring StackOverflow data
42mContemporary Automatic Program Analysis
23mStopping vulnerabilities at the source
