jscpd
https://github.com/kucherenko/jscpd
TypeScript
Copy/paste detector for programming source code.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported1 Subscribers
Add a CodeTriage badge to jscpd
Help out
- Issues
- `--changed --semantic` compares every function with every other, so checking a few changed files takes as long as a full scan
- feat(semantic): --changed compares the changed files' functions only
- perf: keep only the counts of a scanned source
- Each path argument is walked as its own root with its own thread pool, so 3,000 file arguments take 5 s instead of 0.05 s
- fix(walk): take a file named on the command line without the walker
- perf(semantic): pair only the changed functions under --changed
- fix(detect): report a run repeated within one file without overlapping fragments
- `--similarity` pairs a fragment with a different partner from run to run, so `--baseline` cannot hold them
- `--har`: check the responses a web page downloads for duplicated code and data
- fix: treat a jj workspace as a repository, leave .jj out of the walk
- Docs
- TypeScript not yet supported