Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos infoWarnings warningErrors error
3603160

Rules

RulesViolationsSeverity
ConstantName25error Error
LocalFinalVariableName0error Error
LocalVariableName1error Error
MemberName0error Error
MethodName3error Error
PackageName0error Error
ParameterName0error Error
StaticVariableName1error Error
TypeName0error Error
AvoidStarImport2error Error
IllegalImport0error Error
RedundantImport0error Error
UnusedImports16error Error
FileLength0error Error
LineLength
  • max: "120"
24error Error
MethodLength1error Error
ParameterNumber0error Error
EmptyForIteratorPad0error Error
MethodParamPad0error Error
OperatorWrap1error Error
ParenPad37error Error
TypecastParenPad0error Error
TabCharacter2error Error
ModifierOrder18error Error
RedundantModifier2error Error
EmptyBlock1error Error
LeftCurly0error Error
NeedBraces35error Error
RightCurly9error Error
DoubleCheckedLocking0error Error
EmptyStatement0error Error
EqualsHashCode0error Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
1error Error
IllegalInstantiation0error Error
InnerAssignment0error Error
MissingSwitchDefault1error Error
RedundantThrows11error Error
SimplifyBooleanExpression1error Error
SimplifyBooleanReturn1error Error
FinalClass0error Error
HideUtilityClassConstructor1error Error
InterfaceIsType0error Error
VisibilityModifier27error Error
ArrayTypeStyle0error Error
FinalParameters41error Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
0error Error
UpperEll0error Error
FinalLocalVariable51error Error
PackageHtml3error Error
NewlineAtEndOfFile0error Error
Translation0error Error

Details

no/sesat/search/view/output/syndication/modules/SearchResultModule.java

ViolationMessageLine
warningRedundant 'public' modifier.31
warningRedundant 'public' modifier.32

no/geodata/maputil/MapEnvelope.java

ViolationMessageLine
warningVariable 'upperLeft' must be private and have accessor methods.27
warningVariable 'lowerRight' must be private and have accessor methods.28
warningVariable 'maxX' must be private and have accessor methods.29
warningVariable 'minX' must be private and have accessor methods.30
warningVariable 'maxY' must be private and have accessor methods.31
warningVariable 'minY' must be private and have accessor methods.32
warningVariable 'centerX' must be private and have accessor methods.33
warningVariable 'centerY' must be private and have accessor methods.34
warningParameter maxX should be final.47
warningParameter minX should be final.47
warningParameter maxY should be final.47
warningParameter minY should be final.47
warningParameter maxX should be final.58
warningParameter minX should be final.70
warningParameter maxY should be final.82
warningParameter centerX should be final.94
warningParameter centerY should be final.106
warningParameter minY should be final.119
warningParameter ul should be final.133
warningParameter lr should be final.133
warningParameter ul should be final.140
warningParameter lr should be final.146

no/sesat/search/run/AbstractRunningQuery.java

ViolationMessageLine
warningVariable 'context' must be private and have accessor methods.35

no/sesat/search/view/output/syndication/modules/SearchResultModuleGenerator.java

ViolationMessageLine
warningName 'NAMESPACES' must match pattern '^[a-z][a-zA-Z0-9]*$'.37

no/sesat/search/run/RunningQueryImpl.java

ViolationMessageLine
warningUnused import - no.sesat.search.query.Clause.48
warningUnused import - no.sesat.search.query.token.EvaluationException.52
warningUnused import - no.sesat.search.mode.config.BaseSearchConfiguration.57
warningUnused import - no.sesat.search.query.token.TokenEvaluator.66
warningUnused import - no.sesat.search.query.token.TokenPredicate.67
warningLine is longer than 120 characters.106
warningVariable 'allCancelled' must be private and have accessor methods.128
warningVariable 'datamodel' must be private and have accessor methods.130
warningVariable 'engine' must be private and have accessor methods.132
warningMethod length is 163 lines (max allowed is 150).237
warning'(' is followed by whitespace.336
warning')' is preceded with whitespace.336
warning'(' is followed by whitespace.363
warning')' is preceded with whitespace.363
warning'||' should be on a new line.440
warningLine is longer than 120 characters.601
warningLine is longer than 120 characters.611
warningLine is longer than 120 characters.615
warningLine is longer than 120 characters.619
warning'(' is followed by whitespace.675

no/sesat/search/view/output/syndication/modules/package.html

ViolationMessageLine
warningMissing package documentation file.0

no/sesat/search/run/RunningWebQuery.java

