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
154 0 0 94

Files

File  I  W  E
davmail/caldav/CaldavConnection.java 0 0 2
davmail/exchange/ExchangeSession.java 0 0 1
davmail/exchange/FolderLoadThread.java 0 0 1
davmail/exchange/dav/DavExchangeSession.java 0 0 5
davmail/exchange/dav/Field.java 0 0 3
davmail/exchange/ews/AffectedTaskOccurrences.java 0 0 2
davmail/exchange/ews/ConflictResolution.java 0 0 3
davmail/exchange/ews/ContainmentComparison.java 0 0 8
davmail/exchange/ews/ContainmentMode.java 0 0 5
davmail/exchange/ews/DeleteType.java 0 0 3
davmail/exchange/ews/Disposal.java 0 0 3
davmail/exchange/ews/DistinguishedFolderId.java 0 0 1
davmail/exchange/ews/EwsExchangeSession.java 0 0 11
davmail/exchange/ews/Field.java 0 0 1
davmail/exchange/ews/IndexedFieldUpdate.java 0 0 2
davmail/exchange/ews/MessageDisposition.java 0 0 3
davmail/exchange/ews/RecurrenceFieldUpdate.java 0 0 1
davmail/exchange/ews/SearchScope.java 0 0 4
davmail/exchange/ews/SendMeetingCancellations.java 0 0 3
davmail/exchange/ews/SendMeetingInvitations.java 0 0 3
davmail/exchange/ews/SendMeetingInvitationsOrCancellations.java 0 0 3
davmail/http/DavGatewayHttpClientFacade.java 0 0 1
davmail/http/DavGatewaySSLProtocolSocketFactory.java 0 0 1
davmail/http/KerberosHelper.java 0 0 2
davmail/http/SpNegoScheme.java 0 0 3
davmail/http/SunPKCS11ProviderHandler.java 0 0 2
davmail/imap/ImapConnection.java 0 0 1
davmail/ldap/LdapConnection.java 0 0 4
davmail/service/DavService.java 0 0 1
davmail/ui/OSXInfoPlist.java 0 0 1
davmailmessages_fr.properties 0 0 2
davmailmessages_it.properties 0 0 8

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 4  Error
misc TodoComment 10  Error
Translation 10  Error
modifier RedundantModifier 2  Error
naming ConstantName 57  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]+)*$'. 67
 Error misc TodoComment Comment matches to-do format 'TODO:'. 277

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]+)*$'. 98
 Error naming ConstantName Name 'taskTovTodoStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 99
 Error naming ConstantName Name 'partstatToResponseMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 100
 Error naming ConstantName Name 'responseTypeToPartstatMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 101
 Error naming ConstantName Name 'statusToBusyStatusMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 102
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1232
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1674
 Error misc TodoComment Comment matches to-do format 'TODO:'. 1768
 Error misc TodoComment Comment matches to-do format 'TODO:'. 2333
 Error naming ConstantName Name 'importanceToPriorityMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3113
 Error naming ConstantName Name 'priorityToImportanceMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 3121

davmail/exchange/ews/Field.java

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

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

Severity Category Rule Message Line
 Error naming ConstantName Name 'calDayToDayOfWeek' 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/http/SunPKCS11ProviderHandler.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.io.File. 22
 Error imports UnusedImports Unused import - java.io.FileOutputStream. 23

davmail/imap/ImapConnection.java

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

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

davmailmessages_fr.properties

Severity Category Rule Message Line
 Error misc Translation Key 'LOG_UPLOAD_PROGRESS' missing.
 Error misc Translation Key 'NEEDS-ACTION' missing.

davmailmessages_it.properties

Severity Category Rule Message Line
 Error misc Translation Key 'CANCELLED' missing.
 Error misc Translation Key 'LOG_UPLOAD_PROGRESS' missing.
 Error misc Translation Key 'UI_ALWAYS_APPROXIMATE_MSG_SIZE' missing.
 Error misc Translation Key 'UI_ALWAYS_APPROXIMATE_MSG_SIZE_HELP' missing.
 Error misc Translation Key 'UI_CALDAV_AUTO_SCHEDULE' missing.
 Error misc Translation Key 'UI_CALDAV_AUTO_SCHEDULE_HELP' missing.
 Error misc Translation Key 'UI_FOLDER_SIZE_LIMIT' missing.
 Error misc Translation Key 'UI_FOLDER_SIZE_LIMIT_HELP' missing.