I'm using PMD currently as an external tool in conjunction with ace editor on an online java IDE i'm developing. However I can't get the CPD batch file to work, I've tried the command they provide on the website documentation as well as a few alternatives. Could someone please give me the required command if i want to search for duplicate code? here is my cpd directory and project source. C:\Users\Neema\Desktop\pmd-bin-5.2.2\bin C:\Users\Neema\workspace\Gillespie\src I know this is simple, but if anyone could help it would bee GREATLY appreciated. Thank you
1
There are 1 best solutions below
Related Questions in IDE
- Class disappears when switching from "Release" to "Debug"
- How can I transfer toolbar layouts between SSMS versions?
- GraalVM: Polyglot applications: Java classes in C++ IDE (including documentation, debug support etc.)
- What software can I use (if any) to embed URL links into a .mp4 file without paying for a subscription?
- How to fix lack of color contrast in VSCode selection tool?
- Spyder works, Anaconda cannot be opened
- Show all tabs and trailing spaces in Visual Studio 2022
- Using Azure DevOps Server 2022 (On-Premise) with Visual Studio Code for Java Project
- Git hooks in IntelliJ
- unable to integrate git in Intellij community version : Git is not installed Empty git --version output:
- I am getting this error using Eclipse : An error has occurred. See error log for more details. org/eclipse/egit/core/AdapterUtils
- After updating Visual Studio to v17.9.3 the IDE closes and dotnet.exe command reports Fatal error. Internal CLR error. (0x80131506)
- Are 'Two Normals' in VBA's project explorer a problem?
- No debugger via text IDE (Go32v2)
- "NoClassDefFoundError: org.bouncycastle.operator.OperatorCreationException when running Java code"
Related Questions in PMD
- Upgrading Application to Java 21 and Maven PMD Plugin Incompatibility
- Suppressed Warnings
- How to view PMD Errors?
- How do I create a custom PMD rule to check if a specific method is called?
- PMDException: Error while processing Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 65
- PMD result analysis to store into the CSV file
- Static Code Analysis using Java, JGit, PMD
- how to exclude ruleset in POM.XML?
- PMD java Scan report Github actions workflow
- How to use a Named Credential within an Auth. Provider Pluggin?
- mainPmdAuxClasspathCopy configuration has been deprecated for dependency declaration
- Sonarqube concern about PMD & Maven plugins
- Can I check file existence using PMD rules?
- Using XPath for PMD, is there a way to account for the value of a variable in a method call?
- Xpath expression not working to identify print statements in java code using eclipse-PMD
Related Questions in CPD
- JavaScript/TypeScript Code Duplication (JSCPD) Ignore Imports
- gradle cpd plugin cpdCheck warning in multi module gradle project how to avoid it
- What's CPD of the Sonarqube?
- PMD Failure: ILogin:73 Rule:ConstantsInInterface Priority:3 Avoid constants in interfaces
- How to discover repeating code lines with PMD
- How can I ignore Annotations when using Maven CPD?
- How to get PMD maven plugin to skip generated source code?
- Setup sonarQube with PMD CPD for scala project
- How to use phpcpd command to check one file with all others
- How can I exclude blocks in XML files using CPD?
- Usage of CPD(Copy Paste Detector)
- How to generate xml report using CPD (Copy Paste Detector)?
- Suppress warnings from CPD for C/C++ code
- intellij idea: terminal window: making a filepath/file clickable
- SonarQube CPD detection on custom plugin
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should be able to start cpd with this command line:
Note, that cpd is a command line tool - if you don't run it from a console (e.g.
cmd), then you won't see the output. You can try to redirect stdout into a file via this command line:The CPD documentation unfortunately doesn't describe to use the simple
cpd.batfile in the bin folder (like above)...