Find Semantic Clones
find_semantic_clonesDetect duplicated logic across files and languages by comparing normalized code structure. Use before DRY refactors to identify identical algorithms for consolidation.
Instructions
Find duplicated logic across the codebase. Normalizes variable names and compares code structure to catch identical algorithms in different files — even across different languages. Use this before a DRY refactor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. | |
| min_complexity | No | Minimum logic expressions to count as a match (default: 5) |