Developer J. Gauffin has created a new tool called dry-mcp, designed to identify and rank duplicated code based on its semantic meaning rather than just token similarity. Unlike traditional tools like SonarQube that focus on exact token matches and can miss renamed code, dry-mcp uses embeddings from the jina-embeddings-v2-base-code model to detect code blocks that perform similar functions, even across different languages. The tool prioritizes fixes by ranking duplication based on the cost of maintenance, demoting common language idioms and small, frequent repetitions. AI
IMPACT Offers developers a more intelligent way to manage code duplication, potentially improving maintainability and reducing bugs.
RANK_REASON New software tool release for code analysis.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →