client/docs/CutAndPasteDetector.md
# Cut And Paste Detector
[jspcd](https://github.com/kucherenko/jscpd) is used for the copy and paste detection.
```
client $ npm run cpd
> jscpd -r console --format 'javascript,typescript' ./src
┌────────────┬────────────────┬─────────────┬──────────────┬──────────────────┬───────┐
│ Format │ Files analyzed │ Total lines │ Clones found │ Duplicated lines │ % │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────────┼───────┤
│ javascript │ 89 │ 4016 │ 5 │ 60 │ 1.49% │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────────┼───────┤
│ typescript │ 3 │ 31 │ 0 │ 0 │ 0% │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────────┼───────┤
│ Total: │ 92 │ 4047 │ 5 │ 60 │ 1.48% │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────────┴───────┘
```