Skip to content

[core] Refactor CPD integration #4323

@adangel

Description

@adangel

Notes originally from #3809:

  • reuse common infrastructure like text documents
  • CPD programmatic API - goal is to reuse the same abstractions as PMD like FileCollector. No compatibility story planned for master. Also see [core] Provide a CpdAnalysis class as a programmatic entry point into CPD #4204
  • Related to both items, maybe the cleanest approach would be to make CPD a PMD rule, and we could remove the programmatic API of CPD (keeping the CLI for convenience)

Metadata

Metadata

Assignees

Labels

in:cpdAffects the copy-paste detector

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions