Checkstyle Results

The following document contains the results of Checkstyle 6.18 with src/checkstyle/checkstyle-configuration.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
183 0 0 117

Rules

Category Rule Violations Severity
blocks LeftCurly 4  Error
NeedBraces 8  Error
RightCurly 1  Error
coding MissingSwitchDefault 4  Error
design FinalClass 2  Error
HideUtilityClassConstructor 2  Error
misc TodoComment 13  Error
modifier ModifierOrder 2  Error
naming ConstantName 78  Error
LocalFinalVariableName 1  Error
MemberName 1  Error
StaticVariableName 1  Error

Details

davmail/caldav/CaldavConnection.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'ical_allowed_abs_path' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 75
 Error misc TodoComment Comment matches to-do format 'TODO:'. 286

davmail/exchange/ExchangeSessionFactory.java

Severity Category Rule Message Line
 Error coding MissingSwitchDefault switch without "default" clause. 161

davmail/exchange/dav/DavExchangeSession.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'vTodoToTaskStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 124
 Error naming ConstantName Name 'taskTovTodoStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 125
 Error misc TodoComment Comment matches to-do format 'TODO:'. 173
 Error naming LocalFinalVariableName Name 'MS_HEADER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1149
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1310
 Error blocks RightCurly '}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 2871
 Error naming ConstantName Name 'importanceToPriorityMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3137
 Error naming ConstantName Name 'priorityToImportanceMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3145

davmail/exchange/dav/Field.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'distinguishedPropertySetMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 40
 Error naming ConstantName Name 'propertyTypeMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 72
 Error naming ConstantName Name 'fieldMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 89

davmail/exchange/ews/AffectedTaskOccurrences.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'AllOccurrences' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'SpecifiedOccurrenceOnly' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31

davmail/exchange/ews/ConflictResolution.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'NeverOverwrite' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'AutoResolve' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'AlwaysOverwrite' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32

davmail/exchange/ews/ContainmentComparison.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'Exact' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'IgnoreCase' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'IgnoreNonSpacingCharacters' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32
 Error naming ConstantName Name 'Loose' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
 Error naming ConstantName Name 'IgnoreCaseAndNonSpacingCharacters' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 34
 Error naming ConstantName Name 'LooseAndIgnoreCase' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 35
 Error naming ConstantName Name 'LooseAndIgnoreNonSpace' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36
 Error naming ConstantName Name 'LooseAndIgnoreCaseAndIgnoreNonSpace' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 37

davmail/exchange/ews/ContainmentMode.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'FullString' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 38
 Error naming ConstantName Name 'Prefixed' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 42
 Error naming ConstantName Name 'Substring' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 46
 Error naming ConstantName Name 'PrefixOnWords' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 47
 Error naming ConstantName Name 'ExactPhrase' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 48

davmail/exchange/ews/DeleteType.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'HardDelete' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'SoftDelete' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'MoveToDeletedItems' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32

davmail/exchange/ews/Disposal.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'HardDelete' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'SoftDelete' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'MoveToDeletedItems' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32

davmail/exchange/ews/DistinguishedFolderId.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'folderIdMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 47

davmail/exchange/ews/EwsExchangeSession.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'vTodoToTaskStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 105
 Error naming ConstantName Name 'taskTovTodoStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 106
 Error naming ConstantName Name 'partstatToResponseMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 107
 Error naming ConstantName Name 'responseTypeToPartstatMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 108
 Error naming ConstantName Name 'statusToBusyStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 109
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1135
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1621
 Error coding MissingSwitchDefault switch without "default" clause. 1676
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1727
 Error misc TodoComment Comment matches to-do format 'TODO:'. 2328
 Error naming ConstantName Name 'importanceToPriorityMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3174
 Error naming ConstantName Name 'priorityToImportanceMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3182

davmail/exchange/ews/Field.java

Severity Category Rule Message Line
 Error misc TodoComment Comment matches to-do format 'TODO:'. 207

davmail/exchange/ews/MessageDisposition.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'SaveOnly' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'SendOnly' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32
 Error naming ConstantName Name 'SendAndSaveCopy' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33

davmail/exchange/ews/RecurrenceFieldUpdate.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'calDayToDayOfWeek' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 38

davmail/exchange/ews/SearchScope.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'ActiveDirectory' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'ActiveDirectoryContacts' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'Contacts' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32
 Error naming ConstantName Name 'ContactsActiveDirectory' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33

