Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
160002501

Files

FilesIWE
org/apache/commons/latka/AbstractReporter.java 005
org/apache/commons/latka/DefaultLatkaEventInfo.java 0050
org/apache/commons/latka/HtmlPrettyPrintWriter.java 0018
org/apache/commons/latka/Latka.java 0063
org/apache/commons/latka/LatkaException.java 0031
org/apache/commons/latka/LatkaProperties.java 0037
org/apache/commons/latka/Suite.java 001
org/apache/commons/latka/Suite.java 0016
org/apache/commons/latka/ValidationException.java 0022
org/apache/commons/latka/Validator.java 006
org/apache/commons/latka/XMLReporter.java 0051
org/apache/commons/latka/event/BaseRequestEvent.java 0018
org/apache/commons/latka/event/LatkaEvent.java 005
org/apache/commons/latka/event/LatkaEventInfo.java 005
org/apache/commons/latka/event/LatkaEventListener.java 0020
org/apache/commons/latka/event/LatkaEventPublisher.java 0042
org/apache/commons/latka/event/ReportMessageEvent.java 0012
org/apache/commons/latka/event/RequestErrorEvent.java 0018
org/apache/commons/latka/event/RequestEvent.java 0010
org/apache/commons/latka/event/RequestFailedEvent.java 0018
org/apache/commons/latka/event/RequestSkippedEvent.java 0010
org/apache/commons/latka/event/RequestSucceededEvent.java 0010
org/apache/commons/latka/event/SuiteCompletedEvent.java 008
org/apache/commons/latka/event/SuiteEvent.java 005
org/apache/commons/latka/event/package.html 001
org/apache/commons/latka/http/Credentials.java 008
org/apache/commons/latka/http/CredentialsImpl.java 0021
org/apache/commons/latka/http/MethodFactory.java 008
org/apache/commons/latka/http/Parameters.java 009
org/apache/commons/latka/http/ParametersImpl.java 0016
org/apache/commons/latka/http/Proxy.java 0028
org/apache/commons/latka/http/Request.java 0028
org/apache/commons/latka/http/RequestHeaders.java 007
org/apache/commons/latka/http/RequestHeadersImpl.java 0017
org/apache/commons/latka/http/RequestImpl.java 00194
org/apache/commons/latka/http/Response.java 0013
org/apache/commons/latka/http/ResponseImpl.java 001
org/apache/commons/latka/http/ResponseImpl.java 0030
org/apache/commons/latka/http/Session.java 0017
org/apache/commons/latka/http/SessionImpl.java 0063
org/apache/commons/latka/http/package.html 001
org/apache/commons/latka/jelly/CredentialsTag.java 0028
org/apache/commons/latka/jelly/JellyUtils.java 0048
org/apache/commons/latka/jelly/LatkaTagLibrary.java 0027
org/apache/commons/latka/jelly/ParameterNameTag.java 008
org/apache/commons/latka/jelly/ParameterTag.java 0021
org/apache/commons/latka/jelly/ParameterValueTag.java 009
org/apache/commons/latka/jelly/ReportMessageTag.java 0020
org/apache/commons/latka/jelly/RequestBodyTag.java 009
org/apache/commons/latka/jelly/RequestHeaderTag.java 0029
org/apache/commons/latka/jelly/RequestTag.java 00138
org/apache/commons/latka/jelly/SessionTag.java 0030
org/apache/commons/latka/jelly/SuiteSettings.java 0040
org/apache/commons/latka/jelly/SuiteTag.java 0067
org/apache/commons/latka/jelly/ValidateTag.java 0011
org/apache/commons/latka/jelly/package.html 001
org/apache/commons/latka/jelly/validators/ByteLengthTag.java 0031
org/apache/commons/latka/jelly/validators/CookieTag.java 0035
org/apache/commons/latka/jelly/validators/GoldenFileTag.java 0030
org/apache/commons/latka/jelly/validators/HttpValidatorTagSupport.java 001
org/apache/commons/latka/jelly/validators/HttpValidatorTagSupport.java 0043
org/apache/commons/latka/jelly/validators/MaxRequestTimeTag.java 0020
org/apache/commons/latka/jelly/validators/RegexpTag.java 0031
org/apache/commons/latka/jelly/validators/ResponseHeaderTag.java 0036
org/apache/commons/latka/jelly/validators/StatusCodeTag.java 0020
org/apache/commons/latka/jelly/validators/StatusTextTag.java 0020
org/apache/commons/latka/jelly/validators/XPathTag.java 0031
org/apache/commons/latka/jelly/validators/package.html 001
org/apache/commons/latka/junit/JUnitEventReporter.java 0061
org/apache/commons/latka/junit/JUnitTestAdapter.java 001
org/apache/commons/latka/junit/JUnitTestAdapter.java 0066
org/apache/commons/latka/junit/package.html 001
org/apache/commons/latka/package.html 001
org/apache/commons/latka/servlet/ViewResponseServlet.java 001
org/apache/commons/latka/servlet/ViewResponseServlet.java 0023
org/apache/commons/latka/servlet/ViewSuiteServlet.java 0017
org/apache/commons/latka/servlet/package.html 001
org/apache/commons/latka/validators/BaseConditionalValidator.java 0048
org/apache/commons/latka/validators/BaseValidator.java 0031
org/apache/commons/latka/validators/ByteLengthValidator.java 0045
org/apache/commons/latka/validators/CookieValidator.java 0061
org/apache/commons/latka/validators/GoldenFileValidator.java 0083
org/apache/commons/latka/validators/MaxRequestTimeValidator.java 0032
org/apache/commons/latka/validators/RegexpValidator.java 0048
org/apache/commons/latka/validators/ResponseHeaderValidator.java 0061
org/apache/commons/latka/validators/StatusCodeValidator.java 0035
org/apache/commons/latka/validators/StatusTextValidator.java 0027
org/apache/commons/latka/validators/XPathValidator.java 00129
org/apache/commons/latka/validators/package.html 001

