PMD Results
The following document contains the results of PMD 7.0.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
us/codecraft/webmagic/samples/AngularJSProcessor.java
us/codecraft/webmagic/samples/pipeline/OneFilePipeline.java
us/codecraft/webmagic/samples/scheduler/DelayQueueScheduler.java
Priority 4
us/codecraft/webmagic/recover/MmapQueueScheduler.java
Rule |
Violation |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'MmapQueueScheduler': 'DATABASE_NAME' is already in scope because it is declared in an enclosing type |
44 |
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
us/codecraft/webmagic/recover/MmapQueueScheduler.java
Rule |
Violation |
Priority |
Line |
UnnecessaryFullyQualifiedName |
Unnecessary qualifier 'MmapQueueScheduler': 'DATABASE_NAME' is already in scope because it is declared in an enclosing type |
4 |
44 |
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
us/codecraft/webmagic/samples/scheduler/DelayQueueScheduler.java