The following document contains the results of PMD 6.4.0.
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 166–167 |
Violation | Priority | Line |
---|---|---|
Avoid empty finally blocks | 3 | 128 |
Violation | Priority | Line |
---|---|---|
Avoid unused method parameters such as 'order'. | 3 | 104 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 107–108 |
Avoid empty catch blocks | 3 | 151–153 |
Useless parentheses. | 4 | 190–192 |
Useless parentheses. | 4 | 194–195 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused local variables such as 'ctx'. | 3 | 68 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'java.util.Enumeration' | 4 | 3 |
Avoid unused imports such as 'java.util.Properties' | 4 | 4 |
Avoid unused imports such as 'javax.servlet.ServletContext' | 4 | 9 |
Avoid unused imports such as 'ejava.examples.asyncmarket.ejb.AuctionMgmtLocal' | 4 | 18 |
Avoid unused imports such as 'ejava.examples.asyncmarket.ejb.BuyerLocal' | 4 | 20 |
Avoid unused imports such as 'ejava.examples.asyncmarket.ejb.SellerLocal' | 4 | 22 |
Avoid unused imports such as 'ejava.examples.asyncmarket.ejb.UserMgmtLocal' | 4 | 24 |
Avoid unused method parameters such as 'lazz'. | 3 | 100 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.servlet.ServletContext' | 4 | 10 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 27 |
Useless parentheses. | 4 | 42 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 32 |
Violation | Priority | Line |
---|---|---|
Avoid empty catch blocks | 3 | 96 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 2 | 189 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.jms.JMSException' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid empty catch blocks | 3 | 38 |
Violation | Priority | Line |
---|---|---|
Avoid empty catch blocks | 3 | 42 |
Avoid empty catch blocks | 3 | 112 |
Avoid empty catch blocks | 3 | 146 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Useless parentheses. | 4 | 75 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.enterprise.inject.Alternative' | 4 | 10 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.enterprise.inject.Vetoed' | 4 | 11 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.inject.Inject' | 4 | 4 |
Avoid unused imports such as 'javax.persistence.EntityManager' | 4 | 5 |
Avoid unused imports such as 'javax.sql.DataSource' | 4 | 6 |
Avoid unused imports such as 'ejava.examples.cdiconfig.CdiDemo' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Avoid unused private fields such as 'ctx'. | 3 | 28 |
Avoid unused private fields such as 'ejb9a'. | 3 | 86 |
Avoid unused private fields such as 'ejb9b'. | 3 | 88 |
Avoid unused private fields such as 'ejb10a'. | 3 | 92 |
Avoid unused private fields such as 'ejb10b'. | 3 | 94 |
Useless parentheses. | 4 | 118 |
Useless parentheses. | 4 | 119 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 57 |
Useless parentheses. | 4 | 67 |
Useless parentheses. | 4 | 68 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 92 |
Useless parentheses. | 4 | 93 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.ejb.Stateless' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.annotation.PostConstruct' | 4 | 3 |
Avoid unused imports such as 'javax.annotation.Resource' | 4 | 4 |
Avoid unused imports such as 'javax.persistence.PersistenceContext' | 4 | 9 |
Overriding method merely calls super | 3 | 62–64 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.annotation.PostConstruct' | 4 | 3 |
Avoid unused private fields such as 'ctx'. | 3 | 26 |
Overriding method merely calls super | 3 | 73–75 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.annotation.PostConstruct' | 4 | 3 |
Avoid unused imports such as 'javax.annotation.Resource' | 4 | 5 |
Avoid unused imports such as 'javax.persistence.PersistenceContext' | 4 | 10 |
Overriding method merely calls super | 3 | 63–65 |
Violation | Priority | Line |
---|---|---|
Overriding method merely calls super | 3 | 44–46 |
Violation | Priority | Line |
---|---|---|
Overriding method merely calls super | 3 | 57–59 |
Violation | Priority | Line |
---|---|---|
Overriding method merely calls super | 3 | 68–70 |
Violation | Priority | Line |
---|---|---|
Overriding method merely calls super | 3 | 57–59 |
Violation | Priority | Line |
---|---|---|
Overriding method merely calls super | 3 | 46–48 |
Violation | Priority | Line |
---|---|---|
Avoid unused private methods such as 'normalizeName()'. | 3 | 56 |
Violation | Priority | Line |
---|---|---|
Avoid empty finally blocks | 3 | 52–54 |
Violation | Priority | Line |
---|---|---|
Avoid empty finally blocks | 3 | 58–60 |
Violation | Priority | Line |
---|---|---|
Avoid empty finally blocks | 3 | 74 |
Avoid empty finally blocks | 3 | 101 |
Violation | Priority | Line |
---|---|---|
Avoid unused private fields such as 'tx'. | 3 | 43 |
Avoid empty finally blocks | 3 | 72 |
Avoid empty finally blocks | 3 | 102 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence.PersistenceContext' | 4 | 13 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence.PersistenceContext' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 79 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'java.io.Serializable' | 4 | 3 |
Avoid unused imports such as 'javax.persistence' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Useless parentheses. | 4 | 52 |
Useless parentheses. | 4 | 53 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 51 |
Useless parentheses. | 4 | 52 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 36 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 79 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Useless parentheses. | 4 | 52 |
Useless parentheses. | 4 | 53 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 51 |
Useless parentheses. | 4 | 52 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 36 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
No need to import a type that lives in the same package | 3 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.transaction.HeuristicMixedException' | 4 | 17 |
Avoid unused imports such as 'javax.transaction.HeuristicRollbackException' | 4 | 18 |
Avoid unused imports such as 'javax.transaction.NotSupportedException' | 4 | 19 |
Avoid unused imports such as 'javax.transaction.RollbackException' | 4 | 20 |
Avoid unused imports such as 'javax.transaction.Status' | 4 | 21 |
Avoid unused imports such as 'javax.transaction.SystemException' | 4 | 22 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence.Tuple' | 4 | 17 |
Avoid unused imports such as 'javax.persistence.TypedQuery' | 4 | 18 |
Violation | Priority | Line |
---|---|---|
Avoid empty catch blocks | 3 | 58 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.ejb.Stateless' | 4 | 9 |
Violation | Priority | Line |
---|---|---|
Avoid modifiers which are implied by the context | 3 | 9 |
Avoid modifiers which are implied by the context | 3 | 10 |
Avoid modifiers which are implied by the context | 3 | 11 |
Avoid modifiers which are implied by the context | 3 | 12 |
Avoid modifiers which are implied by the context | 3 | 13 |
Avoid modifiers which are implied by the context | 3 | 14 |
Avoid modifiers which are implied by the context | 3 | 15 |
Avoid modifiers which are implied by the context | 3 | 16 |
Violation | Priority | Line |
---|---|---|
Avoid unused private methods such as 'getInternalErrorResponse(Exception)'. | 3 | 71 |
Avoid unused private methods such as 'getBadRequestResponse(Exception)'. | 3 | 76 |
Avoid unused private methods such as 'getNotFoundResponse(Exception)'. | 3 | 81 |
Violation | Priority | Line |
---|---|---|
Avoid unused method parameters such as 'defaultValue'. | 3 | 40 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'info.ejava.examples.jaxrs.todos.bo.TodoItem' | 4 | 22 |
Avoid unused method parameters such as 'defaultValue'. | 3 | 39 |
Violation | Priority | Line |
---|---|---|
No need to import a type that lives in the same package | 3 | 13 |
No need to import a type that lives in the same package | 3 | 14 |
Violation | Priority | Line |
---|---|---|
No need to import a type that lives in the same package | 3 | 15 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 100 |
Useless parentheses. | 4 | 122 |
Useless parentheses. | 4 | 144 |
Useless parentheses. | 4 | 182 |
Useless parentheses. | 4 | 209 |
Useless parentheses. | 4 | 233 |
Useless parentheses. | 4 | 266 |
Useless parentheses. | 4 | 290 |
Violation | Priority | Line |
---|---|---|
Avoid empty finally blocks | 3 | 83 |
Violation | Priority | Line |
---|---|---|
Avoid empty finally blocks | 3 | 91–92 |
Violation | Priority | Line |
---|---|---|
No need to import a type that lives in the same package | 3 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.ws.rs.client.WebTarget' | 4 | 9 |
Violation | Priority | Line |
---|---|---|
Avoid empty if statements | 3 | 266–268 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'ejava.util.jndi.JNDIUtil' | 4 | 28 |
Avoid empty catch blocks | 3 | 126 |
Avoid empty catch blocks | 3 | 129 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unnecessary temporaries when converting primitives to Strings | 3 | 59 |
Avoid empty finally blocks | 3 | 78–80 |
Violation | Priority | Line |
---|---|---|
Avoid unnecessary temporaries when converting primitives to Strings | 3 | 89 |
Violation | Priority | Line |
---|---|---|
Avoid modifiers which are implied by the context | 3 | 9 |
Avoid modifiers which are implied by the context | 3 | 10 |
Avoid modifiers which are implied by the context | 3 | 11 |
Avoid modifiers which are implied by the context | 3 | 12 |
Avoid modifiers which are implied by the context | 3 | 13 |
Avoid modifiers which are implied by the context | 3 | 14 |
Avoid modifiers which are implied by the context | 3 | 15 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'java.util.HashMap' | 4 | 4 |
Avoid empty catch blocks | 3 | 109 |
Violation | Priority | Line |
---|---|---|
Avoid empty if statements | 3 | 43–45 |
Avoid empty if statements | 3 | 46–48 |
Avoid empty catch blocks | 3 | 136 |
Useless parentheses. | 4 | 179 |
Useless parentheses. | 4 | 181 |
Useless parentheses. | 4 | 206 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'java.sql.Statement' | 4 | 8 |
Avoid unused method parameters such as 'c'. | 3 | 48 |
Avoid unused method parameters such as 'c'. | 3 | 58 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid modifiers which are implied by the context | 3 | 7 |
Avoid modifiers which are implied by the context | 3 | 9 |
Avoid modifiers which are implied by the context | 3 | 11 |
Avoid modifiers which are implied by the context | 3 | 13 |
Avoid modifiers which are implied by the context | 3 | 15 |
Avoid modifiers which are implied by the context | 3 | 17 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 13 |
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) | 3 | 26 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 8 |
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) | 3 | 15 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused private fields such as 'id'. | 3 | 24 |
Useless parentheses. | 4 | 70 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Avoid unused private fields such as 'id'. | 3 | 13 |
Useless parentheses. | 4 | 58 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 10 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Ternary operators that can be simplified with || or && | 3 | 62–65 |
Useless parentheses. | 4 | 67 |
Useless parentheses. | 4 | 68 |
Useless parentheses. | 4 | 69 |
Ternary operators that can be simplified with || or && | 3 | 72 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Overriding method merely calls super | 3 | 26–28 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Overriding method merely calls super | 3 | 21 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Overriding method merely calls super | 3 | 18–20 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Avoid unnecessary temporaries when converting primitives to Strings | 3 | 49 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Avoid unused private fields such as 'houseId'. | 3 | 17 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Ensure you override both equals() and hashCode() | 3 | 64 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Ensure you override both equals() and hashCode() | 3 | 21 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Ensure you override both equals() and hashCode() | 3 | 19 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Ensure you override both equals() and hashCode() | 3 | 21 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Ensure you override both equals() and hashCode() | 3 | 22 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Avoid modifiers which are implied by the context | 3 | 13 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal | 3 | 49 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Avoid unused private fields such as 'pk'. | 3 | 18 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Avoid unused private fields such as 'id'. | 3 | 15 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Avoid unused private fields such as 'id'. | 3 | 15 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Avoid unused private fields such as 'date'. | 3 | 20 |
Avoid unused private fields such as 'time'. | 3 | 24 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 4 |
Violation | Priority | Line |
---|---|---|
Avoid unused private fields such as 'id'. | 3 | 23 |
Useless parentheses. | 4 | 68 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Avoid unused private fields such as 'id'. | 3 | 13 |
Useless parentheses. | 4 | 60 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 10 |
Avoid unused private methods such as 'fromDB()'. | 3 | 53 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Ternary operators that can be simplified with || or && | 3 | 75–79 |
Useless parentheses. | 4 | 81 |
Useless parentheses. | 4 | 82 |
Useless parentheses. | 4 | 83 |
Useless parentheses. | 4 | 84 |
Ternary operators that can be simplified with || or && | 3 | 87 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 273 |
Violation | Priority | Line |
---|---|---|
Avoid empty catch blocks | 3 | 185 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 3 |
Violation | Priority | Line |
---|---|---|
Avoid modifiers which are implied by the context | 3 | 31–33 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 19 |
Violation | Priority | Line |
---|---|---|
Avoid modifiers which are implied by the context | 3 | 31–33 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 8 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 11 |
Avoid unused imports such as 'javax.persistence.CascadeType' | 4 | 12 |
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) | 3 | 57 |
An operation on an Immutable object (String, BigDecimal or BigInteger) wont change the object itself | 3 | 59 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 6 |
Violation | Priority | Line |
---|---|---|
Avoid modifiers which are implied by the context | 3 | 43–45 |
Violation | Priority | Line |
---|---|---|
Avoid unused private methods such as 'invoke(PersonMgmt,VehicleMgmt)'. | 3 | 32–33 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 5 |
Violation | Priority | Line |
---|---|---|
Avoid unused imports such as 'javax.persistence' | 4 | 7 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 122 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 115 |
Violation | Priority | Line |
---|---|---|
Avoid unused private methods such as 'invoke(AccountMgmt)'. | 3 | 29 |
Violation | Priority | Line |
---|---|---|
An empty statement (semicolon) not part of a loop | 3 | 18 |
Violation | Priority | Line |
---|---|---|
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 3 | 32 |
Violation | Priority | Line |
---|---|---|
An empty statement (semicolon) not part of a loop | 3 | 17 |
Violation | Priority | Line |
---|---|---|
Unnecessary use of fully qualified name 'ejava.projects.eleague.dto.Season' due to existing import 'ejava.projects.eleague.dto.Season' | 4 | 51 |
Unnecessary use of fully qualified name 'ejava.projects.eleague.dto.Season' due to existing import 'ejava.projects.eleague.dto.Season' | 4 | 52 |
Violation | Priority | Line |
---|---|---|
Avoid unused constructor parameters such as 'id'. | 3 | 35 |
Violation | Priority | Line |
---|---|---|
Useless parentheses. | 4 | 119 |