ViolationMessageLine
warningUnused import - java.util.Hashtable.23
warningUnused import - java.util.Set.25
warningUnused import - no.sesat.search.datamodel.DataModel.28
warningUnused import - org.apache.commons.lang.StringEscapeUtils.30
warningUnused import - org.apache.commons.lang.StringUtils.31
warningVariable 'e' should be declared final.117
warning'(' is followed by whitespace.164
warning')' is preceded with whitespace.164
warning'(' is followed by whitespace.176
warning')' is preceded with whitespace.176
warning'(' is followed by whitespace.178
warning')' is preceded with whitespace.178

no/sesat/search/security/MD5Generator.java

ViolationMessageLine
warningParameter algorithm should be final.62

no/sesat/search/view/output/package.html

ViolationMessageLine
warningMissing package documentation file.0

no/sesat/search/util/TradeDoubler.java

ViolationMessageLine
warning'static' modifier out of order with the JLS suggestions.35
warningName 'secretCode' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.35
warning'static' modifier out of order with the JLS suggestions.36
warningName 'organization' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.36
warning'static' modifier out of order with the JLS suggestions.37
warningName 'event' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.37
warningParameter request should be final.40
warningRedundant throws: 'RuntimeException' is unchecked exception.46
warningParameter name should be final.91

no/sesat/search/result/Decoder.java

ViolationMessageLine
warningUnused import - java.util.Date.20
warningName 'yip_decoder' must match pattern '^[a-z][a-zA-Z0-9]*$'.39
warningParameter s should be final.39
warningName 'yip_decoder' must match pattern '^[a-z][a-zA-Z0-9]*$'.49
warningParameter s should be final.49
warningParameter length should be final.49
warningLine contains a tab character.61
warningParameter s should be final.70
warningName 'yip_checknames' must match pattern '^[a-z][a-zA-Z0-9]*$'.78
warningParameter s1 should be final.78
warningParameter s2 should be final.78
warningConditional logic can be removed.80
warning'else' construct must use '{}'s.82
warningLine contains a tab character.83
warningParameter s should be final.86
warningParameter i should be final.86
warningVariable 'length' should be declared final.92
warning'if' construct must use '{}'s.93
warningVariable 'cal' should be declared final.101
warningVariable 'day' should be declared final.102

no/geodata/maputil/CoordHelper.java

