Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
40 0 22 194

Rules

Rules Violations Severity
NewlineAtEndOfFile
  • lineSeparator : "lf"
0 error Error
JavadocType 2 error Error
JavadocMethod 83 error Error
JavadocVariable 33 error Error
JavadocStyle 0 error Error
AbstractClassName 0 error Error
ConstantName 0 error Error
LocalFinalVariableName 0 error Error
LocalVariableName 0 error Error
MemberName 0 error Error
MethodName 0 error Error
PackageName 0 error Error
ParameterName 0 error Error
StaticVariableName 0 error Error
TypeName 0 error Error
Header
  • ignoreLines : "2, 6"
  • headerFile : "src/checkstyle/java.header"
1 error Error
AvoidStarImport 0 error Error
IllegalImport 0 error Error
RedundantImport 0 error Error
UnusedImports 0 error Error
ImportOrder
  • ordered : "true"
  • separated : "true"
  • groups : "java,javax"
1 error Error
ExecutableStatementCount 1 warning Warning
FileLength 0 error Error
LineLength 38 error Error
MethodLength 1 error Error
AnonInnerLength 0 error Error
ParameterNumber 0 error Error
EmptyForInitializerPad 0 error Error
EmptyForIteratorPad 0 error Error
MethodParamPad 0 error Error
NoWhitespaceAfter
  • tokens : "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0 error Error
NoWhitespaceBefore 0 error Error
OperatorWrap
  • tokens : "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, SL, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN"
  • option : "eol"
0 error Error
ParenPad 0 error Error
TypecastParenPad 0 error Error
TabCharacter 0 error Error
WhitespaceAfter
  • tokens : "COMMA, SEMI"
0 error Error
WhitespaceAround
  • tokens : "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"
0 error Error
ModifierOrder 0 error Error
RedundantModifier 0 error Error
EmptyBlock 1 error Error
LeftCurly
  • option : "nl"
2 error Error
RightCurly
  • option : "alone"
0 error Error
AvoidNestedBlocks 0 error Error
CovariantEquals 0 error Error
DoubleCheckedLocking 0 error Error
EmptyStatement 0 error Error
EqualsHashCode 0 error Error
FinalLocalVariable 0 error Error
HiddenField
  • ignoreConstructorParameter : "true"
  • ignoreSetter : "true"
1 error Error
IllegalInstantiation 0 error Error
IllegalToken
  • tokens : "LITERAL_NATIVE"
0 error Error
IllegalTokenText 0 error Error
InnerAssignment 0 error Error
MagicNumber 1 error Error
MissingSwitchDefault 0 error Error
ModifiedControlVariable 0 error Error
RedundantThrows 0 error Error
SimplifyBooleanExpression 0 error Error
SimplifyBooleanReturn 0 error Error
StringLiteralEquality 0 error Error
NestedIfDepth 0 error Error
NestedTryDepth 0 error Error
SuperClone 0 error Error
SuperFinalize 0 error Error
IllegalCatch 3 error Error
IllegalThrows 0 error Error
PackageDeclaration 0 error Error
JUnitTestCase 0 error Error
ReturnCount
  • max : "4"
1 warning Warning
IllegalType 4 error Error
DeclarationOrder 4 error Error
ParameterAssignment 0 error Error
ExplicitInitialization 0 error Error
DefaultComesLast 0 error Error
FallThrough 0 warning Warning
MultipleStringLiterals 8 warning Warning
MultipleVariableDeclarations 0 warning Warning
UnnecessaryParentheses 0 error Error
VisibilityModifier 6 error Error
FinalClass 0 error Error
InterfaceIsType 0 error Error
HideUtilityClassConstructor 0 error Error
MutableException 0 error Error
ThrowsCount
  • max : "2"
1 warning Warning
BooleanExpressionComplexity 0 warning Warning
ClassDataAbstractionCoupling 2 warning Warning
ClassFanOutComplexity 1 warning Warning
CyclomaticComplexity 2 warning Warning
NPathComplexity 2 warning Warning
JavaNCSS 1 warning Warning
TodoComment
  • format : "TODO|FIXME"
2 warning Warning
UncommentedMain
  • excludedClasses : "JaptProxyServer"
