codechecker icon indicating copy to clipboard operation
codechecker copied to clipboard

Implement Code Duplication Analysis in CodeChecker

Open dkrupp opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. CodeChecker should be able to execute the anlaysis of well known open source code-duplicate detection tools such as:

  • https://github.com/platisd/duplicate-code-detection-tool
  • CCfinder
  • CloneDR See this overview study: https://par.nsf.gov/servlets/purl/10203750 Evaluate the tools based on the supported languages, clone detection efficiency, develepment/open source community activity.

Suggested Implementation Steps

  1. Investigate a potential Code Duplicate Detection tool to be supported
  2. Implement a Report Converter tool which converts the Duplicate detection anlaysis results to CodeChecker (plist) format. For inspiration see the other report converter tools: https://github.com/Ericsson/codechecker/tree/master/tools/report-converter
  3. Implement an analysis executor for the report converter tool such as: https://github.com/Ericsson/codechecker/tree/master/analyzer/codechecker_analyzer/analyzers

dkrupp avatar Feb 27 '23 10:02 dkrupp