ViolationMessageLine
warningUsing the '.*' form of import should be avoided - java.util.*.27
warning'static' modifier out of order with the JLS suggestions.39
warningName 'zoom_1' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.39
warning'static' modifier out of order with the JLS suggestions.40
warningName 'zoom_2' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.40
warning'static' modifier out of order with the JLS suggestions.41
warningName 'zoom_3' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.41
warning'static' modifier out of order with the JLS suggestions.42
warningName 'zoom_4' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.42
warning'static' modifier out of order with the JLS suggestions.43
warningName 'zoom_5' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.43
warning'static' modifier out of order with the JLS suggestions.44
warningName 'zoom_6' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.44
warning'static' modifier out of order with the JLS suggestions.45
warningName 'zoom_7' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.45
warning'static' modifier out of order with the JLS suggestions.47
warningName 'zoomCount' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.47
warningVariable 'defaultZoom' must be private and have accessor methods.49
warningVariable 'imgWidth' must be private and have accessor methods.50
warningVariable 'imgHeight' must be private and have accessor methods.51
warningVariable 'envFactor' must be private and have accessor methods.52
warning'static' modifier out of order with the JLS suggestions.54
warningName 'iconPxSizeHeigth' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.54
warning'static' modifier out of order with the JLS suggestions.55
warningName 'iconPxSizeWidth' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.55
warningVariable 'iconOffsetHeigth' must be private and have accessor methods.57
warningVariable 'iconOffsetWidth' must be private and have accessor methods.58
warningLine is longer than 120 characters.59
warning'static' modifier out of order with the JLS suggestions.59
warningName 'iconOverlapOffsetWidth' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.59
warningLine is longer than 120 characters.60
warning'static' modifier out of order with the JLS suggestions.60
warningName 'iconOverlapOffsetHeigth' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.60
warningVariable 'mapCenterPxX' must be private and have accessor methods.61
warningVariable 'mapCenterPxY' must be private and have accessor methods.62
warningLine is longer than 120 characters.63
warning'static' modifier out of order with the JLS suggestions.63
warningName 'panFactor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.63
warningLine is longer than 120 characters.64
warning'static' modifier out of order with the JLS suggestions.64
warningName 'zoomFactor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.64
warning'static' modifier out of order with the JLS suggestions.65
warningName 'defaultNoCoord' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.65
warningVariable 'maxX' must be private and have accessor methods.67
warningVariable 'minX' must be private and have accessor methods.69
warningVariable 'maxY' must be private and have accessor methods.70
warningVariable 'minY' must be private and have accessor methods.71
warningVariable 'mapCenterCoordX' must be private and have accessor methods.72
warningVariable 'mapCenterCoordY' must be private and have accessor methods.73
warningName 'pixelSize' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.78
warningVariable 'imgMeterSize' must be private and have accessor methods.79
warningParameter defaultZoom should be final.85
warning'defaultZoom' hides a field.85
warningParameter sCoord should be final.97
warningVariable 'length' should be declared final.104
warning'if' construct must use '{}'s.115
warningVariable 'mp' should be declared final.122
warningVariable 'zoomscale' should be declared final.140
warningVariable 'metersPrPixel' should be declared final.142
warningVariable 'mapEnvelope' should be declared final.147
warningVariable 'mp' should be declared final.158
warningVariable 'zoomnivaa' should be declared final.162
warning'}' should be on the same line.164
warningVariable 'mps' should be declared final.186
warningVariable 'mp' should be declared final.205
warningVariable 'company' should be declared final.206
warningVariable 'mps' should be declared final.224
warningVariable 'mps' should be declared final.235
warningVariable 'mp' should be declared final.238
warningVariable 'company' should be declared final.240
warningVariable 'me' should be declared final.263
warningParameter vMapPoints should be final.273
warningParameter vMapPoints should be final.282
warningParameter zoomlevel should be final.282
warning')' is preceded with whitespace.293
warningLine is longer than 120 characters.295
warning'if' construct must use '{}'s.306
warning'if' construct must use '{}'s.308
warning'if' construct must use '{}'s.310
warning'if' construct must use '{}'s.312
warning')' is preceded with whitespace.316
warning'if' construct must use '{}'s.320
warning'}' should be on the same line.332
warning'}' should be on the same line.336
warning'}' should be on the same line.352
warningLine is longer than 120 characters.357
warningLine is longer than 120 characters.366
warning'}' should be on the same line.372
warning'if' construct must use '{}'s.374
warningLine is longer than 120 characters.374
warning'if' construct must use '{}'s.376
warningVariable 'factorHW' should be declared final.379
warningName 'factor_dXdY' must match pattern '^[a-z][a-zA-Z0-9]*$'.380
warningVariable 'factor_dXdY' should be declared final.380
warningLine is longer than 120 characters.381
warning')' is preceded with whitespace.381
warning'}' should be on the same line.383
warningLine is longer than 120 characters.384
warningLine is longer than 120 characters.387
warningVariable 'extFact' should be declared final.388
warningVariable 'extendTop' should be declared final.389
warningLine is longer than 120 characters.390
warningVariable 'extendBottom' should be declared final.390
warningVariable 'extendLeft' should be declared final.391
warningLine is longer than 120 characters.392
warningVariable 'extendRigth' should be declared final.392
warningVariable 'me' should be declared final.410
warning')' is preceded with whitespace.413
warningLine is longer than 120 characters.415
warning'if' construct must use '{}'s.425
warning'if' construct must use '{}'s.427
warning'if' construct must use '{}'s.429
warning'if' construct must use '{}'s.431
warningLine is longer than 120 characters.439
warning'if' construct must use '{}'s.449
warning'if' construct must use '{}'s.452
warningVariable 'xOffset' should be declared final.455
warningVariable 'yOffset' should be declared final.456
warningParameter vMapPoints should be final.495
warningVariable 'zoomscale' should be declared final.500
warningVariable 'arrList' should be declared final.503
warningVariable 'upperLeftX' should be declared final.506
warningVariable 'upperLeftY' should be declared final.507
warningLine is longer than 120 characters.508
warningLine is longer than 120 characters.511
warningVariable 'vMapPointsNew' should be declared final.512
warning'if' construct must use '{}'s.519
warning'if' construct must use '{}'s.521
warning'if' construct must use '{}'s.523
warning'if' construct must use '{}'s.525
warning'if' construct must use '{}'s.527
warningVariable 'deltaX' should be declared final.533
warningVariable 'deltaY' should be declared final.534
warningVariable 'yFactor' should be declared final.535
warningVariable 'xFactor' should be declared final.536
warning'}' should be on the same line.545
warningVariable 'deltaX' should be declared final.566
warningVariable 'deltaX' should be declared final.576
warningVariable 'length' should be declared final.579
warningVariable 'zoomscale' should be declared final.589
warning'if' construct must use '{}'s.591
warning'if' construct must use '{}'s.593
warning'if' construct must use '{}'s.595
warning'if' construct must use '{}'s.597
warning'if' construct must use '{}'s.599
warning'if' construct must use '{}'s.601
warning'if' construct must use '{}'s.603
warning'else' construct must use '{}'s.605
warning'if' construct must use '{}'s.617
warning'if' construct must use '{}'s.619
warning'if' construct must use '{}'s.621
warning'if' construct must use '{}'s.623
warning'if' construct must use '{}'s.625
warning'if' construct must use '{}'s.627
warningVariable 'zoomLevels' should be declared final.637
warningParameter imgWidth should be final.663
warningParameter imgHeigth should be final.671
warningParameter env should be final.680
warningVariable 'tmp' should be declared final.714

