microsoft / sarif-sdk

.NET code and supporting files for working with the 'Static Analysis Results Interchange Format' (SARIF, see https://github.com/oasis-tcs/sarif-spec)
Other
192 stars 90 forks source link

CPD conversion support #2693

Open dragosv opened 1 year ago

dragosv commented 1 year ago

Copy paste detection tools like https://github.com/kucherenko/jscpd and https://github.com/pmd/pmd (the cpd command) do not support sarif as an report format.

The format is described in here https://docs.pmd-code.org/latest/pmd_userdocs_cpd_report_formats.html and the schema is https://github.com/pmd/pmd/blob/master/pmd-core/src/main/resources/report_2_0_0.xsd

Add CPD as one of the tools supported by the convert tool