org/apache/commons/latka/AbstractReporter.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line has trailing spaces. 3
Error Line has trailing spaces. 7
Error Line has trailing spaces. 9
Error Name '_log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 37

org/apache/commons/latka/DefaultLatkaEventInfo.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line has trailing spaces. 3
Error Line has trailing spaces. 7
Error Line has trailing spaces. 9
Error First sentence should end with a period. 45
Error Name '_requestSucceeded' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
Error Variable '_requestSucceeded' must be private and have accessor methods. 48
Error First sentence should end with a period. 50
Error Name '_sessionSucceeded' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
Error Variable '_sessionSucceeded' must be private and have accessor methods. 53
Error Name '_suiteSucceeded' must match pattern '^[a-z][a-zA-Z0-9]*$'. 59
Error Variable '_suiteSucceeded' must be private and have accessor methods. 59
Error Name '_failedResponses' must match pattern '^[a-z][a-zA-Z0-9]*$'. 65
Error Variable '_failedResponses' must be private and have accessor methods. 65
Error Missing a Javadoc comment. 67
Error Name '_listener' must match pattern '^[a-z][a-zA-Z0-9]*$'. 67
Error Variable '_listener' must be private and have accessor methods. 67
Error Name '_log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 72
Error Line is longer than 80 characters. 73
Error Missing a Javadoc comment. 75
Error Parameter listener should be final. 75
Error Method 'requestSucceeded' is not designed for extension - needs to be abstract, final or empty. 85
Error Parameter event should be final. 85
Error Method 'requestFailed' is not designed for extension - needs to be abstract, final or empty. 97
Error Parameter event should be final. 97
Error Method 'requestSkipped' is not designed for extension - needs to be abstract, final or empty. 109
Error Parameter event should be final. 109
Error Method 'requestError' is not designed for extension - needs to be abstract, final or empty. 120
Error Parameter event should be final. 120
Error Line has trailing spaces. 126
Error Line has trailing spaces. 129
Error Method 'reportMessage' is not designed for extension - needs to be abstract, final or empty. 132
Error Parameter event should be final. 132
Error Method 'suiteCompleted' is not designed for extension - needs to be abstract, final or empty. 141
Error Parameter event should be final. 141
Error Method 'recordSuccess' is not designed for extension - needs to be abstract, final or empty. 154
Error Parameter event should be final. 154
Error Parameter bool should be final. 154
Error Expression can be simplified. 155
Error Method 'didRequestSucceed' is not designed for extension - needs to be abstract, final or empty. 170
Error Parameter request should be final. 170
Error Conditional logic can be removed. 173
Error Expression can be simplified. 173
Error Method 'didSessionSucceed' is not designed for extension - needs to be abstract, final or empty. 190
Error Parameter session should be final. 190
Error Conditional logic can be removed. 193
Error Expression can be simplified. 193
Error Method 'didSuiteSucceed' is not designed for extension - needs to be abstract, final or empty. 205
Error First sentence should end with a period. 209
Error Method 'getFailedResponses' is not designed for extension - needs to be abstract, final or empty. 213