0 error Error
UpperEll 0 error Error
ArrayTypeStyle 0 error Error
FinalParameters 0 error Error
Indentation 13 error Error
TrailingComment 1 warning Warning
GenericIllegalRegexp
  • message : "Line has trailing spaces."
  • format : "\s$"
0 error Error
SuppressionFilter
  • file : "src/checkstyle/suppressions.xml"
0 error Error

Details

org/japtproxy/packages/RepoPackageFilter.java

Violation Message Line
error Missing a Javadoc comment. 40
error Missing a Javadoc comment. 41
error Line is longer than 80 characters. 43
error Missing a Javadoc comment. 43

org/japtproxy/fetcher/FetcherFtp.java

Violation Message Line
error Missing a Javadoc comment. 50
error Missing a Javadoc comment. 51
error Missing a Javadoc comment. 53
error Missing a Javadoc comment. 59
error Line is longer than 80 characters. 97

org/japtproxy/JaptProxyServlet.java

Violation Message Line
error Missing a Javadoc comment. 70
error Line is longer than 80 characters. 89
warning The String "Uncaught exception" appears 3 times in the file. 128
error Catching 'RuntimeException' is not allowed. 136
error Line is longer than 80 characters. 175
error Line is longer than 80 characters. 181

org/japtproxy/JaptProxy.java

Violation Message Line
error Missing a Javadoc comment. 57
error Missing a Javadoc comment. 59
error Missing a Javadoc comment. 61
error Missing a Javadoc comment. 67
error Line is longer than 80 characters. 68
error Unused @param tag for 'requestedData'. 120
error Expected an @return tag. 125
error Expected @param tag for 'request'. 125
warning The String "Rejected request '" appears 3 times in the file. 143

org/japtproxy/packages/RepoPackageFinder.java

Violation Message Line
error Variable 'configuration' must be private and have accessor methods. 61
error Missing a Javadoc comment. 63
error Variable 'packageUtil' must be private and have accessor methods. 63
error Missing a Javadoc comment. 65
error Variable 'packagePool' must be private and have accessor methods. 65
error Declaring variables, return values or parameters of type 'AbstractRepoPackageVersionComparator' is not allowed. 71
error Variable 'versionComparator' must be private and have accessor methods. 71
error Missing a Javadoc comment. 73
error Variable 'ioHandler' must be private and have accessor methods. 73
error Missing a Javadoc comment. 75
error Missing a Javadoc comment. 81
error Missing a Javadoc comment. 87
error Line is longer than 80 characters. 88
error Declaring variables, return values or parameters of type 'AbstractRepoPackageVersionComparator' is not allowed. 88
error Missing a Javadoc comment. 93
error Missing a Javadoc comment. 99
error Missing a Javadoc comment. 105
error Expected @param tag for 'backend'. 166
error 'packagePool' hides a field. 168
error Missing a Javadoc comment. 212

org/japtproxy/misc/Configuration.java

Violation Message Line
warning The String "unchecked" appears 2 times in the file. 102
error Line is longer than 80 characters. 124
error Line is longer than 80 characters. 125
warning The String "Error reading configuration" appears 2 times in the file. 150
error Missing a Javadoc comment. 178
error Missing a Javadoc comment. 183

org/japtproxy/misc/HttpHeaderConstants.java

Violation Message Line
error Missing a Javadoc comment. 53

org/japtproxy/packages/AbstractRepoPackageVersionComparator.java

Violation Message Line
error Line is longer than 80 characters. 2
error Missing a Javadoc comment. 57
error Missing a Javadoc comment. 59
error Line is longer than 80 characters. 60
warning Cyclomatic Complexity is 24 (max allowed is 10). 84
warning NPath Complexity is 1,156 (max allowed is 200). 84
warning Return count is 5 (max allowed is 4). 84

org/japtproxy/misc/ResourceLock.java

Violation Message Line
error Missing a Javadoc comment. 92
error Missing a Javadoc comment. 95
error Missing a Javadoc comment. 96
error Missing a Javadoc comment. 98
error Missing a Javadoc comment. 103
error Missing a Javadoc comment. 108

org/japtproxy/packages/IRepoPackageFactory.java

Violation Message Line
error Missing a Javadoc comment. 32

org/japtproxy/packages/RepoPackage.java

