PMD Results

The following document contains the results of PMD 6.29.0.

Violations By Priority

Priority 3

us/codecraft/webmagic/model/samples/Blog.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTitle': the method is declared in an interface type 10
UnnecessaryModifier Unnecessary modifier 'public' on method 'getContent': the method is declared in an interface type 12

us/codecraft/webmagic/model/samples/JokejiModel.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'title'. 19
UnusedPrivateField Avoid unused private fields such as 'content'. 22
AvoidUsingHardCodedIP Do not hard code the IP address 28

us/codecraft/webmagic/model/samples/OschinaAnswer.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'user'. 19
UnusedPrivateField Avoid unused private fields such as 'content'. 22

us/codecraft/webmagic/model/samples/QQMeishi.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'shopName'. 17
UnusedPrivateField Avoid unused private fields such as 'promo'. 20

us/codecraft/webmagic/samples/AngularJSProcessor.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'ARITICALE_URL'. 20

us/codecraft/webmagic/samples/pipeline/OneFilePipeline.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'logger'. 18

Files

us/codecraft/webmagic/model/samples/Blog.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getTitle': the method is declared in an interface type 3 10
UnnecessaryModifier Unnecessary modifier 'public' on method 'getContent': the method is declared in an interface type 3 12

us/codecraft/webmagic/model/samples/JokejiModel.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'title'. 3 19
UnusedPrivateField Avoid unused private fields such as 'content'. 3 22
AvoidUsingHardCodedIP Do not hard code the IP address 3 28

us/codecraft/webmagic/model/samples/OschinaAnswer.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'user'. 3 19
UnusedPrivateField Avoid unused private fields such as 'content'. 3 22

us/codecraft/webmagic/model/samples/QQMeishi.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'shopName'. 3 17
UnusedPrivateField Avoid unused private fields such as 'promo'. 3 20

us/codecraft/webmagic/samples/AngularJSProcessor.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'ARITICALE_URL'. 3 20

us/codecraft/webmagic/samples/pipeline/OneFilePipeline.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'logger'. 3 18