org/apache/commons/latka/HtmlPrettyPrintWriter.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line has trailing spaces. 3
Error Line has trailing spaces. 7
Error Line has trailing spaces. 9
Error Line has trailing spaces. 24
Error Line has trailing spaces. 27
Error Unclosed HTML tag found: <wbr> tag will be inserted roughly 27
Error Line has trailing spaces. 30
Error First sentence should end with a period. 38
Error Name '_charsWritten' must match pattern '^[a-z][a-zA-Z0-9]*$'. 39
Error Variable '_charsWritten' must be private and have accessor methods. 39
Error First sentence should end with a period. 41
Error Parameter writer should be final. 46
Error First sentence should end with a period. 50
Error Line has trailing spaces. 54
Error Method 'print' is not designed for extension - needs to be abstract, final or empty. 55
Error Parameter output should be final. 55
Error '5' is a magic number. 73

org/apache/commons/latka/Latka.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line has trailing spaces. 3
Error Line has trailing spaces. 7
Error Line has trailing spaces. 9
Error First sentence should end with a period. 65
Error Name '_isValidating' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Error Variable '_isValidating' must be private and have accessor methods. 66
Error First sentence should end with a period. 67
Error Name '_reportStylesheetUrl' must match pattern '^[a-z][a-zA-Z0-9]*$'. 68
Error Variable '_reportStylesheetUrl' must be private and have accessor methods. 68
Error First sentence should end with a period. 70
Error Line has trailing spaces. 71
Error Name '_log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 71
Error First sentence should end with a period. 74
Error Name '_props' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Error Variable '_props' must be private and have accessor methods. 75
Error First sentence should end with a period. 77
Error Line has trailing spaces. 78
Error Line has trailing spaces. 85
Error Line has trailing spaces. 92
Error Method 'runTests' is not designed for extension - needs to be abstract, final or empty. 99
Error Parameter suite should be final. 99
Error Parameter listener should be final. 99
Error Unable to get class information for LatkaException. 100
Error Line has trailing spaces. 101
Error Line is longer than 80 characters. 108
Error ',' is not followed by whitespace. 111
Error ',' is not followed by whitespace. 115
Error '+' is not preceded with whitespace. 115
Error '+' is not followed by whitespace. 115
Error ',' is not followed by whitespace. 120
Error Method 'buildJellyContext' is not designed for extension - needs to be abstract, final or empty. 127
Error Missing a Javadoc comment. 127
Error ',' is not followed by whitespace. 133
Error Method 'setValidating' is not designed for extension - needs to be abstract, final or empty. 145
Error Parameter isValidating should be final. 145
Error First sentence should end with a period. 149
Error Line has trailing spaces. 151
Error Method 'setReportStylesheet' is not designed for extension - needs to be abstract, final or empty. 153
Error Parameter url should be final. 153
Error Method 'logXML' is not designed for extension - needs to be abstract, final or empty. 164
Error Parameter xml should be final. 164
Error Method 'transformXML' is not designed for extension - needs to be abstract, final or empty. 197
Error Parameter xml should be final. 197
Error Unable to get class information for LatkaException. 197
Error Line has trailing spaces. 198
Error Line contains a tab character. 206
Error Line contains a tab character. 209
Error Line has trailing spaces. 220
Error Method 'runCommandLine' is not designed for extension - needs to be abstract, final or empty. 241
Error Parameter args should be final. 241
Error Array brackets at illegal position. 241
Error Unable to get class information for LatkaException. 241
Error '5' is a magic number. 254
Error Line has trailing spaces. 257
Error '9' is a magic number. 259
Error '9' is a magic number. 262
Error Line has trailing spaces. 263
Error Line has trailing spaces. 274
Error Expression can be simplified. 292
Error Parameter args should be final. 310
Error Array brackets at illegal position. 310
Error Line has trailing spaces. 319

