Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeDate_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4858
ClassNamingConventions The utility class name 'AbstractAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 4858
FieldNamingConventions The static field name 'owner' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The static field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' 56

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeNum_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4757
ClassNamingConventions The utility class name 'AbstractAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 4757
FieldNamingConventions The static field name 'owner' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The static field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttribute_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4555
ClassNamingConventions The utility class name 'AbstractAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 4555
FieldNamingConventions The static field name 'owner' doesn't match '_[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The static field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The static field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' 53

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeDate_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447
ClassNamingConventions The class name 'CategoryAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeNum_.java

Rule Violation Ligne
ClassNamingConventions The class name 'CategoryAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttribute_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447
ClassNamingConventions The class name 'CategoryAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeDate_.java

Rule Violation Ligne
ClassNamingConventions The class name 'OfferAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeNum_.java

Rule Violation Ligne
ClassNamingConventions The class name 'OfferAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttribute_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4346
ClassNamingConventions The class name 'OfferAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 4346

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeDate_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447
ClassNamingConventions The class name 'OfferGenreAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeNum_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447
ClassNamingConventions The class name 'OfferGenreAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttribute_.java

Rule Violation Ligne
ClassNamingConventions The class name 'OfferGenreAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 4447
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4447

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeDate_.java

Rule Violation Ligne
ClassNamingConventions The class name 'ProductAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeNum_.java

Rule Violation Ligne
ClassNamingConventions The class name 'ProductAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttribute_.java

Rule Violation Ligne
ClassNamingConventions The class name 'ProductAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeDate_.java

Rule Violation Ligne
ClassNamingConventions The class name 'ProviderAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeNum_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942
ClassNamingConventions The class name 'ProviderAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttribute_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942
ClassNamingConventions The class name 'ProviderAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeDate_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942
ClassNamingConventions The class name 'PurchaseAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeNum_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942
ClassNamingConventions The class name 'PurchaseAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttribute_.java

Rule Violation Ligne
ClassNamingConventions The class name 'PurchaseAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 3942

fr/paris/lutece/plugins/stock/business/category/Category_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4863
ClassNamingConventions The utility class name 'Category_' doesn't match '[A-Z][a-zA-Z0-9]*' 4863
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The static field name 'hashCode' doesn't match '_[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The static field name 'parent' doesn't match '_[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The static field name 'provider' doesn't match '_[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The static field name 'childrenList' doesn't match '_[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 60
FieldNamingConventions The static field name 'productSet' doesn't match '_[a-z][a-zA-Z0-9]*' 61

fr/paris/lutece/plugins/stock/business/offer/OfferGenre_.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'OfferGenre_' doesn't match '[A-Z][a-zA-Z0-9]*' 4454
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4454
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 47
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'offersList' doesn't match '_[a-z][a-zA-Z0-9]*' 52

fr/paris/lutece/plugins/stock/business/offer/Offer_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4662
ClassNamingConventions The utility class name 'Offer_' doesn't match '[A-Z][a-zA-Z0-9]*' 4662
FieldNamingConventions The static field name 'product' doesn't match '_[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'statut' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The static field name 'quantity' doesn't match '_[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The static field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The static field name 'minTickets' doesn't match '_[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The static field name 'maxTickets' doesn't match '_[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/stock/business/product/Product_.java

Rule Violation Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4760
ClassNamingConventions The utility class name 'Product_' doesn't match '[A-Z][a-zA-Z0-9]*' 4760
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'category' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The static field name 'price' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The static field name 'provider' doesn't match '_[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 58

fr/paris/lutece/plugins/stock/business/provider/Provider.java

Rule Violation Ligne
ConstructorCallsOverridableMethod Overridable method 'setId' called during object construction 111

fr/paris/lutece/plugins/stock/business/provider/Provider_.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Provider_' doesn't match '[A-Z][a-zA-Z0-9]*' 4762
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4762
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The static field name 'mail' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'phoneNumber' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'address' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The static field name 'contactName' doesn't match '_[a-z][a-zA-Z0-9]*' 56
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The static field name 'comment' doesn't match '_[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The static field name 'products' doesn't match '_[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/stock/business/purchase/Purchase_.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Purchase_' doesn't match '[A-Z][a-zA-Z0-9]*' 4657
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 4657
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The static field name 'userName' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The static field name 'quantity' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The static field name 'offer' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/stock/business/purchase/exception/PurchaseException.java

Rule Violation Ligne
FieldNamingConventions The final field name '_purchaseId' doesn't match '[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/plugins/stock/business/purchase/exception/PurchaseOutOfStock.java

Rule Violation Ligne
ConstructorCallsOverridableMethod Overridable method 'setQuantityRequested' called during object construction 79
ConstructorCallsOverridableMethod Overridable method 'setQuantityAvailable' called during object construction 80

fr/paris/lutece/plugins/stock/service/PurchaseSessionManager.java

Rule Violation Ligne
FieldNamingConventions The final field name '_format' doesn't match '[a-z][a-zA-Z0-9]*' 67

fr/paris/lutece/plugins/stock/utils/constants/StockConstants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'StockConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3975

Priority 2

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeDate_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 56

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeNum_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 55

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttribute_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 48
AvoidUsingVolatile Use of modifier volatile is not recommended. 49
AvoidUsingVolatile Use of modifier volatile is not recommended. 53

fr/paris/lutece/plugins/stock/business/category/Category_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 59
AvoidUsingVolatile Use of modifier volatile is not recommended. 60
AvoidUsingVolatile Use of modifier volatile is not recommended. 61

fr/paris/lutece/plugins/stock/business/offer/OfferGenre_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 47
AvoidUsingVolatile Use of modifier volatile is not recommended. 48
AvoidUsingVolatile Use of modifier volatile is not recommended. 49
AvoidUsingVolatile Use of modifier volatile is not recommended. 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52

fr/paris/lutece/plugins/stock/business/offer/Offer_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 49
AvoidUsingVolatile Use of modifier volatile is not recommended. 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 59
AvoidUsingVolatile Use of modifier volatile is not recommended. 60

fr/paris/lutece/plugins/stock/business/product/Product_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 58

fr/paris/lutece/plugins/stock/business/provider/Provider_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 59
AvoidUsingVolatile Use of modifier volatile is not recommended. 60

fr/paris/lutece/plugins/stock/business/purchase/Purchase_.java

Rule Violation Ligne
AvoidUsingVolatile Use of modifier volatile is not recommended. 49
AvoidUsingVolatile Use of modifier volatile is not recommended. 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 55

fr/paris/lutece/plugins/stock/service/PurchaseSessionManager.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 289290

Priority 3

fr/paris/lutece/plugins/stock/business/BeanFilter.java

Rule Violation Ligne
CommentRequired Header comments are required 3869

fr/paris/lutece/plugins/stock/business/StockEntityBean.java

Rule Violation Ligne
RedundantFieldInitializer Avoid using redundant field initializer for '_attributeMap' 62
RedundantFieldInitializer Avoid using redundant field initializer for '_attributeDateMap' 65
RedundantFieldInitializer Avoid using redundant field initializer for '_attributeNumMap' 68

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttribute.java

Rule Violation Ligne
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 6467

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeDate.java

Rule Violation Ligne
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 6063

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeDate_.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4858

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 54
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 6467

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeNum_.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4757

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttribute_.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4555

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttribute.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
CallSuperInConstructor It is a good practice to call super() in a constructor 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9497

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeDate.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 7782
MissingOverride The method 'getOwner()' is missing an @Override annotation. 98101

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeId.java

Rule Violation Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 74116

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 7378
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 91
MissingOverride The method 'getOwner()' is missing an @Override annotation. 99102

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttribute.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
CallSuperInConstructor It is a good practice to call super() in a constructor 7681
MissingOverride The method 'getOwner()' is missing an @Override annotation. 97100

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeDate.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 7479
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9598

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeId.java

Rule Violation Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 74114

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9699

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttribute.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
CallSuperInConstructor It is a good practice to call super() in a constructor 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9497

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeDate.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 7479
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9598

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeId.java

Rule Violation Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 75119

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9699

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttribute.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
CallSuperInConstructor It is a good practice to call super() in a constructor 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9497

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeDate.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 7581
MissingOverride The method 'getOwner()' is missing an @Override annotation. 97100

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeDate_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeId.java

Rule Violation Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 75119

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9699

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeNum_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttribute_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttribute.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
CallSuperInConstructor It is a good practice to call super() in a constructor 7277
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9396

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeDate.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 7580
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9699

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeDate_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeId.java

Rule Violation Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 75119

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9699

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeNum_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttribute_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttribute.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 55
CallSuperInConstructor It is a good practice to call super() in a constructor 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9497

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeDate.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _owner field if you want a default access modifier 62
DefaultPackage Use explicit scoping instead of the default package private level 62
CallSuperInConstructor It is a good practice to call super() in a constructor 7580
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9699

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeDate_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeId.java

Rule Violation Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 74118

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeNum.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 57
CallSuperInConstructor It is a good practice to call super() in a constructor 8287
MissingOverride The method 'getOwner()' is missing an @Override annotation. 9598

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeNum_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttribute_.java

Rule Violation Ligne
CommentRequired Header comments are required 3942

fr/paris/lutece/plugins/stock/business/category/Category.java

Rule Violation Ligne
DataClass The class 'Category' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=7, WMC=12) 68369
CallSuperInConstructor It is a good practice to call super() in a constructor 128136
MissingOverride The method 'getId()' is missing an @Override annotation. 147150
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 158161
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 306309
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 330333
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 354357

fr/paris/lutece/plugins/stock/business/category/CategoryDAO.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 61412
MissingOverride The method 'selectAllFirstLevelWithChildrenWithProduct()' is missing an @Override annotation. 7895
ShortVariable Avoid variables with short names like em 80
ShortVariable Avoid variables with short names like cb 81
ShortVariable Avoid variables with short names like cq 83
MissingOverride The method 'selectAllChildrenWithChildrenWithProduct(Integer)' is missing an @Override annotation. 101118
ShortVariable Avoid variables with short names like em 103
ShortVariable Avoid variables with short names like cb 104
ShortVariable Avoid variables with short names like cq 106
MissingOverride The method 'findByIdWithChildren(Integer)' is missing an @Override annotation. 124147
ShortVariable Avoid variables with short names like em 126
ShortVariable Avoid variables with short names like cb 127
ShortVariable Avoid variables with short names like cq 129
MissingOverride The method 'findByIdWithProduct(Integer)' is missing an @Override annotation. 153176
ShortVariable Avoid variables with short names like em 155
ShortVariable Avoid variables with short names like cb 156
ShortVariable Avoid variables with short names like cq 158
MissingOverride The method 'findByIdWithParent(Integer)' is missing an @Override annotation. 182195
MissingOverride The method 'findByFilter(CategoryFilter, PaginationProperties)' is missing an @Override annotation. 200213
ShortVariable Avoid variables with short names like em 202
ShortVariable Avoid variables with short names like cb 203
ShortVariable Avoid variables with short names like cq 205
MissingOverride The method 'findByFilterWithChildren(CategoryFilter)' is missing an @Override annotation. 222240
ShortVariable Avoid variables with short names like em 224
ShortVariable Avoid variables with short names like cb 225
ShortVariable Avoid variables with short names like cq 227
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 289
MissingOverride The method 'findByFilter(CategoryFilter)' is missing an @Override annotation. 339355
ShortVariable Avoid variables with short names like em 341
ShortVariable Avoid variables with short names like cb 342
ShortVariable Avoid variables with short names like cq 344
MissingOverride The method 'getAllByName(String)' is missing an @Override annotation. 360386
ShortVariable Avoid variables with short names like em 362
ShortVariable Avoid variables with short names like cb 363
ShortVariable Avoid variables with short names like cq 365
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 379
MissingOverride The method 'findAll(List)' is missing an @Override annotation. 395411
ShortVariable Avoid variables with short names like em 397
ShortVariable Avoid variables with short names like cb 398
ShortVariable Avoid variables with short names like cq 400

fr/paris/lutece/plugins/stock/business/category/CategoryFilter.java

Rule Violation Ligne
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 8487
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 9598
MissingOverride The method 'getOrders()' is missing an @Override annotation. 105108
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 116119

fr/paris/lutece/plugins/stock/business/category/Category_.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4863
CommentRequired Header comments are required 4863
ShortVariable Avoid variables with short names like id 51

fr/paris/lutece/plugins/stock/business/district/DistrictDAO.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like id 50

fr/paris/lutece/plugins/stock/business/district/IDistrictDAO.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like id 48

fr/paris/lutece/plugins/stock/business/offer/Offer.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 134136
UncommentedEmptyConstructor Document empty constructor 134136
UnusedFormalParameter Avoid unused constructor parameters such as 'category'. 134
MissingOverride The method 'getId()' is missing an @Override annotation. 147150
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 158161
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 327330
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 351354
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 375378

fr/paris/lutece/plugins/stock/business/offer/OfferDAO.java

Rule Violation Ligne
MissingOverride The method 'findByFilter(OfferFilter, PaginationProperties)' is missing an @Override annotation. 89102
ShortVariable Avoid variables with short names like em 91
ShortVariable Avoid variables with short names like cb 92
ShortVariable Avoid variables with short names like cq 94
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 146
PositionLiteralsFirstInComparisons Position literals first in String comparisons 178
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 180 180
PositionLiteralsFirstInComparisons Position literals first in String comparisons 183
PositionLiteralsFirstInComparisons Position literals first in String comparisons 198
PositionLiteralsFirstInComparisons Position literals first in String comparisons 203
MissingOverride The method 'findByProduct(Integer, OfferFilter)' is missing an @Override annotation. 225242
ShortVariable Avoid variables with short names like em 228
ShortVariable Avoid variables with short names like cb 229
ShortVariable Avoid variables with short names like cq 231
MissingOverride The method 'getQuantity(Integer)' is missing an @Override annotation. 252258
ShortVariable Avoid variables with short names like em 254

fr/paris/lutece/plugins/stock/business/offer/OfferFilter.java

Rule Violation Ligne
DataClass The class 'OfferFilter' is suspected to be a Data Class (WOC=12.500%, NOPA=0, NOAM=14, WMC=16) 44268

fr/paris/lutece/plugins/stock/business/offer/OfferGenre.java

Rule Violation Ligne
MissingOverride The method 'getId()' is missing an @Override annotation. 111114
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 122125
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 160163
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 187190
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 214217

fr/paris/lutece/plugins/stock/business/offer/OfferGenreDAO.java

Rule Violation Ligne
MissingOverride The method 'findWithOffersLinked(int)' is missing an @Override annotation. 6682
ShortVariable Avoid variables with short names like em 68
ShortVariable Avoid variables with short names like cb 69
ShortVariable Avoid variables with short names like cq 71
MissingOverride The method 'findAllReferenceList()' is missing an @Override annotation. 87101
MissingOverride The method 'findByName(String)' is missing an @Override annotation. 106122
ShortVariable Avoid variables with short names like em 108
ShortVariable Avoid variables with short names like cb 109
ShortVariable Avoid variables with short names like cq 111

fr/paris/lutece/plugins/stock/business/offer/OfferGenre_.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4454
CommentRequired Header comments are required 4454
ShortVariable Avoid variables with short names like id 47

fr/paris/lutece/plugins/stock/business/offer/Offer_.java

Rule Violation Ligne
CommentRequired Header comments are required 4662
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4662
ShortVariable Avoid variables with short names like id 50

fr/paris/lutece/plugins/stock/business/product/IProductDAO.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 113

fr/paris/lutece/plugins/stock/business/product/Product.java

Rule Violation Ligne
DataClass The class 'Product' is suspected to be a Data Class (WOC=27.273%, NOPA=0, NOAM=6, WMC=11) 68346
CallSuperInConstructor It is a good practice to call super() in a constructor 128135
MissingOverride The method 'getId()' is missing an @Override annotation. 146149
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 157160
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 282285
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 306309
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 330333

fr/paris/lutece/plugins/stock/business/product/ProductDAO.java

Rule Violation Ligne
MissingOverride The method 'findByFilter(ProductFilter)' is missing an @Override annotation. 95111
ShortVariable Avoid variables with short names like em 97
ShortVariable Avoid variables with short names like cb 98
ShortVariable Avoid variables with short names like cq 100
MissingOverride The method 'findByFilter(ProductFilter, PaginationProperties)' is missing an @Override annotation. 122135
ShortVariable Avoid variables with short names like em 124
ShortVariable Avoid variables with short names like cb 125
ShortVariable Avoid variables with short names like cq 127
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 196
MissingOverride The method 'getAllByName(String)' is missing an @Override annotation. 247273
ShortVariable Avoid variables with short names like em 249
ShortVariable Avoid variables with short names like cb 250
ShortVariable Avoid variables with short names like cq 252
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 266
MissingOverride The method 'getCountProductALAfficheByDate(String)' is missing an @Override annotation. 278308
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 508 characters appended. 281
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 283
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 283
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 284
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 7 consecutive times with literals. Use a single append with a single combined String. 285
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 285
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 286
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 287
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 288
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 289
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 290
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 291
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 291
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 292
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 298
MissingOverride The method 'getCountProductAVenirByDate(String)' is missing an @Override annotation. 313336
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 229 characters appended. 316
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 318
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 318
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 319
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 320
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 320
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 326
MissingOverride The method 'isFull(Integer)' is missing an @Override annotation. 346362
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 382 characters appended. 349
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 351
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 351
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 352
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 352
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 353
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 353
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 354
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 355
MissingOverride The method 'isType(Integer, Integer)' is missing an @Override annotation. 371379
ShortVariable Avoid variables with short names like em 373
CommentRequired Public method and constructor comments are required 381392
MissingOverride The method 'isTypeOffer(Integer, Integer, String, Timestamp, String)' is missing an @Override annotation. 381392
ShortVariable Avoid variables with short names like em 383
MissingOverride The method 'getProductsIdsForTaskTimed(String, Timestamp, Timestamp)' is missing an @Override annotation. 405414
ShortVariable Avoid variables with short names like em 407

fr/paris/lutece/plugins/stock/business/product/ProductFilter.java

Rule Violation Ligne
DataClass The class 'ProductFilter' is suspected to be a Data Class (WOC=23.810%, NOPA=0, NOAM=16, WMC=21) 46262
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 127130
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 138141
MissingOverride The method 'getOrders()' is missing an @Override annotation. 148151
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 159162

fr/paris/lutece/plugins/stock/business/product/ProductImageDAO.java

Rule Violation Ligne
MissingOverride The method 'getImage(Integer)' is missing an @Override annotation. 9297
MissingOverride The method 'getTbImage(Integer)' is missing an @Override annotation. 102107
MissingOverride The method 'remove(Integer)' is missing an @Override annotation. 120125

fr/paris/lutece/plugins/stock/business/product/Product_.java

Rule Violation Ligne
CommentRequired Header comments are required 4760
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4760
ShortVariable Avoid variables with short names like id 50

fr/paris/lutece/plugins/stock/business/provider/Provider.java

Rule Violation Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 9398
CallSuperInConstructor It is a good practice to call super() in a constructor 106112
MissingOverride The method 'getId()' is missing an @Override annotation. 141144
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 152155
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 317320
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 335338
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 359362

fr/paris/lutece/plugins/stock/business/provider/ProviderDAO.java

Rule Violation Ligne
MissingOverride The method 'findAllWithProducts(PaginationProperties)' is missing an @Override annotation. 7791
ShortVariable Avoid variables with short names like em 79
ShortVariable Avoid variables with short names like cb 80
ShortVariable Avoid variables with short names like cq 82
MissingOverride The method 'findByIdWithProducts(int)' is missing an @Override annotation. 100115
ShortVariable Avoid variables with short names like em 102
ShortVariable Avoid variables with short names like cb 103
ShortVariable Avoid variables with short names like cq 105
MissingOverride The method 'findByFilter(ProviderFilter, PaginationProperties)' is missing an @Override annotation. 126139
ShortVariable Avoid variables with short names like em 128
ShortVariable Avoid variables with short names like cb 129
ShortVariable Avoid variables with short names like cq 131
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 191

fr/paris/lutece/plugins/stock/business/provider/ProviderFilter.java

Rule Violation Ligne
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 191194
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 202205
MissingOverride The method 'getOrders()' is missing an @Override annotation. 212215
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 223226

fr/paris/lutece/plugins/stock/business/provider/Provider_.java

Rule Violation Ligne
CommentRequired Header comments are required 4762
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4762
ShortVariable Avoid variables with short names like id 50

fr/paris/lutece/plugins/stock/business/purchase/IPurchaseDAO.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like id 68

fr/paris/lutece/plugins/stock/business/purchase/Purchase.java

Rule Violation Ligne
MissingOverride The method 'getId()' is missing an @Override annotation. 109112
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 120123
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 200203
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 224227
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 248251

fr/paris/lutece/plugins/stock/business/purchase/PurchaseDAO.java

Rule Violation Ligne
MissingOverride The method 'findByFilter(PurchaseFilter, PaginationProperties)' is missing an @Override annotation. 92105
ShortVariable Avoid variables with short names like em 94
ShortVariable Avoid variables with short names like cb 95
ShortVariable Avoid variables with short names like cq 97
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 151
PositionLiteralsFirstInComparisons Position literals first in String comparisons 184
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 186 186
PositionLiteralsFirstInComparisons Position literals first in String comparisons 189
PositionLiteralsFirstInComparisons Position literals first in String comparisons 204
PositionLiteralsFirstInComparisons Position literals first in String comparisons 209
MissingOverride The method 'getQuantityPurchasedByIdProductAndUserName(Integer, Integer, String)' is missing an @Override annotation. 226249
ShortVariable Avoid variables with short names like em 228
ShortVariable Avoid variables with short names like cb 229
ShortVariable Avoid variables with short names like cq 231
MissingOverride The method 'getCountPurchaseByBeginDateAndLastDate(String, String)' is missing an @Override annotation. 259283
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 277 characters appended. 262
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 264
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 264
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 265
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 266
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 266
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 267
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 267
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 273

fr/paris/lutece/plugins/stock/business/purchase/PurchaseFilter.java

Rule Violation Ligne
DataClass The class 'PurchaseFilter' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=20, WMC=24) 45327
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 155158
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 166169
MissingOverride The method 'getOrders()' is missing an @Override annotation. 176179
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 187190

fr/paris/lutece/plugins/stock/business/purchase/Purchase_.java

Rule Violation Ligne
CommentRequired Header comments are required 4657
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4657
ShortVariable Avoid variables with short names like id 49

fr/paris/lutece/plugins/stock/business/purchase/exception/PurchaseOutOfStock.java

Rule Violation Ligne
DataClass The class 'PurchaseOutOfStock' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=6) 39124

fr/paris/lutece/plugins/stock/service/DistrictService.java

Rule Violation Ligne
CommentRequired Header comments are required 4254
ShortVariable Avoid variables with short names like id 49

fr/paris/lutece/plugins/stock/service/IDistrictService.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like id 51

fr/paris/lutece/plugins/stock/service/IProductService.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 78

fr/paris/lutece/plugins/stock/service/OfferService.java

Rule Violation Ligne
MissingOverride The method 'findByProduct(Integer)' is missing an @Override annotation. 6568
MissingOverride The method 'getQuantity(Integer)' is missing an @Override annotation. 7881
MissingOverride The method 'findById(Integer)' is missing an @Override annotation. 9194

fr/paris/lutece/plugins/stock/service/ProductService.java

Rule Violation Ligne
MissingOverride The method 'getAllProduct()' is missing an @Override annotation. 6366
MissingOverride The method 'isFull(Integer)' is missing an @Override annotation. 7578
MissingOverride The method 'isType(Integer, Integer)' is missing an @Override annotation. 8790
MissingOverride The method 'isTypeOffer(Integer, Integer, String, Timestamp, String)' is missing an @Override annotation. 9295
CommentRequired Public method and constructor comments are required 9295
MissingOverride The method 'findByFilter(ProductFilter)' is missing an @Override annotation. 104107
MissingOverride The method 'getProductsIdsForTaskTimed(String, Timestamp, Timestamp)' is missing an @Override annotation. 120123

fr/paris/lutece/plugins/stock/service/PurchaseRules.java

Rule Violation Ligne
MissingOverride The method 'checkBeforePurchase(IPurchaseDTO, String)' is missing an @Override annotation. 7288

fr/paris/lutece/plugins/stock/service/PurchaseSessionManager.java

Rule Violation Ligne
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 67
ImmutableField Private field '_idleQuantity' could be made final; it is only initialized in the declaration or constructor. 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 81
ImmutableField Private field '_activePurchaseBySession' could be made final; it is only initialized in the declaration or constructor. 81
MissingOverride The method 'reserve(String, IPurchaseDTO)' is missing an @Override annotation. 91121
MissingOverride The method 'checkReserved(String, IPurchaseDTO)' is missing an @Override annotation. 131153
MissingOverride The method 'release(String, IPurchaseDTO)' is missing an @Override annotation. 163183
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 163183
MissingOverride The method 'releaseAll(String)' is missing an @Override annotation. 193210
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 193210

fr/paris/lutece/plugins/stock/service/StockResourceIdService.java

Rule Violation Ligne
MissingOverride The method 'register()' is missing an @Override annotation. 79118
ShortVariable Avoid variables with short names like rt 81
ShortVariable Avoid variables with short names like p 86
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 127130
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 141144

fr/paris/lutece/plugins/stock/utils/StockUtils.java

Rule Violation Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 127143
ConfusingTernary Avoid if (x != y) ..; else ..; 131138
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 133
ConfusingTernary Avoid if (x != y) ..; else ..; 157164

fr/paris/lutece/plugins/stock/web/StockSessionListener.java

Rule Violation Ligne
MissingOverride The method 'sessionDestroyed(HttpSessionEvent)' is missing an @Override annotation. 5767
ShortVariable Avoid variables with short names like se 57
MissingOverride The method 'sessionCreated(HttpSessionEvent)' is missing an @Override annotation. 7578
ShortVariable Avoid variables with short names like se 75

Priority 4

fr/paris/lutece/plugins/stock/business/category/CategoryFilter.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'org.apache.commons.lang3.BooleanUtils' 39

Fichiers

fr/paris/lutece/plugins/stock/business/BeanFilter.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3869

fr/paris/lutece/plugins/stock/business/StockEntityBean.java

Rule Violation Priority Ligne
RedundantFieldInitializer Avoid using redundant field initializer for '_attributeMap' 3 62
RedundantFieldInitializer Avoid using redundant field initializer for '_attributeDateMap' 3 65
RedundantFieldInitializer Avoid using redundant field initializer for '_attributeNumMap' 3 68

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttribute.java

Rule Violation Priority Ligne
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 6467

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 6063

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeDate_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4858
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4858
ClassNamingConventions The utility class name 'AbstractAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4858
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
FieldNamingConventions The static field name 'owner' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
FieldNamingConventions The static field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 56
FieldNamingConventions The static field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 54
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 6467

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttributeNum_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4757
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4757
ClassNamingConventions The utility class name 'AbstractAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4757
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 50
FieldNamingConventions The static field name 'owner' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
FieldNamingConventions The static field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
FieldNamingConventions The static field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55

fr/paris/lutece/plugins/stock/business/attribute/AbstractAttribute_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4555
ClassNamingConventions The utility class name 'AbstractAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4555
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4555
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 48
FieldNamingConventions The static field name 'owner' doesn't match '_[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The static field name 'value' doesn't match '_[a-z][a-zA-Z0-9]*' 1 49
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 49
FieldNamingConventions The static field name 'key' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttribute.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 55
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9497

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7782
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 98101

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeDate_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447
ClassNamingConventions The class name 'CategoryAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeId.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 3 74116

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7378
FieldDeclarationsShouldBeAtStartOfClass Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 3 91
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 99102

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttributeNum_.java

Rule Violation Priority Ligne
ClassNamingConventions The class name 'CategoryAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447

fr/paris/lutece/plugins/stock/business/attribute/category/CategoryAttribute_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447
ClassNamingConventions The class name 'CategoryAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttribute.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 55
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7681
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 97100

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7479
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9598

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeDate_.java

Rule Violation Priority Ligne
ClassNamingConventions The class name 'OfferAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeId.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 3 74114

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9699

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttributeNum_.java

Rule Violation Priority Ligne
ClassNamingConventions The class name 'OfferAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447

fr/paris/lutece/plugins/stock/business/attribute/offer/OfferAttribute_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4346
ClassNamingConventions The class name 'OfferAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4346

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttribute.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 55
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9497

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7479
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9598

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeDate_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447
ClassNamingConventions The class name 'OfferGenreAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeId.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 3 75119

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9699

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttributeNum_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447
ClassNamingConventions The class name 'OfferGenreAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447

fr/paris/lutece/plugins/stock/business/attribute/offer_genre/OfferGenreAttribute_.java

Rule Violation Priority Ligne
ClassNamingConventions The class name 'OfferGenreAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4447
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4447

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttribute.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 55
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9497

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7581
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 97100

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeDate_.java

Rule Violation Priority Ligne
ClassNamingConventions The class name 'ProductAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942
CommentRequired Header comments are required 3 3942

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeId.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 3 75119

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9699

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttributeNum_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3942
ClassNamingConventions The class name 'ProductAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942

fr/paris/lutece/plugins/stock/business/attribute/product/ProductAttribute_.java

Rule Violation Priority Ligne
ClassNamingConventions The class name 'ProductAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
CommentRequired Header comments are required 3 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttribute.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 55
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7277
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9396

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7580
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9699

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeDate_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3942
ClassNamingConventions The class name 'ProviderAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeId.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 3 75119

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 8388
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9699

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttributeNum_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942
ClassNamingConventions The class name 'ProviderAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
CommentRequired Header comments are required 3 3942

fr/paris/lutece/plugins/stock/business/attribute/provider/ProviderAttribute_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942
ClassNamingConventions The class name 'ProviderAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
CommentRequired Header comments are required 3 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttribute.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 55
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7378
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9497

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeDate.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _owner field if you want a default access modifier 3 62
DefaultPackage Use explicit scoping instead of the default package private level 3 62
CallSuperInConstructor It is a good practice to call super() in a constructor 3 7580
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9699

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeDate_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942
ClassNamingConventions The class name 'PurchaseAttributeDate_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeId.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'equals(Object)' has a cyclomatic complexity of 10. 3 74118

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeNum.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 57
CallSuperInConstructor It is a good practice to call super() in a constructor 3 8287
MissingOverride The method 'getOwner()' is missing an @Override annotation. 3 9598

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttributeNum_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942
ClassNamingConventions The class name 'PurchaseAttributeNum_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942

fr/paris/lutece/plugins/stock/business/attribute/purchase/PurchaseAttribute_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3942
ClassNamingConventions The class name 'PurchaseAttribute_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 3942
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 3942

fr/paris/lutece/plugins/stock/business/category/Category.java

Rule Violation Priority Ligne
DataClass The class 'Category' is suspected to be a Data Class (WOC=25.000%, NOPA=0, NOAM=7, WMC=12) 3 68369
CallSuperInConstructor It is a good practice to call super() in a constructor 3 128136
MissingOverride The method 'getId()' is missing an @Override annotation. 3 147150
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 3 158161
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 3 306309
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 3 330333
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 3 354357

fr/paris/lutece/plugins/stock/business/category/CategoryDAO.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 61412
MissingOverride The method 'selectAllFirstLevelWithChildrenWithProduct()' is missing an @Override annotation. 3 7895
ShortVariable Avoid variables with short names like em 3 80
ShortVariable Avoid variables with short names like cb 3 81
ShortVariable Avoid variables with short names like cq 3 83
MissingOverride The method 'selectAllChildrenWithChildrenWithProduct(Integer)' is missing an @Override annotation. 3 101118
ShortVariable Avoid variables with short names like em 3 103
ShortVariable Avoid variables with short names like cb 3 104
ShortVariable Avoid variables with short names like cq 3 106
MissingOverride The method 'findByIdWithChildren(Integer)' is missing an @Override annotation. 3 124147
ShortVariable Avoid variables with short names like em 3 126
ShortVariable Avoid variables with short names like cb 3 127
ShortVariable Avoid variables with short names like cq 3 129
MissingOverride The method 'findByIdWithProduct(Integer)' is missing an @Override annotation. 3 153176
ShortVariable Avoid variables with short names like em 3 155
ShortVariable Avoid variables with short names like cb 3 156
ShortVariable Avoid variables with short names like cq 3 158
MissingOverride The method 'findByIdWithParent(Integer)' is missing an @Override annotation. 3 182195
MissingOverride The method 'findByFilter(CategoryFilter, PaginationProperties)' is missing an @Override annotation. 3 200213
ShortVariable Avoid variables with short names like em 3 202
ShortVariable Avoid variables with short names like cb 3 203
ShortVariable Avoid variables with short names like cq 3 205
MissingOverride The method 'findByFilterWithChildren(CategoryFilter)' is missing an @Override annotation. 3 222240
ShortVariable Avoid variables with short names like em 3 224
ShortVariable Avoid variables with short names like cb 3 225
ShortVariable Avoid variables with short names like cq 3 227
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 289
MissingOverride The method 'findByFilter(CategoryFilter)' is missing an @Override annotation. 3 339355
ShortVariable Avoid variables with short names like em 3 341
ShortVariable Avoid variables with short names like cb 3 342
ShortVariable Avoid variables with short names like cq 3 344
MissingOverride The method 'getAllByName(String)' is missing an @Override annotation. 3 360386
ShortVariable Avoid variables with short names like em 3 362
ShortVariable Avoid variables with short names like cb 3 363
ShortVariable Avoid variables with short names like cq 3 365
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 379
MissingOverride The method 'findAll(List)' is missing an @Override annotation. 3 395411
ShortVariable Avoid variables with short names like em 3 397
ShortVariable Avoid variables with short names like cb 3 398
ShortVariable Avoid variables with short names like cq 3 400

fr/paris/lutece/plugins/stock/business/category/CategoryFilter.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'org.apache.commons.lang3.BooleanUtils' 4 39
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 3 8487
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 3 9598
MissingOverride The method 'getOrders()' is missing an @Override annotation. 3 105108
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 3 116119

fr/paris/lutece/plugins/stock/business/category/Category_.java

Rule Violation Priority Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4863
CommentRequired Header comments are required 3 4863
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4863
ClassNamingConventions The utility class name 'Category_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4863
ShortVariable Avoid variables with short names like id 3 51
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53
FieldNamingConventions The static field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 54
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 56
FieldNamingConventions The static field name 'hashCode' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 57
FieldNamingConventions The static field name 'parent' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 58
FieldNamingConventions The static field name 'provider' doesn't match '_[a-z][a-zA-Z0-9]*' 1 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 59
FieldNamingConventions The static field name 'childrenList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 60
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 60
FieldNamingConventions The static field name 'productSet' doesn't match '_[a-z][a-zA-Z0-9]*' 1 61
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 61

fr/paris/lutece/plugins/stock/business/district/DistrictDAO.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like id 3 50

fr/paris/lutece/plugins/stock/business/district/IDistrictDAO.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like id 3 48

fr/paris/lutece/plugins/stock/business/offer/Offer.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 134136
UncommentedEmptyConstructor Document empty constructor 3 134136
UnusedFormalParameter Avoid unused constructor parameters such as 'category'. 3 134
MissingOverride The method 'getId()' is missing an @Override annotation. 3 147150
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 3 158161
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 3 327330
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 3 351354
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 3 375378

fr/paris/lutece/plugins/stock/business/offer/OfferDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'findByFilter(OfferFilter, PaginationProperties)' is missing an @Override annotation. 3 89102
ShortVariable Avoid variables with short names like em 3 91
ShortVariable Avoid variables with short names like cb 3 92
ShortVariable Avoid variables with short names like cq 3 94
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 146
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 178
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 180 3 180
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 183
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 198
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 203
MissingOverride The method 'findByProduct(Integer, OfferFilter)' is missing an @Override annotation. 3 225242
ShortVariable Avoid variables with short names like em 3 228
ShortVariable Avoid variables with short names like cb 3 229
ShortVariable Avoid variables with short names like cq 3 231
MissingOverride The method 'getQuantity(Integer)' is missing an @Override annotation. 3 252258
ShortVariable Avoid variables with short names like em 3 254

fr/paris/lutece/plugins/stock/business/offer/OfferFilter.java

Rule Violation Priority Ligne
DataClass The class 'OfferFilter' is suspected to be a Data Class (WOC=12.500%, NOPA=0, NOAM=14, WMC=16) 3 44268

fr/paris/lutece/plugins/stock/business/offer/OfferGenre.java

Rule Violation Priority Ligne
MissingOverride The method 'getId()' is missing an @Override annotation. 3 111114
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 3 122125
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 3 160163
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 3 187190
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 3 214217

fr/paris/lutece/plugins/stock/business/offer/OfferGenreDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'findWithOffersLinked(int)' is missing an @Override annotation. 3 6682
ShortVariable Avoid variables with short names like em 3 68
ShortVariable Avoid variables with short names like cb 3 69
ShortVariable Avoid variables with short names like cq 3 71
MissingOverride The method 'findAllReferenceList()' is missing an @Override annotation. 3 87101
MissingOverride The method 'findByName(String)' is missing an @Override annotation. 3 106122
ShortVariable Avoid variables with short names like em 3 108
ShortVariable Avoid variables with short names like cb 3 109
ShortVariable Avoid variables with short names like cq 3 111

fr/paris/lutece/plugins/stock/business/offer/OfferGenre_.java

Rule Violation Priority Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4454
CommentRequired Header comments are required 3 4454
ClassNamingConventions The utility class name 'OfferGenre_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4454
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4454
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 47
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 47
ShortVariable Avoid variables with short names like id 3 47
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 48
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 48
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 49
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 50
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
FieldNamingConventions The static field name 'offersList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52

fr/paris/lutece/plugins/stock/business/offer/Offer_.java

Rule Violation Priority Ligne
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4662
CommentRequired Header comments are required 3 4662
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4662
ClassNamingConventions The utility class name 'Offer_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4662
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 49
FieldNamingConventions The static field name 'product' doesn't match '_[a-z][a-zA-Z0-9]*' 1 49
ShortVariable Avoid variables with short names like id 3 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 50
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
FieldNamingConventions The static field name 'statut' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 54
FieldNamingConventions The static field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 56
FieldNamingConventions The static field name 'quantity' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 57
FieldNamingConventions The static field name 'type' doesn't match '_[a-z][a-zA-Z0-9]*' 1 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 59
FieldNamingConventions The static field name 'minTickets' doesn't match '_[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The static field name 'maxTickets' doesn't match '_[a-z][a-zA-Z0-9]*' 1 60
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 60

fr/paris/lutece/plugins/stock/business/product/IProductDAO.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 113

fr/paris/lutece/plugins/stock/business/product/Product.java

Rule Violation Priority Ligne
DataClass The class 'Product' is suspected to be a Data Class (WOC=27.273%, NOPA=0, NOAM=6, WMC=11) 3 68346
CallSuperInConstructor It is a good practice to call super() in a constructor 3 128135
MissingOverride The method 'getId()' is missing an @Override annotation. 3 146149
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 3 157160
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 3 282285
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 3 306309
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 3 330333

fr/paris/lutece/plugins/stock/business/product/ProductDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'findByFilter(ProductFilter)' is missing an @Override annotation. 3 95111
ShortVariable Avoid variables with short names like em 3 97
ShortVariable Avoid variables with short names like cb 3 98
ShortVariable Avoid variables with short names like cq 3 100
MissingOverride The method 'findByFilter(ProductFilter, PaginationProperties)' is missing an @Override annotation. 3 122135
ShortVariable Avoid variables with short names like em 3 124
ShortVariable Avoid variables with short names like cb 3 125
ShortVariable Avoid variables with short names like cq 3 127
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 196
MissingOverride The method 'getAllByName(String)' is missing an @Override annotation. 3 247273
ShortVariable Avoid variables with short names like em 3 249
ShortVariable Avoid variables with short names like cb 3 250
ShortVariable Avoid variables with short names like cq 3 252
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 266
MissingOverride The method 'getCountProductALAfficheByDate(String)' is missing an @Override annotation. 3 278308
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 508 characters appended. 3 281
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 283
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 283
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 284
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 7 consecutive times with literals. Use a single append with a single combined String. 3 285
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 285
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 286
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 287
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 288
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 289
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 290
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 291
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 291
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 292
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 298
MissingOverride The method 'getCountProductAVenirByDate(String)' is missing an @Override annotation. 3 313336
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 229 characters appended. 3 316
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 318
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 318
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 319
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 320
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 320
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 326
MissingOverride The method 'isFull(Integer)' is missing an @Override annotation. 3 346362
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 382 characters appended. 3 349
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 351
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 351
InefficientStringBuffering Avoid concatenating nonliterals in a StringBuffer/StringBuilder constructor or append(). 3 352
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 352
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 4 consecutive times with literals. Use a single append with a single combined String. 3 353
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 353
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 354
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 355
MissingOverride The method 'isType(Integer, Integer)' is missing an @Override annotation. 3 371379
ShortVariable Avoid variables with short names like em 3 373
CommentRequired Public method and constructor comments are required 3 381392
MissingOverride The method 'isTypeOffer(Integer, Integer, String, Timestamp, String)' is missing an @Override annotation. 3 381392
ShortVariable Avoid variables with short names like em 3 383
MissingOverride The method 'getProductsIdsForTaskTimed(String, Timestamp, Timestamp)' is missing an @Override annotation. 3 405414
ShortVariable Avoid variables with short names like em 3 407

fr/paris/lutece/plugins/stock/business/product/ProductFilter.java

Rule Violation Priority Ligne
DataClass The class 'ProductFilter' is suspected to be a Data Class (WOC=23.810%, NOPA=0, NOAM=16, WMC=21) 3 46262
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 3 127130
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 3 138141
MissingOverride The method 'getOrders()' is missing an @Override annotation. 3 148151
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 3 159162

fr/paris/lutece/plugins/stock/business/product/ProductImageDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'getImage(Integer)' is missing an @Override annotation. 3 9297
MissingOverride The method 'getTbImage(Integer)' is missing an @Override annotation. 3 102107
MissingOverride The method 'remove(Integer)' is missing an @Override annotation. 3 120125

fr/paris/lutece/plugins/stock/business/product/Product_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4760
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4760
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4760
ClassNamingConventions The utility class name 'Product_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4760
ShortVariable Avoid variables with short names like id 3 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 50
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
FieldNamingConventions The static field name 'category' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
FieldNamingConventions The static field name 'price' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 54
FieldNamingConventions The static field name 'description' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 56
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 57
FieldNamingConventions The static field name 'provider' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 58

fr/paris/lutece/plugins/stock/business/provider/Provider.java

Rule Violation Priority Ligne
CallSuperInConstructor It is a good practice to call super() in a constructor 3 9398
CallSuperInConstructor It is a good practice to call super() in a constructor 3 106112
ConstructorCallsOverridableMethod Overridable method 'setId' called during object construction 1 111
MissingOverride The method 'getId()' is missing an @Override annotation. 3 141144
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 3 152155
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 3 317320
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 3 335338
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 3 359362

fr/paris/lutece/plugins/stock/business/provider/ProviderDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'findAllWithProducts(PaginationProperties)' is missing an @Override annotation. 3 7791
ShortVariable Avoid variables with short names like em 3 79
ShortVariable Avoid variables with short names like cb 3 80
ShortVariable Avoid variables with short names like cq 3 82
MissingOverride The method 'findByIdWithProducts(int)' is missing an @Override annotation. 3 100115
ShortVariable Avoid variables with short names like em 3 102
ShortVariable Avoid variables with short names like cb 3 103
ShortVariable Avoid variables with short names like cq 3 105
MissingOverride The method 'findByFilter(ProviderFilter, PaginationProperties)' is missing an @Override annotation. 3 126139
ShortVariable Avoid variables with short names like em 3 128
ShortVariable Avoid variables with short names like cb 3 129
ShortVariable Avoid variables with short names like cq 3 131
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 191

fr/paris/lutece/plugins/stock/business/provider/ProviderFilter.java

Rule Violation Priority Ligne
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 3 191194
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 3 202205
MissingOverride The method 'getOrders()' is missing an @Override annotation. 3 212215
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 3 223226

fr/paris/lutece/plugins/stock/business/provider/Provider_.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4762
ClassNamingConventions The utility class name 'Provider_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4762
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4762
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4762
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 50
ShortVariable Avoid variables with short names like id 3 50
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
FieldNamingConventions The static field name 'mail' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 54
FieldNamingConventions The static field name 'phoneNumber' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55
FieldNamingConventions The static field name 'address' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The static field name 'contactName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 56
FieldNamingConventions The static field name 'name' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 57
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 58
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 58
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 59
FieldNamingConventions The static field name 'comment' doesn't match '_[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The static field name 'products' doesn't match '_[a-z][a-zA-Z0-9]*' 1 60
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 60

fr/paris/lutece/plugins/stock/business/purchase/IPurchaseDAO.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like id 3 68

fr/paris/lutece/plugins/stock/business/purchase/Purchase.java

Rule Violation Priority Ligne
MissingOverride The method 'getId()' is missing an @Override annotation. 3 109112
MissingOverride The method 'setId(Integer)' is missing an @Override annotation. 3 120123
MissingOverride The method 'getAttributeList()' is missing an @Override annotation. 3 200203
MissingOverride The method 'getAttributeDateList()' is missing an @Override annotation. 3 224227
MissingOverride The method 'getAttributeNumList()' is missing an @Override annotation. 3 248251

fr/paris/lutece/plugins/stock/business/purchase/PurchaseDAO.java

Rule Violation Priority Ligne
MissingOverride The method 'findByFilter(PurchaseFilter, PaginationProperties)' is missing an @Override annotation. 3 92105
ShortVariable Avoid variables with short names like em 3 94
ShortVariable Avoid variables with short names like cb 3 95
ShortVariable Avoid variables with short names like cq 3 97
OptimizableToArrayCall This call to Collection.toArray() may be optimizable 3 151
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 184
AvoidDuplicateLiterals The String literal "name" appears 4 times in this file; the first occurrence is on line 186 3 186
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 189
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 204
PositionLiteralsFirstInComparisons Position literals first in String comparisons 3 209
MissingOverride The method 'getQuantityPurchasedByIdProductAndUserName(Integer, Integer, String)' is missing an @Override annotation. 3 226249
ShortVariable Avoid variables with short names like em 3 228
ShortVariable Avoid variables with short names like cb 3 229
ShortVariable Avoid variables with short names like cq 3 231
MissingOverride The method 'getCountPurchaseByBeginDateAndLastDate(String, String)' is missing an @Override annotation. 3 259283
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 277 characters appended. 3 262
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 264
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 3 consecutive times with literals. Use a single append with a single combined String. 3 264
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 265
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 266
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 266
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 267
ConsecutiveLiteralAppends StringBuffer (or StringBuilder).append is called 2 consecutive times with literals. Use a single append with a single combined String. 3 267
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 273

fr/paris/lutece/plugins/stock/business/purchase/PurchaseFilter.java

Rule Violation Priority Ligne
DataClass The class 'PurchaseFilter' is suspected to be a Data Class (WOC=16.667%, NOPA=0, NOAM=20, WMC=24) 3 45327
MissingOverride The method 'isOrderAsc()' is missing an @Override annotation. 3 155158
MissingOverride The method 'setOrderAsc(boolean)' is missing an @Override annotation. 3 166169
MissingOverride The method 'getOrders()' is missing an @Override annotation. 3 176179
MissingOverride The method 'setOrders(List)' is missing an @Override annotation. 3 187190

fr/paris/lutece/plugins/stock/business/purchase/Purchase_.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'Purchase_' doesn't match '[A-Z][a-zA-Z0-9]*' 1 4657
CommentRequired Header comments are required 3 4657
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4657
AbstractClassWithoutAnyMethod No abstract method which means that the keyword is most likely used to prevent instantiation. Use a private or protected constructor instead. 1 4657
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 49
ShortVariable Avoid variables with short names like id 3 49
FieldNamingConventions The static field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The static field name 'attributeNumList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 50
FieldNamingConventions The static field name 'attributeList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 51
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 52
FieldNamingConventions The static field name 'userName' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
FieldNamingConventions The static field name 'quantity' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 53
FieldNamingConventions The static field name 'offer' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 54
FieldNamingConventions The static field name 'attributeDateList' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
AvoidUsingVolatile Use of modifier volatile is not recommended. 2 55

fr/paris/lutece/plugins/stock/business/purchase/exception/PurchaseException.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_purchaseId' doesn't match '[a-z][a-zA-Z0-9]*' 1 45

fr/paris/lutece/plugins/stock/business/purchase/exception/PurchaseOutOfStock.java

Rule Violation Priority Ligne
DataClass The class 'PurchaseOutOfStock' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=6) 3 39124
ConstructorCallsOverridableMethod Overridable method 'setQuantityRequested' called during object construction 1 79
ConstructorCallsOverridableMethod Overridable method 'setQuantityAvailable' called during object construction 1 80

fr/paris/lutece/plugins/stock/service/DistrictService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4254
ShortVariable Avoid variables with short names like id 3 49

fr/paris/lutece/plugins/stock/service/IDistrictService.java

Rule Violation Priority Ligne
ShortVariable Avoid variables with short names like id 3 51

fr/paris/lutece/plugins/stock/service/IProductService.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 78

fr/paris/lutece/plugins/stock/service/OfferService.java

Rule Violation Priority Ligne
MissingOverride The method 'findByProduct(Integer)' is missing an @Override annotation. 3 6568
MissingOverride The method 'getQuantity(Integer)' is missing an @Override annotation. 3 7881
MissingOverride The method 'findById(Integer)' is missing an @Override annotation. 3 9194

fr/paris/lutece/plugins/stock/service/ProductService.java

Rule Violation Priority Ligne
MissingOverride The method 'getAllProduct()' is missing an @Override annotation. 3 6366
MissingOverride The method 'isFull(Integer)' is missing an @Override annotation. 3 7578
MissingOverride The method 'isType(Integer, Integer)' is missing an @Override annotation. 3 8790
MissingOverride The method 'isTypeOffer(Integer, Integer, String, Timestamp, String)' is missing an @Override annotation. 3 9295
CommentRequired Public method and constructor comments are required 3 9295
MissingOverride The method 'findByFilter(ProductFilter)' is missing an @Override annotation. 3 104107
MissingOverride The method 'getProductsIdsForTaskTimed(String, Timestamp, Timestamp)' is missing an @Override annotation. 3 120123

fr/paris/lutece/plugins/stock/service/PurchaseRules.java

Rule Violation Priority Ligne
MissingOverride The method 'checkBeforePurchase(IPurchaseDTO, String)' is missing an @Override annotation. 3 7288

fr/paris/lutece/plugins/stock/service/PurchaseSessionManager.java

Rule Violation Priority Ligne
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 67
FieldNamingConventions The final field name '_format' doesn't match '[a-z][a-zA-Z0-9]*' 1 67
ImmutableField Private field '_idleQuantity' could be made final; it is only initialized in the declaration or constructor. 3 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 76
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 81
ImmutableField Private field '_activePurchaseBySession' could be made final; it is only initialized in the declaration or constructor. 3 81
MissingOverride The method 'reserve(String, IPurchaseDTO)' is missing an @Override annotation. 3 91121
MissingOverride The method 'checkReserved(String, IPurchaseDTO)' is missing an @Override annotation. 3 131153
MissingOverride The method 'release(String, IPurchaseDTO)' is missing an @Override annotation. 3 163183
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 163183
MissingOverride The method 'releaseAll(String)' is missing an @Override annotation. 3 193210
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 193210
GuardLogStatement Logger calls should be surrounded by log level guards. 2 289290

fr/paris/lutece/plugins/stock/service/StockResourceIdService.java

Rule Violation Priority Ligne
MissingOverride The method 'register()' is missing an @Override annotation. 3 79118
ShortVariable Avoid variables with short names like rt 3 81
ShortVariable Avoid variables with short names like p 3 86
MissingOverride The method 'getResourceIdList(Locale)' is missing an @Override annotation. 3 127130
MissingOverride The method 'getTitle(String, Locale)' is missing an @Override annotation. 3 141144

fr/paris/lutece/plugins/stock/utils/StockUtils.java

Rule Violation Priority Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 3 127143
ConfusingTernary Avoid if (x != y) ..; else ..; 3 131138
SimpleDateFormatNeedsLocale When instantiating a SimpleDateFormat object, specify a Locale 3 133
ConfusingTernary Avoid if (x != y) ..; else ..; 3 157164

fr/paris/lutece/plugins/stock/utils/constants/StockConstants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'StockConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3975

fr/paris/lutece/plugins/stock/web/StockSessionListener.java

Rule Violation Priority Ligne
MissingOverride The method 'sessionDestroyed(HttpSessionEvent)' is missing an @Override annotation. 3 5767
ShortVariable Avoid variables with short names like se 3 57
MissingOverride The method 'sessionCreated(HttpSessionEvent)' is missing an @Override annotation. 3 7578
ShortVariable Avoid variables with short names like se 3 75