Concepts
1 view
How jscpd reads code and what its numbers mean.
These pages explain the ideas behind the tool. The guides tell you which flag to use; these tell you why it works and where it stops.
- Types of code clones: exact, renamed, near-miss and semantic clones, and which of them jscpd finds.
- How detection works: tokenization per language, normalization and matching.
- The health score: how duplication, dead code and complexity fold into one 0-100 number.