Powerful open source chat software
Checkstyle Results
The following document contains the results of Checkstyle. 
Summary
| Files | Infos | Warnings | Errors |
|---|---|---|---|
| 10 | 0 | 0 | 320 |
Rules
| Rules | Violations | Severity |
|---|---|---|
| PackageHtml | 2 | |
| NewlineAtEndOfFile | 3 | |
| Translation | 0 | |
| JavadocMethod | 26 | |
| JavadocType | 8 | |
| JavadocVariable | 4 | |
| JavadocStyle | 1 | |
| ConstantName | 1 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 0 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
| RedundantImport | 2 | |
| UnusedImports | 0 | |
| FileLength | 0 | |
| LineLength | 28 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| EmptyForIteratorPad | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceAfter | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 0 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| TabCharacter | 160 | |
| WhitespaceAfter | 0 | |
| WhitespaceAround | 53 | |
| ModifierOrder | 0 | |
| RedundantModifier | 0 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 0 | |
| LeftCurly | 0 | |
| NeedBraces | 0 | |
| RightCurly | 0 | |
| AvoidInlineConditionals | 0 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| HiddenField | 0 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 0 | |
| MissingSwitchDefault | 0 | |
| RedundantThrows | 1 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| DesignForExtension | 14 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 1 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 0 | |
| ArrayTypeStyle | 0 | |
| FinalParameters | 10 | |
GenericIllegalRegexp
| 4 | |
| TodoComment | 0 | |
| UpperEll | 0 |
Files
Details
org/embedchat/database/dao/GenericDAO.java
| Violation | Message | Line |
|---|---|---|
| File does not end with a newline. | 0 | |
| Missing a Javadoc comment. | 6 | |
| '<' is not preceded with whitespace. | 6 | |
| '<' is not followed by whitespace. | 6 | |
| '>' is not preceded with whitespace. | 6 | |
| Missing a Javadoc comment. | 8 | |
| Missing a Javadoc comment. | 10 | |
| '<' is not preceded with whitespace. | 10 | |
| '<' is not followed by whitespace. | 10 | |
| '>' is not preceded with whitespace. | 10 | |
| Missing a Javadoc comment. | 12 | |
| '<' is not preceded with whitespace. | 12 | |
| '<' is not followed by whitespace. | 12 | |
| '>' is not preceded with whitespace. | 12 | |
| Missing a Javadoc comment. | 14 | |
| Missing a Javadoc comment. | 16 |
org/embedchat/database/dao/UserDAOImpl.java
| Violation | Message | Line |
|---|---|---|
| Got an exception - java.lang.RuntimeException: Unable to get class information for ItemNotFoundException. | 0 | |
| Line is longer than 80 characters. | 9 | |
| Missing a Javadoc comment. | 9 | |
| '<' is not preceded with whitespace. | 9 | |
| '<' is not followed by whitespace. | 9 | |
| '>' is not preceded with whitespace. | 9 | |
| Line is longer than 80 characters. | 11 | |
| Line contains a tab character. | 11 | |
| Missing a Javadoc comment. | 11 | |
| Line contains a tab character. | 12 | |
| Line contains a tab character. | 13 | |
| Line contains a tab character. | 14 | |
| Line contains a tab character. | 15 | |
| Line contains a tab character. | 16 | |
| Line contains a tab character. | 17 | |
| Line contains a tab character. | 18 | |
| Line contains a tab character. | 19 | |
| Line contains a tab character. | 20 | |
| Line contains a tab character. | 21 |
org/embedchat/database/dao/ChatRoomDAOImpl.java
| Violation | Message | Line |
|---|---|---|
| Got an exception - java.lang.RuntimeException: Unable to get class information for ItemNotFoundException. | 0 | |
| Redundant import from the same package - org.embedchat.database.dao.GenericChatRoomDAO. | 7 | |
| Line is longer than 80 characters. | 10 | |
| Missing a Javadoc comment. | 10 | |
| '<' is not preceded with whitespace. | 10 | |
| '<' is not followed by whitespace. | 10 | |
| '>' is not preceded with whitespace. | 10 | |
| Line contains a tab character. | 12 | |
| Method 'findAll' is not designed for extension - needs to be abstract, final or empty. | 12 | |
| Missing a Javadoc comment. | 12 | |
| Line contains a tab character. | 13 | |
| '<' is not preceded with whitespace. | 13 | |
| '<' is not followed by whitespace. | 13 | |
| '>' is not preceded with whitespace. | 13 | |
| Line contains a tab character. | 14 | |
| Line contains a tab character. | 15 | |
| Line contains a tab character. | 17 | |
| Method 'makePersistent' is not designed for extension - needs to be abstract, final or empty. | 17 | |
| Missing a Javadoc comment. | 17 | |
| Line contains a tab character. | 18 | |
| Parameter entity should be final. | 18 | |
| Line contains a tab character. | 19 | |
| Line contains a tab character. | 20 | |
| Line is longer than 80 characters. | 22 | |
| Line contains a tab character. | 22 | |
| Missing a Javadoc comment. | 22 | |
| Line contains a tab character. | 23 | |
| Line contains a tab character. | 24 |
org/embedchat/database/dao/GenericHibernateDAO.java
| Violation | Message | Line |
|---|---|---|
| File does not end with a newline. | 0 | |
| Line is longer than 80 characters. | 13 | |
| Missing a Javadoc comment. | 13 | |
| '<' is not preceded with whitespace. | 13 | |
| '<' is not followed by whitespace. | 13 | |
| '<' is not preceded with whitespace. | 13 | |
| '<' is not followed by whitespace. | 13 | |
| '>' is not preceded with whitespace. | 13 | |
| '>' is not followed by whitespace. | 13 | |
| '>' is not preceded with whitespace. | 13 | |
| Line contains a tab character. | 14 | |
| '<' is not preceded with whitespace. | 14 | |
| '<' is not followed by whitespace. | 14 | |
| '>' is not preceded with whitespace. | 14 | |
| Line contains a tab character. | 16 | |
| Missing a Javadoc comment. | 16 | |
| '<' is not preceded with whitespace. | 16 | |
| '<' is not followed by whitespace. | 16 | |
| '>' is not preceded with whitespace. | 16 | |
| Line contains a tab character. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Line contains a tab character. | 20 | |
| Missing a Javadoc comment. | 20 | |
| Line is longer than 80 characters. | 21 | |
| Line contains a tab character. | 21 | |
| '<' is not preceded with whitespace. | 21 | |
| '<' is not followed by whitespace. | 21 | |
| '>' is not preceded with whitespace. | 21 | |
| '>' is not followed by whitespace. | 21 | |
| Line is longer than 80 characters. | 22 | |
| Line contains a tab character. | 22 | |
| Line contains a tab character. | 23 | |
| Line contains a tab character. | 25 | |
| Method 'setSession' is not designed for extension - needs to be abstract, final or empty. | 25 | |
| Missing a Javadoc comment. | 25 | |
| Line contains a tab character. | 26 | |
| Parameter s should be final. | 26 | |
| Line contains a tab character. | 27 | |
| Line contains a tab character. | 28 | |
| Line contains a tab character. | 29 | |
| Line contains a tab character. | 31 | |
| Method 'getSession' is not designed for extension - needs to be abstract, final or empty. | 31 | |
| Missing a Javadoc comment. | 31 | |
| Line contains a tab character. | 32 | |
| Line is longer than 80 characters. | 33 | |
| Line contains a tab character. | 33 | |
| Line contains a tab character. | 34 | |
| Line contains a tab character. | 35 | |
| Line contains a tab character. | 36 | |
| Line contains a tab character. | 38 | |
| Method 'getPersistentClass' is not designed for extension - needs to be abstract, final or empty. | 38 | |
| Missing a Javadoc comment. | 38 | |
| '<' is not preceded with whitespace. | 38 | |
| '<' is not followed by whitespace. | 38 | |
| '>' is not preceded with whitespace. | 38 | |
| Line contains a tab character. | 39 | |
| Line contains a tab character. | 40 | |
| Line contains a tab character. | 42 | |
| Method 'findById' is not designed for extension - needs to be abstract, final or empty. | 42 | |
| Missing a Javadoc comment. | 42 | |
| Line contains a tab character. | 43 | |
| Parameter id should be final. | 43 | |
| Parameter lock should be final. | 43 | |
| Line contains a tab character. | 44 | |
| Line contains a tab character. | 45 | |
| Line is longer than 80 characters. | 46 | |
| Line contains a tab character. | 46 | |
| Line contains a tab character. | 47 | |
| Line has trailing spaces. | 48 | |
| Line is longer than 80 characters. | 48 | |
| Line contains a tab character. | 48 | |
| Line contains a tab character. | 49 | |
| Line contains a tab character. | 50 | |
| Line contains a tab character. | 51 | |
| Line contains a tab character. | 53 | |
| Method 'findAll' is not designed for extension - needs to be abstract, final or empty. | 53 | |
| Missing a Javadoc comment. | 53 | |
| Line contains a tab character. | 54 | |
| '<' is not preceded with whitespace. | 54 | |
| '<' is not followed by whitespace. | 54 | |
| '>' is not preceded with whitespace. | 54 | |
| Line contains a tab character. | 55 | |
| Line contains a tab character. | 56 | |
| Line contains a tab character. | 58 | |
| Method 'findByExample' is not designed for extension - needs to be abstract, final or empty. | 58 | |
| Missing a Javadoc comment. | 58 | |
| Line is longer than 80 characters. | 59 | |
| Line contains a tab character. | 59 | |
| '<' is not preceded with whitespace. | 59 | |
| '<' is not followed by whitespace. | 59 | |
| '>' is not preceded with whitespace. | 59 | |
| Parameter exampleInstance should be final. | 59 | |
| Parameter excludeProperty should be final. | 59 | |
| Line is longer than 80 characters. | 60 | |
| Line contains a tab character. | 60 | |
| Line contains a tab character. | 61 | |
| Line contains a tab character. | 62 | |
| Line contains a tab character. | 63 | |
| Line contains a tab character. | 64 | |
| Line contains a tab character. | 65 | |
| Line contains a tab character. | 66 | |
| Line contains a tab character. | 67 | |
| Line contains a tab character. | 69 | |
| Method 'makePersistent' is not designed for extension - needs to be abstract, final or empty. | 69 | |
| Missing a Javadoc comment. | 69 | |
| Line contains a tab character. | 70 | |
| Parameter entity should be final. | 70 | |
| Line contains a tab character. | 71 | |
| Line contains a tab character. | 72 | |
| Line contains a tab character. | 73 | |
| Line contains a tab character. | 75 | |
| Method 'makeTransient' is not designed for extension - needs to be abstract, final or empty. | 75 | |
| Missing a Javadoc comment. | 75 | |
| Parameter entity should be final. | 75 | |
| Line contains a tab character. | 76 | |
| Line contains a tab character. | 77 | |
| Line contains a tab character. | 79 | |
| Line contains a tab character. | 80 | |
| Line contains a tab character. | 81 | |
| Expected an @return tag. | 82 | |
| Line contains a tab character. | 82 | |
| Method 'findByCriteria' is not designed for extension - needs to be abstract, final or empty. | 82 | |
| Line contains a tab character. | 83 | |
| '<' is not preceded with whitespace. | 83 | |
| '<' is not followed by whitespace. | 83 | |
| '>' is not preceded with whitespace. | 83 | |
| Parameter criterion should be final. | 83 | |
| Expected @param tag for 'criterion'. | 83 | |
| Line is longer than 80 characters. | 84 | |
| Line contains a tab character. | 84 | |
| Line contains a tab character. | 85 | |
| Line contains a tab character. | 86 | |
| Line contains a tab character. | 87 | |
| Line contains a tab character. | 88 | |
| Line contains a tab character. | 89 |
org/embedchat/database/dao/GenericChatRoomDAO.java
| Violation | Message | Line |
|---|---|---|
| Redundant import from the same package - org.embedchat.database.dao.GenericDAO. | 4 | |
| Missing a Javadoc comment. | 6 | |
| '<' is not preceded with whitespace. | 6 | |
| '<' is not followed by whitespace. | 6 | |
| '>' is not preceded with whitespace. | 6 | |
| Line has trailing spaces. | 7 | |
| Line contains a tab character. | 7 |
org/embedchat/database/DAOFactoryInterfaceImpl.java
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 7 | |
| First sentence should end with a period. | 9 | |
| Line contains a tab character. | 9 | |
| Line contains a tab character. | 10 | |
| Line contains a tab character. | 11 | |
| Line contains a tab character. | 12 | |
| Line contains a tab character. | 13 | |
| Line contains a tab character. | 14 | |
| Line contains a tab character. | 15 | |
| Line contains a tab character. | 16 | |
| Line has trailing spaces. | 17 | |
| Line contains a tab character. | 17 | |
| Line contains a tab character. | 18 | |
| Method 'getUserDAO' is not designed for extension - needs to be abstract, final or empty. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Line is longer than 80 characters. | 19 | |
| Line contains a tab character. | 19 | |
| Line contains a tab character. | 20 | |
| Line contains a tab character. | 22 | |
| Method 'getChatRoomDAO' is not designed for extension - needs to be abstract, final or empty. | 22 | |
| Missing a Javadoc comment. | 22 | |
| Line is longer than 80 characters. | 23 | |
| Line contains a tab character. | 23 | |
| Line contains a tab character. | 24 | |
| Line has trailing spaces. | 25 | |
| Line contains a tab character. | 25 | |
| Line contains a tab character. | 26 | |
| Method 'freeDAO' is not designed for extension - needs to be abstract, final or empty. | 26 | |
| Missing a Javadoc comment. | 26 | |
| Parameter daoObject should be final. | 26 | |
| Line contains a tab character. | 27 | |
| Line contains a tab character. | 28 |
org/embedchat/database/dao/GenericUserDAO.java
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 5 | |
| '<' is not preceded with whitespace. | 5 | |
| '<' is not followed by whitespace. | 5 | |
| '>' is not preceded with whitespace. | 5 |
org/embedchat/database/dao/HibernateUtil.java
| Violation | Message | Line |
|---|---|---|
| File does not end with a newline. | 0 | |
| Missing a Javadoc comment. | 16 | |
| Utility classes should not have a public or default constructor. | 16 | |
| Line contains a tab character. | 18 | |
| Missing a Javadoc comment. | 18 | |
| Line contains a tab character. | 20 | |
| Missing a Javadoc comment. | 20 | |
| Name 'sessionFactory' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 20 | |
| Line contains a tab character. | 22 | |
| Line contains a tab character. | 23 | |
| Line contains a tab character. | 24 | |
| Line contains a tab character. | 25 | |
| Line contains a tab character. | 26 | |
| Line contains a tab character. | 27 | |
| Line contains a tab character. | 28 | |
| Line contains a tab character. | 29 | |
| Line contains a tab character. | 30 | |
| Line contains a tab character. | 31 | |
| Line contains a tab character. | 32 | |
| Line contains a tab character. | 33 | |
| Line contains a tab character. | 34 | |
| Line is longer than 80 characters. | 36 | |
| Line contains a tab character. | 36 | |
| Missing a Javadoc comment. | 36 | |
| Redundant throws: 'HibernateException' is unchecked exception. | 36 | |
| Line contains a tab character. | 37 | |
| Line contains a tab character. | 38 | |
| Line contains a tab character. | 39 | |
| Line contains a tab character. | 40 | |
| Line contains a tab character. | 42 | |
| Missing a Javadoc comment. | 42 | |
| Line contains a tab character. | 43 | |
| Line is longer than 80 characters. | 44 | |
| Line contains a tab character. | 44 | |
| Line contains a tab character. | 45 | |
| Line is longer than 80 characters. | 46 | |
| Line contains a tab character. | 46 | |
| Line is longer than 80 characters. | 47 | |
| Line contains a tab character. | 47 | |
| Line contains a tab character. | 48 | |
| Line contains a tab character. | 49 | |
| Line contains a tab character. | 50 | |
| Line contains a tab character. | 51 | |
| Line is longer than 80 characters. | 52 | |
| Line contains a tab character. | 52 | |
| Line is longer than 80 characters. | 53 | |
| Line contains a tab character. | 53 | |
| Line is longer than 80 characters. | 54 | |
| Line contains a tab character. | 54 | |
| Line contains a tab character. | 55 | |
| Line contains a tab character. | 56 | |
| Line is longer than 80 characters. | 57 | |
| Line contains a tab character. | 57 | |
| Line contains a tab character. | 58 | |
| Line contains a tab character. | 59 | |
| Line contains a tab character. | 60 | |
| Line contains a tab character. | 61 | |
| Line contains a tab character. | 63 | |
| Missing a Javadoc comment. | 63 | |
| Line contains a tab character. | 64 | |
| Line is longer than 80 characters. | 65 | |
| Line contains a tab character. | 65 | |
| Line is longer than 80 characters. | 66 | |
| Line contains a tab character. | 66 | |
| Line is longer than 80 characters. | 67 | |
| Line contains a tab character. | 67 | |
| Line contains a tab character. | 68 | |
| Line contains a tab character. | 69 | |
| Line contains a tab character. | 70 | |
| Line is longer than 80 characters. | 71 | |
| Line contains a tab character. | 71 | |
| Line is longer than 80 characters. | 72 | |
| Line contains a tab character. | 72 | |
| Line contains a tab character. | 73 | |
| Line contains a tab character. | 74 | |
| Line contains a tab character. | 75 | |
| Line contains a tab character. | 76 |