Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
46 0 0 79

Files

FilesIWE
org/apache/commons/mail/EmailException.java 0 0 2
org/apache/commons/mail/EmailUtils.java 0 0 8
org/apache/commons/mail/MultiPartEmail.java 0 0 6
org/apache/commons/mail/BaseEmailTestCase.java 0 0 15
org/apache/commons/mail/EmailAttachmentTest.java 0 0 1
org/apache/commons/mail/InvalidAddressTest.java 0 0 6
org/apache/commons/mail/InvalidInternetAddressTest.java 0 0 34
org/apache/commons/mail/MultiPartEmailTest.java 0 0 2
org/apache/commons/mail/SimpleEmailTest.java 0 0 2
org/apache/commons/mail/mocks/package.html 0 0 1
org/apache/commons/mail/package.html 0 0 1
org/apache/commons/mail/settings/package.html 0 0 1

org/apache/commons/mail/EmailException.java

ErrorLine
Error Unnecessary parentheses around expression. 97
Error Expression can be simplified. 161

org/apache/commons/mail/EmailUtils.java

ErrorLine
Error Line is longer than 120 characters. 25
Error Line is longer than 120 characters. 41
Error Line is longer than 120 characters. 133
Error Line is longer than 120 characters. 134
Error Line is longer than 120 characters. 143
Error Line is longer than 120 characters. 144
Error Line is longer than 120 characters. 153
Error Line is longer than 120 characters. 162

org/apache/commons/mail/MultiPartEmail.java

ErrorLine
Error Variable 'primaryBodyPart' explicitly initialized to 'null' (default value for its type). 58
Error Must have at least one statement. 240
Error Expected an @return tag. 489
Error Expected an @return tag. 498
Error Expected an @return tag. 526
Error Expected @param tag for 'b'. 535

org/apache/commons/mail/BaseEmailTestCase.java

ErrorLine
Error Missing a Javadoc comment. 46
Error Variable 'fakeMailServer' explicitly initialized to 'null' (default value for its type). 49
Error Static variable definition in wrong order. 65
Error Variable access definition in wrong order. 65
Error Static variable definition in wrong order. 67
Error Variable access definition in wrong order. 67
Error Missing a Javadoc comment. 72
Error Instance variable definition in wrong order. 78
Error Variable access definition in wrong order. 78
Error Instance variable definition in wrong order. 90
Error Variable access definition in wrong order. 90
Error '{' is followed by whitespace. 90
Error Constructor definition in wrong order. 95
Error More than 7 parameters. 264
Error More than 7 parameters. 312

org/apache/commons/mail/EmailAttachmentTest.java

ErrorLine
Error Variable 'attachment' explicitly initialized to 'null' (default value for its type). 32

org/apache/commons/mail/InvalidAddressTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 31
Error Static variable definition in wrong order. 34
Error Must have at least one statement. 108
Error Must have at least one statement. 135
Error Must have at least one statement. 162
Error Must have at least one statement. 189

org/apache/commons/mail/InvalidInternetAddressTest.java

ErrorLine
Error Variable 'validateMethod' explicitly initialized to 'null' (default value for its type). 37
Error Missing a Javadoc comment. 81
Error '{' should be on a new line. 110
Error '}' should be alone on a line. 118
Error '{' should be on a new line. 118
Error Must have at least one statement. 118
Error '{' should be on a new line. 125
Error '}' should be alone on a line. 130
Error '{' should be on a new line. 130
Error '+' should be on a new line. 131
Error Unnecessary parentheses around assignment right-hand side. 158
Error '&&' should be on a new line. 160
Error '{' should be on a new line. 162
Error '{' should be on a new line. 166
Error '}' should be alone on a line. 170
Error '{' should be on a new line. 170
Error '{' should be on a new line. 172
Error '+' should be on a new line. 173
Error '{' should be on a new line. 182
Error '}' should be alone on a line. 186
Error '{' should be on a new line. 186
Error '+' should be on a new line. 187
Error Unnecessary parentheses around assignment right-hand side. 215
Error '&&' should be on a new line. 217
Error '{' should be on a new line. 220
Error '{' should be on a new line. 224
Error '}' should be alone on a line. 228
Error '{' should be on a new line. 228
Error '{' should be on a new line. 230
Error '+' should be on a new line. 231
Error '{' should be on a new line. 240
Error '}' should be alone on a line. 244
Error '{' should be on a new line. 244
Error '+' should be on a new line. 245

org/apache/commons/mail/MultiPartEmailTest.java

ErrorLine
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 40
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 165

org/apache/commons/mail/SimpleEmailTest.java

ErrorLine
Error Type Javadoc comment is missing an @author tag. 28
Error Variable 'email' explicitly initialized to 'null' (default value for its type). 31

org/apache/commons/mail/mocks/package.html

ErrorLine
Error Missing package documentation file.0

org/apache/commons/mail/package.html

ErrorLine
Error Missing package documentation file.0

org/apache/commons/mail/settings/package.html

ErrorLine
Error Missing package documentation file.0