davmail/exchange/ews/SendMeetingCancellations.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'SendToNone' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'SendOnlyToAll' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'SendToAllAndSaveCopy' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32

davmail/exchange/ews/SendMeetingInvitations.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'SendToNone' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'SendOnlyToAll' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'SendToAllAndSaveCopy' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32

davmail/exchange/ews/SendMeetingInvitationsOrCancellations.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'SendToNone' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error naming ConstantName Name 'SendOnlyToAll' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 31
 Error naming ConstantName Name 'SendToAllAndSaveCopy' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32

davmail/http/DavMailIdleConnectionEvictor.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 35
 Error naming ConstantName Name 'connectionManagers' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
 Error naming ConstantName Name 'sleepTimeMs' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 41
 Error naming ConstantName Name 'maxIdleTimeMs' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 42

davmail/http/HttpClientAdapter.java

Severity Category Rule Message Line
 Error naming StaticVariableName Name 'WORKSTATION_NAME' must match pattern '^[a-z][a-zA-Z0-9]*$'. 77

davmail/http/KerberosHelper.java

Severity Category Rule Message Line
 Error design FinalClass Class KerberosHelper should be declared as final. 43
 Error misc TodoComment Comment matches to-do format 'TODO:'. 213

davmail/http/URIUtil.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 32
 Error naming ConstantName Name 'percent' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 39
 Error naming ConstantName Name 'digit' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 53
 Error naming ConstantName Name 'alpha' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 68
 Error naming ConstantName Name 'alphanum' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 86
 Error naming ConstantName Name 'hex' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 101
 Error naming ConstantName Name 'escaped' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 120
 Error naming ConstantName Name 'mark' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 135
 Error naming ConstantName Name 'unreserved' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 157
 Error naming ConstantName Name 'reserved' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 172
 Error naming ConstantName Name 'uric' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 194
 Error naming ConstantName Name 'pchar' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 209
 Error naming ConstantName Name 'param' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 230
 Error naming ConstantName Name 'segment' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 239
 Error naming ConstantName Name 'path_segments' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 254
 Error naming ConstantName Name 'abs_path' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 267
 Error naming ConstantName Name 'allowed_abs_path' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 277
 Error naming ConstantName Name 'allowed_query' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 288
 Error naming ConstantName Name 'allowed_within_query' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 298

davmail/http/request/ExchangeDavRequest.java

Severity Category Rule Message Line
 Error misc TodoComment Comment matches to-do format 'TODO:'. 256

davmail/ldap/Ber.java

Severity Category Rule Message Line
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 97
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 104

davmail/ldap/BerEncoder.java

Severity Category Rule Message Line
 Error blocks NeedBraces 'if' construct must use '{}'s. 390

davmail/ldap/HexDumpEncoder.java

Severity Category Rule Message Line
 Error blocks NeedBraces 'if' construct must use '{}'s. 62
 Error blocks NeedBraces 'else' construct must use '{}'s. 64
 Error blocks NeedBraces 'if' construct must use '{}'s. 68
 Error blocks NeedBraces 'else' construct must use '{}'s. 70
 Error blocks NeedBraces 'if' construct must use '{}'s. 101
 Error blocks NeedBraces 'if' construct must use '{}'s. 109
 Error blocks NeedBraces 'if' construct must use '{}'s. 136
 Error blocks LeftCurly '{' at column 5 should be on the previous line. 151
 Error blocks LeftCurly '{' at column 5 should be on the previous line. 259
 Error blocks LeftCurly '{' at column 5 should be on the previous line. 288
 Error blocks LeftCurly '{' at column 5 should be on the previous line. 319

davmail/ldap/LdapConnection.java

Severity Category Rule Message Line
 Error misc TodoComment Comment matches to-do format 'TODO:'. 78
 Error misc TodoComment Comment matches to-do format 'TODO:'. 148
 Error misc TodoComment Comment matches to-do format 'TODO:'. 923
 Error coding MissingSwitchDefault switch without "default" clause. 1647

davmail/service/DavService.java

Severity Category Rule Message Line
 Error naming MemberName Name 'LOCK' must match pattern '^[a-z][a-zA-Z0-9]*$'. 32
 Error coding MissingSwitchDefault switch without "default" clause. 42

davmail/ui/OSXInfoPlist.java

Severity Category Rule Message Line
 Error design FinalClass Class OSXInfoPlist should be declared as final. 33