no/sesat/search/view/output/syndication/modules/SearchResultModuleParser.java

ViolationMessageLine
warningExpression can be simplified.76

no/sesat/search/InfrastructureException.java

ViolationMessageLine
warningParameter e should be final.33
warningParameter s should be final.43
warningParameter e should be final.43

no/sesat/search/util/SearchConstants.java

ViolationMessageLine
warningName 'PROPERTY_KEY___QR_SERVER' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.33
warningName 'PROPERTY_KEY___TV_PATTERN' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.34
warningName '_COLLECTION_KEY' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.35
warningName '_SPELLCHECK' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.36
warningName '_LANGUAGE' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.37
warningName '_WEBCRAWL_TEMPLATE' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.38

no/sesat/search/view/output/TextOutputResultHandler.java

ViolationMessageLine
warningUnused import - java.util.Iterator.20

no/sesat/search/run/package.html

ViolationMessageLine
warningMissing package documentation file.0

no/sesat/search/view/velocity/VelocityEngineFactory.java

ViolationMessageLine
warningUnused import - java.io.IOException.25
warningUnused import - no.sesat.search.view.FindResource.51
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.126
warningRedundant throws: 'ResourceNotFoundException' is subclass of 'Exception'.274
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.274
warningRedundant throws: 'ParseErrorException' is subclass of 'Exception'.274
warningRedundant throws: 'ParseErrorException' is unchecked exception.274

no/sesat/search/result/Boomerang.java

ViolationMessageLine
warningUnused import - no.sesat.search.site.config.SiteConfiguration.21
warningUtility classes should not have a public or default constructor.33

no/sesat/search/view/output/syndication/modules/SearchResultModuleImpl.java

ViolationMessageLine
warningVariable 'm' should be declared final.57
warningParameter newsSource should be final.70

no/sesat/search/http/servlet/FactoryReloads.java

ViolationMessageLine
warningswitch without "default" clause.80
warning'(' is followed by whitespace.98

no/sesat/search/view/velocity/URLVelocityTemplateLoader.java

ViolationMessageLine
warningUsing the '.*' form of import should be avoided - java.io.*.19
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.71
warningVariable 'content' should be declared final.97
warningMust have at least one statement.115
warningVariable 'builder' should be declared final.153
warningVariable 'isr' should be declared final.156
warningVariable 'in' should be declared final.157
warningVariable 'fileStream' should be declared final.201
warningParameter ctx should be final.252
warningVariable 'style' should be declared final.255
warning'}' should be on the same line.259
warning'}' should be on the same line.262
warningLine is longer than 120 characters.268
warningLine is longer than 120 characters.278

no/sesat/search/view/output/SyndicationGenerator.java

ViolationMessageLine
warningUnused import - javax.resource.NotSupportedException.66
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.313

no/sesat/search/view/velocity/URLResourceLoader.java

ViolationMessageLine
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.110
warning'(' is followed by whitespace.114
warning')' is preceded with whitespace.114
warning'(' is followed by whitespace.118
warning')' is preceded with whitespace.118
warning'(' is followed by whitespace.119
warning')' is preceded with whitespace.119
warningParameter resource should be final.125
warningParameter resource should be final.134
warning'(' is followed by whitespace.140
warning')' is preceded with whitespace.140
warning'(' is followed by whitespace.141
warning')' is preceded with whitespace.141
warning'(' is followed by whitespace.142
warning')' is preceded with whitespace.142
warning'(' is followed by whitespace.143
warning')' is preceded with whitespace.143
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.155
warning')' is preceded with whitespace.158
warning'(' is followed by whitespace.161
warning')' is preceded with whitespace.161
warning'(' is followed by whitespace.162
warning')' is preceded with whitespace.162
warningRedundant throws: 'ResourceNotFoundException' is unchecked exception.167
warning'(' is followed by whitespace.177
warning')' is preceded with whitespace.177