Copy/Paste Detector configuration

Copy/Paste Detector (jscpd) helps you find duplicated code within your project which is a common technical debt.

If you don't specify your custom configuration file we use our default below. We suggest to add your own configuration file into your repository root directory to be able to specify your coding and quality standards.


    "minLines": 5,
    "maxLines": 500,
    "maxSize": "30kb",
    "minTokens": 50,
    "ignore": [ ],
    "mode": "mild",
    "ignoreCase": false,
    "gitignore": false

If you want to ignore specific files, you have to specify the path within the .jscpd.json file and add it to the root of your project.


    "ignore": [

Currently, Codeac supports Copy/Paste detection for:

  • C#
  • Go
  • Java
  • JavaScript
  • Kotlin
  • Perl
  • Python
  • Ruby
  • TypeScript

If you're missing your favourite technology, just let us know at We may already have it in beta version.