Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
138 0 0 76

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
NeedBraces 3  Error
RightCurly 1  Error
coding MissingSwitchDefault 1  Error
design FinalClass 2  Error
imports UnusedImports 2  Error
misc TodoComment 8  Error
modifier RedundantModifier 2  Error
naming ConstantName 53  Error
LocalFinalVariableName 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]+)*$'. 66
 Error misc TodoComment Comment matches to-do format 'TODO:'. 276

davmail/exchange/ExchangeSession.java

Severity Category Rule Message Line
 Error modifier RedundantModifier Redundant 'static' modifier. 898

davmail/exchange/FolderLoadThread.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - javax.mail.MessagingException. 24

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]+)*$'. 87
 Error naming ConstantName Name 'taskTovTodoStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 88
 Error naming LocalFinalVariableName Name 'MS_HEADER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1102
 Error naming ConstantName Name 'importanceToPriorityMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3069
 Error naming ConstantName Name 'priorityToImportanceMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3077

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]+)*$'. 42
 Error naming ConstantName Name 'propertyTypeMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 74
 Error naming ConstantName Name 'fieldMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 91

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]+)*$'. 94
 Error naming ConstantName Name 'taskTovTodoStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 95
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1216
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1633
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1998
 Error naming ConstantName Name 'importanceToPriorityMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 2698
 Error naming ConstantName Name 'priorityToImportanceMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 2706

davmail/exchange/ews/IndexedFieldUpdate.java

Severity Category Rule Message Line
 Error blocks LeftCurly '{' should have line break after. 64
 Error blocks RightCurly '}' should have line break before. 64

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/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/DavGatewayHttpClientFacade.java

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

davmail/http/DavGatewaySSLProtocolSocketFactory.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.security.cert.CertificateException. 43

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:'. 215

davmail/http/SpNegoScheme.java

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

davmail/imap/ImapConnection.java

Severity Category Rule Message Line
 Error blocks LeftCurly '{' should be on the previous line. 842

davmail/ldap/LdapConnection.java

Severity Category Rule Message Line
 Error misc TodoComment Comment matches to-do format 'TODO:'. 64
 Error misc TodoComment Comment matches to-do format 'TODO:'. 134
 Error misc TodoComment Comment matches to-do format 'TODO:'. 915
 Error modifier RedundantModifier Redundant 'static' modifier. 1005

davmail/service/DavService.java

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

davmail/ui/OSXInfoPlist.java

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