Skip to content

Used as a sample project to demonstrate PMD with maven

Notifications You must be signed in to change notification settings

JonMP/ToolsTest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

ToolsTest

Used as a sample project to demonstrate how PMD works.

Use 'mvn pmd:check' to execute PMD.

This will build successfully. If you want to make it fail, just add a private global variable to App.java. For example make it like this.

public class App {

private String name;

public static void main(String[] args) {
    System.out.println("Hello World!");
}

}

Now PMD will detect String name as a dead variable (Unused variable) and make the build fail.

About

Used as a sample project to demonstrate PMD with maven

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%