Violation Message Line
error Expected @param tag for 'basename'. 64
error Expected @param tag for 'version'. 64
error Expected @param tag for 'revision'. 65
error Expected @param tag for 'arch'. 65
error Expected @param tag for 'extension'. 65
error Missing a Javadoc comment. 154

org/japtproxy/packagepool/DiskPackagePool.java

Violation Message Line
error Missing a Javadoc comment. 62
error Declaring variables, return values or parameters of type 'AbstractRepoPackageVersionComparator' is not allowed. 68
error Missing a Javadoc comment. 70
error Missing a Javadoc comment. 71
error Missing a Javadoc comment. 72
error Missing a Javadoc comment. 74
error Missing a Javadoc comment. 76
error Missing a Javadoc comment. 82
error Line is longer than 80 characters. 83
error Declaring variables, return values or parameters of type 'AbstractRepoPackageVersionComparator' is not allowed. 83
error Missing a Javadoc comment. 88
error Line is longer than 80 characters. 89
error Missing a Javadoc comment. 94
error Line is longer than 80 characters. 95
error Missing a Javadoc comment. 100
error Line is longer than 80 characters. 117
error Line is longer than 80 characters. 130
error Expected @param tag for 'backend'. 130
error Expected @param tag for 'resourceName'. 130
error Missing a Javadoc comment. 159
error Line is longer than 80 characters. 165
error array initialization child at indentation level 12 not at correct indentation, 16 174
error method call child at indentation level 20 not at correct indentation, [24, 52] 203

org/japtproxy/misc/Util.java

Violation Message Line
error Variable access definition in wrong order. 52
error Variable access definition in wrong order. 57
error Variable access definition in wrong order. 62
error Missing a Javadoc comment. 77
error Line is longer than 80 characters. 84
error Unused @param tag for 'extension'. 127
error Expected @param tag for 'filename'. 130

org/japtproxy/exception/UnknownBackendException.java

Violation Message Line
error Missing a header - not enough lines in file. 1
error Missing a Javadoc comment. 4
error Missing a Javadoc comment. 7
error Missing a Javadoc comment. 9

org/japtproxy/misc/Backend.java

Violation Message Line
error Missing a Javadoc comment. 54
error Missing a Javadoc comment. 61
error Missing a Javadoc comment. 112

org/japtproxy/misc/RequestedData.java

Violation Message Line
warning Comment matches to-do format 'TODO|FIXME'. 32
error Line is longer than 80 characters. 32
error Missing a Javadoc comment. 136

org/japtproxy/packagepool/PackagePool.java

Violation Message Line
error Expected @param tag for 'backend'. 47
error Line is longer than 80 characters. 56
error Expected @param tag for 'backend'. 56
error Unused @param tag for 'maxVersion'. 62
error Expected @param tag for 'backend'. 65

org/japtproxy/fetcher/FetcherFactory.java

Violation Message Line
error Missing a Javadoc comment. 51

org/japtproxy/packages/PackageUtil.java

Violation Message Line
error Missing a Javadoc comment. 48
error Missing a Javadoc comment. 54
error Line is longer than 80 characters. 69

org/japtproxy/misc/IOHandler.java

Violation Message Line
warning Don't use trailing comments. 73
error Missing a Javadoc comment. 75
error Variable access definition in wrong order. 80
error Variable 'fetcherFactory' must be private and have accessor methods. 80
error Missing a Javadoc comment. 82
error Missing a Javadoc comment. 88
warning Cyclomatic Complexity is 19 (max allowed is 10). 247
warning Executable statement count is 59 (max allowed is 30). 247
error Method length is 167 lines (max allowed is 150). 247
warning NCSS for this method is 79 (max allowed is 50). 247
warning NPath Complexity is 6,919 (max allowed is 200). 247
error Line is longer than 80 characters. 251
warning Throws count is 3 (max allowed is 2). 251
error Expected @throws tag for 'InitializationException'. 251
error Line is longer than 80 characters. 323
warning The String "Last-Modified: {}, Content-Type: {}, " appears 2 times in the file. 341
warning The String "Content-Length: {}" appears 2 times in the file. 342
error method call child at indentation level 24 not at correct indentation, 32 343
error array initialization child at indentation level 24 not at correct indentation, 32 344
error method call child at indentation level 24 not at correct indentation, 32 345
error array initialization child at indentation level 24 not at correct indentation, 32 346
error array initialization child at indentation level 24 not at correct indentation, 32 354
error method call child at indentation level 24 not at correct indentation, 32 355
error array initialization child at indentation level 24 not at correct indentation, 32 356

