The following document contains the results of PMD 5.2.1.

Files

org/nicepop/domain/App.java

Violation Line
Comment is too large: Too many lines 321
Avoid short class names like App 2738
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 2938
publicMethodCommentRequirement Required 3037
Consider using varargs for methods or constructors which take an array the last parameter. 30
Parameter 'args' is not assigned and could be declared final 30
System.out.println is used 32
A method should have only one exit point, and that should be the last statement in the method 35

org/nicepop/domain/Dinner.java

Violation Line
headerCommentRequirement Required 39
Parameter 'recipe' is not assigned and could be declared final 5
publicMethodCommentRequirement Required 57

org/nicepop/domain/Meal.java

Violation Line
Avoid short class names like Meal 318
headerCommentRequirement Required 318
fieldCommentRequirement Required 5
Parameter 'recipe' is not assigned and could be declared final 7
publicMethodCommentRequirement Required 79
publicMethodCommentRequirement Required 1113
Parameter 'recipe' is not assigned and could be declared final 15
publicMethodCommentRequirement Required 1517

org/nicepop/domain/Product.java

Violation Line
Comment is too large: Too many lines 321
headerCommentRequirement Required 2343
fieldCommentRequirement Required 27
Parameter 'name' is not assigned and could be declared final 29
publicMethodCommentRequirement Required 2933
Avoid empty block statements. 31
publicMethodCommentRequirement Required 3537
Parameter 'name' is not assigned and could be declared final 39
publicMethodCommentRequirement Required 3941

org/nicepop/domain/Recipe.java

Violation Line
Comment is too large: Too many lines 321
headerCommentRequirement Required 2653
fieldCommentRequirement Required 28
fieldCommentRequirement Required 29
publicMethodCommentRequirement Required 3135
Parameter 'version' is not assigned and could be declared final 31
Parameter 'products' is not assigned and could be declared final 31
publicMethodCommentRequirement Required 3739
protectedMethodCommentRequirement Required 4143
Parameter 'products' is not assigned and could be declared final 41
publicMethodCommentRequirement Required 4547
protectedMethodCommentRequirement Required 4951
Parameter 'version' is not assigned and could be declared final 49

Back to top

Reflow Maven skin by Andrius Velykis.