Slopo: An embedding-based CLI tool for detecting non-exact code duplication across modules
By
rkochanowski
Summary
Slopo is a lightweight CLI tool that detects non-exact code duplication using embedding models. Unlike traditional tools that catch exact copy-paste, Slopo focuses on the hardest-to-detect duplicates: semantically similar code snippets that are written differently and located far apart in the codebase, often across different modules. It supports 8 programming languages including Python, TypeScript, JavaScript, Java, Kotlin, C#, Go, and Rust.
Source
Key quotes
· 3 pulledIt focuses on the similar code that is hardest to detect and most harmful: snippets written similarly, sitting far apart in the codebase, often spread across different modules or separated within a large file.
Exact copy-paste is easy to spot by other tools, and duplicates that are close together are easy to spot by humans or AI.
A lightweight CLI tool for detecting non-exact code duplication using embedding models.
You might also wanna read
GitProbe: Code Analysis Tool for Visualizing GitHub Repositories
GitProbe is an intelligent code analysis tool that allows developers to analyze and visualize GitHub repositories. The tool creates interact
Open-Slopware: A curated list of AI/LLM-tainted open-source software and AI-free alternatives
A curated list documenting open-source software projects that incorporate AI/LLM technologies, along with AI-free alternatives. The resource
Data Loss Prevention - Detect source code leaks with Data Loss Prevention
Study Analyzes Developer Concerns About Low-Quality AI-Generated Content in Software Development
This research paper presents a qualitative analysis of 1,154 posts from Reddit and Hacker News examining how software developers perceive an
OpenAnt: LLM-Powered Vulnerability Discovery Through Code Decomposition, Adversarial Verification, and Dynamic Testing
Sloggo: Open-Source Syslog Collector and Viewer Built on DuckDB
Sloggo is an open-source syslog collector and viewer built on DuckDB, designed as a lightweight container for small-scale projects. It provi

Comments
Sign in to join the conversation.
No comments yet. Be the first.