org/japtproxy/packages/RepoPackageFactory.java

Violation Message Line
error Missing a Javadoc comment. 37
error Missing a Javadoc comment. 39
error Expected an @return tag. 50

org/japtproxy/JaptProxyServer.java

Violation Message Line
error Wrong order for 'ch.qos.logback.classic.LoggerContext' import. 38
warning Class Data Abstraction Coupling is 8 (max allowed is 7) classes [BlockingChannelConnector, Context, File, Connector, ClassPathXmlApplicationContext, ServletHolder, JoranConfigurator, Server]. 51
error Missing a Javadoc comment. 54
error Missing a Javadoc comment. 55
error Missing a Javadoc comment. 56
error Missing a Javadoc comment. 57
error Missing a Javadoc comment. 58
error Missing a Javadoc comment. 59
error Unused @param tag for 'logFile'. 74
error Unused @param tag for 'debug'. 75
error Expected @param tag for 'logConfig'. 78
error Line is longer than 80 characters. 81
error Unused @param tag for 'configFile'. 99
error Line is longer than 80 characters. 103
error Expected @param tag for 'host'. 103
error Expected @param tag for 'contextPath'. 103
error Line is longer than 80 characters. 107
error Line is longer than 80 characters. 108
error Line is longer than 80 characters. 112
error Missing a Javadoc comment. 137
error Line is longer than 80 characters. 144
error Line is longer than 80 characters. 173
error Catching 'Exception' is not allowed. 182
error '{' should be on a new line. 198
error Catching 'Exception' is not allowed. 217

org/japtproxy/fetcher/FetcherHttp.java

Violation Message Line
warning Class Data Abstraction Coupling is 12 (max allowed is 7) classes [AuthScope, IOException, FetchedResourceHttp, UsernamePasswordCredentials, Header, GetMethod, ArrayList, NTCredentials, URL, ResourceUnavailableException, InitializationException, StringBuilder]. 60
warning Class Fan-Out Complexity is 21 (max allowed is 20). 60
error Missing a Javadoc comment. 69
error Missing a Javadoc comment. 75
error Missing a Javadoc comment. 76
error Missing a Javadoc comment. 78
error Missing a Javadoc comment. 84
error Missing a Javadoc comment. 90
error Missing a Javadoc comment. 96
error Unused @param tag for 'configuration'. 105
error Line is longer than 80 characters. 113
error Line is longer than 80 characters. 131
error Missing a Javadoc comment. 131
error method def throws at indentation level 4 not at correct indentation, 8 132
error '{' should be on a new line. 153
error Missing a Javadoc comment. 160
error method def throws at indentation level 4 not at correct indentation, 8 161
warning The String ":" appears 2 times in the file. 163
warning The String "\\" appears 3 times in the file. 166
error Line is longer than 80 characters. 171
error Missing a Javadoc comment. 171
error method def throws at indentation level 4 not at correct indentation, 8 172
error Line is longer than 80 characters. 176
error Missing a Javadoc comment. 179
error method def throws at indentation level 4 not at correct indentation, 8 180
error Line is longer than 80 characters. 202
error Line is longer than 80 characters. 223
error Missing a Javadoc comment. 259

org/japtproxy/misc/ShutdownEventListener.java

Violation Message Line
error Missing a Javadoc comment. 46
error Missing a Javadoc comment. 47
error Missing a Javadoc comment. 49
error Missing a Javadoc comment. 54
error Missing a Javadoc comment. 59
error Missing a Javadoc comment. 74
warning Comment matches to-do format 'TODO|FIXME'. 82
error '100' is a magic number. 85
error Must have at least one statement. 88
error Missing a Javadoc comment. 93

org/japtproxy/packages/RepoPackageFilterFactory.java

Violation Message Line
error Missing a Javadoc comment. 38
error Missing a Javadoc comment. 40
error Missing a Javadoc comment. 46
error Line is longer than 80 characters. 47
error Missing a Javadoc comment. 52
error Line is longer than 80 characters. 54