org/apache/commons/latka/LatkaException.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line has trailing spaces. 3
Error Line has trailing spaces. 7
Error Line has trailing spaces. 9
Error First sentence should end with a period. 24
Error Line has trailing spaces. 34
Error First sentence should end with a period. 35
Error Name '_wrappedException' must match pattern '^[a-z][a-zA-Z0-9]*$'. 38
Error Variable '_wrappedException' must be private and have accessor methods. 38
Error First sentence should end with a period. 40
Error Parameter message should be final. 44
Error Parameter e should be final. 53
Error First sentence should end with a period. 58
Error Method 'getException' is not designed for extension - needs to be abstract, final or empty. 64
Error Parameter e should be final. 76
Error First sentence should end with a period. 95
Error Line has trailing spaces. 96
Error Method 'printStackTrace' is not designed for extension - needs to be abstract, final or empty. 98
Error Line has trailing spaces. 103
Error Line has trailing spaces. 106
Error First sentence should end with a period. 107
Error Line has trailing spaces. 108
Error Method 'printStackTrace' is not designed for extension - needs to be abstract, final or empty. 111
Error Parameter s should be final. 111
Error Line has trailing spaces. 116
Error Line has trailing spaces. 119
Error First sentence should end with a period. 120
Error Method 'printStackTrace' is not designed for extension - needs to be abstract, final or empty. 124
Error Parameter s should be final. 124
Error Line has trailing spaces. 129
Error Line has trailing spaces. 132

org/apache/commons/latka/LatkaProperties.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line has trailing spaces. 3
Error Line has trailing spaces. 7
Error Line has trailing spaces. 9
Error Line has trailing spaces. 26
Error Line has trailing spaces. 30
Error Line has trailing spaces. 34
Error Utility classes should not have a public or default constructor. 38
Error First sentence should end with a period. 40
Error Name '_log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 41
Error First sentence should end with a period. 44
Error Name '_initProps' must match pattern '^[a-z][a-zA-Z0-9]*$'. 45
Error Variable '_initProps' must be private and have accessor methods. 45
Error Name '_propsThreadLocal' must match pattern '^[a-z][a-zA-Z0-9]*$'. 55
Error Variable '_propsThreadLocal' must be private and have accessor methods. 55
Error Line has trailing spaces. 62
Error Line has trailing spaces. 63
Error Line has trailing spaces. 82
Error Line has trailing spaces. 83
Error Line has trailing spaces. 85
Error Line has trailing spaces. 92
Error First sentence should end with a period. 106
Error Line has trailing spaces. 124
Error First sentence should end with a period. 127
Error Parameter classpathLocation should be final. 134
Error Line has trailing spaces. 137
Error Line contains a tab character. 140
Error Line contains a tab character. 141
Error Line has trailing spaces. 159
Error First sentence should end with a period. 163
Error Name '_initProps' must match pattern '^[a-z][a-zA-Z0-9]*$'. 164
Error Variable '_initProps' must be private and have accessor methods. 164
Error First sentence should end with a period. 166
Error Line has trailing spaces. 169
Error Parameter initProps should be final. 172
Error First sentence should end with a period. 176