PMD
6.8#2 in code clone detection toolsFree planFree planLinuxmacOSSelf-hostedWindows
VisitNo prices published.
PMD suits developers and teams who want static checks across supported languages, custom rules, and duplicate-code detection. It can fit command-line, build-tool, and CI workflows, provided the required Java version is available.
You want what its maker publishes above — check its page for the details.