Skip to content

duplication

Reports copied code across every language a configuration claims.

Check Stage Level What it does
duplication/jscpd push all Reports every block of code copied between files, naming both places.
Setting What it sets
duplication.min_lines The fewest lines a copied block has before it counts.
duplication.min_tokens The fewest tokens a copied block has before it counts.

Always selected.

Tool Version
jscpd 5.2.0

gspot writes .gspot/configurations/general/duplication/jscpd.json.