Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Info Warnings Errors
3800794

Files

File I W E
gov/nasa/pds/validate/DirectoryValidator.java0015
gov/nasa/pds/validate/FileValidator.java0033
gov/nasa/pds/validate/ReferentialIntegrityValidator.java0047
gov/nasa/pds/validate/ValidateLauncher.java00183
gov/nasa/pds/validate/Validator.java0035
gov/nasa/pds/validate/ValidatorFactory.java0015
gov/nasa/pds/validate/XPath/CoreXPaths.java0019
gov/nasa/pds/validate/checksum/ChecksumManifest.java007
gov/nasa/pds/validate/commandline/options/ConfigKey.java003
gov/nasa/pds/validate/commandline/options/Flag.java0023
gov/nasa/pds/validate/commandline/options/FlagOptions.java001
gov/nasa/pds/validate/commandline/options/InvalidOptionException.java002
gov/nasa/pds/validate/commandline/options/ToolsOption.java0030
gov/nasa/pds/validate/crawler/Crawler.java0010
gov/nasa/pds/validate/crawler/CrawlerFactory.java004
gov/nasa/pds/validate/crawler/FileCrawler.java008
gov/nasa/pds/validate/crawler/URLCrawler.java009
gov/nasa/pds/validate/crawler/WildcardOSFilter.java009
gov/nasa/pds/validate/inventory/reader/InventoryEntry.java0022
gov/nasa/pds/validate/inventory/reader/InventoryKeys.java005
gov/nasa/pds/validate/inventory/reader/InventoryReader.java001
gov/nasa/pds/validate/inventory/reader/InventoryReaderException.java006
gov/nasa/pds/validate/inventory/reader/InventoryTableReader.java0017
gov/nasa/pds/validate/report/FullReport.java0016
gov/nasa/pds/validate/report/JSONReport.java0020
gov/nasa/pds/validate/report/Report.java0059
gov/nasa/pds/validate/report/XmlReport.java0030
gov/nasa/pds/validate/schema/SchemaValidator.java0010
gov/nasa/pds/validate/status/Status.java0012
gov/nasa/pds/validate/target/Target.java0030
gov/nasa/pds/validate/target/TargetType.java0011
gov/nasa/pds/validate/util/LidVid.java0022
gov/nasa/pds/validate/util/Namespace.java0018
gov/nasa/pds/validate/util/PDSNamespaceContext.java0030
gov/nasa/pds/validate/util/ToolInfo.java0013
gov/nasa/pds/validate/util/Utility.java0013
gov/nasa/pds/validate/util/XMLErrorListener.java006

Rules

RuleViolationsSeverity
JavadocPackage
  • allowLegacy: "true"
11 Error
NewlineAtEndOfFile0 Error
Translation0 Error
FileLength0 Error
FileTabCharacter
  • eachLine: "true"
45 Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
19 Error
JavadocMethod104 Error
JavadocType4 Error
JavadocVariable54 Error
JavadocStyle4 Error
ConstantName2 Error
LocalFinalVariableName0 Error
LocalVariableName0 Error
MemberName2 Error
MethodName0 Error
PackageName0 Error
ParameterName1 Error
StaticVariableName0 Error
TypeName0 Error
AvoidStarImport0 Error
IllegalImport0 Error
RedundantImport0 Error
UnusedImports14 Error
LineLength47 Error
MethodLength1 Error
ParameterNumber0 Error
EmptyForIteratorPad1 Error
MethodParamPad3 Error
NoWhitespaceAfter0 Error
NoWhitespaceBefore0 Error
OperatorWrap15 Error
ParenPad20 Error
TypecastParenPad0 Error
WhitespaceAfter4 Error
WhitespaceAround14 Error
ModifierOrder4 Error
RedundantModifier12 Error
AvoidNestedBlocks0 Error
EmptyBlock7 Error
LeftCurly0 Error
NeedBraces5 Error
RightCurly0 Error
AvoidInlineConditionals6 Error
EmptyStatement5 Error
EqualsHashCode1 Error
HiddenField56 Error
IllegalInstantiation0 Error
InnerAssignment0 Error
MagicNumber7 Error
MissingSwitchDefault0 Error
RedundantThrows1 Error
SimplifyBooleanExpression4 Error
SimplifyBooleanReturn2 Error
DesignForExtension116 Error
FinalClass1 Error
HideUtilityClassConstructor6 Error
InterfaceIsType1 Error
VisibilityModifier16 Error
ArrayTypeStyle1 Error
FinalParameters176 Error
TodoComment2 Error
UpperEll0 Error

Details

gov/nasa/pds/validate/DirectoryValidator.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorParameter modelVersion should be final.58
 ErrorParameter report should be final.58
 ErrorExpected @throws tag for 'ParserConfigurationException'.59
 ErrorExpected @throws tag for 'ValidatorException'.59
 ErrorExpected @throws tag for 'TransformerConfigurationException'.60
 ErrorMethod 'setRecurse' is not designed for extension - needs to be abstract, final or empty.71
 ErrorParameter value should be final.71
 ErrorMethod 'setFileFilters' is not designed for extension - needs to be abstract, final or empty.81
 ErrorParameter filters should be final.81
 ErrorMethod 'validate' is not designed for extension - needs to be abstract, final or empty.92
 ErrorParameter directory should be final.92
 ErrorExpected @throws tag for 'Exception'.92
 Error'catch' is not followed by whitespace.129
 ErrorMust have at least one statement.129

gov/nasa/pds/validate/FileValidator.java

SeverityMessageLine
 ErrorUnused import - gov.nasa.pds.validate.inventory.reader.InventoryReaderException.22
 ErrorUnused import - java.io.IOException.27
 ErrorUnused import - javax.xml.xpath.XPathExpressionException.44
 ErrorUnused import - org.xml.sax.SAXException.49
 ErrorMissing a Javadoc comment.58
 ErrorMissing a Javadoc comment.59
 ErrorMissing a Javadoc comment.60
 ErrorMissing a Javadoc comment.61
 ErrorParameter modelVersion should be final.72
 ErrorParameter report should be final.72
 ErrorExpected @throws tag for 'ParserConfigurationException'.73
 ErrorExpected @throws tag for 'ValidatorException'.73
 ErrorExpected @throws tag for 'TransformerConfigurationException'.74
 ErrorMethod 'validate' is not designed for extension - needs to be abstract, final or empty.95
 ErrorParameter file should be final.95
 ErrorExpected @throws tag for 'Exception'.95
 ErrorMethod 'validate' is not designed for extension - needs to be abstract, final or empty.99
 ErrorParameter url should be final.100
 Error'labelSchematrons' hides a field.108
 ErrorMissing a Javadoc comment.134
 ErrorParameter label should be final.134
 ErrorParameter labelProblems should be final.135
 Error'||' should be on a new line.150
 ErrorMust have at least one statement.188
 ErrorMust have at least one statement.200
 Error'catch' is not followed by whitespace.237
 ErrorMust have at least one statement.237
 ErrorMissing a Javadoc comment.277
 ErrorParameter label should be final.277
 ErrorParameter labelProblems should be final.278
 ErrorLine is longer than 80 characters (found 81).287
 ErrorMust have at least one statement.323
 ErrorMust have at least one statement.357

gov/nasa/pds/validate/ReferentialIntegrityValidator.java

SeverityMessageLine
 ErrorUnused import - java.net.MalformedURLException.17
 ErrorMissing a Javadoc comment.53
 ErrorMissing a Javadoc comment.70
 ErrorMethod 'validate' is not designed for extension - needs to be abstract, final or empty.78
 ErrorMethod length is 285 lines (max allowed is 150).78
 ErrorParameter container should be final.79
 ErrorParameter xml should be final.79
 Error'bundleMembers' hides a field.93
 Error'&&' should be on a new line.113
 Error'||' should be on a new line.114
 Error')' is preceded with whitespace.115
 ErrorLine is longer than 80 characters (found 84).127
 ErrorLine is longer than 80 characters (found 82).181
 ErrorLine is longer than 80 characters (found 93).195
 ErrorLine is longer than 80 characters (found 98).209
 Error'collectionMembers' hides a field.221
 Error'&&' should be on a new line.241
 Error'||' should be on a new line.242
 ErrorLine is longer than 80 characters (found 81).243
 Error')' is preceded with whitespace.243
 ErrorLine is longer than 80 characters (found 84).255
 ErrorLine is longer than 80 characters (found 86).309
 ErrorLine is longer than 80 characters (found 97).324
 Error'(' is followed by whitespace.339
 ErrorLine is longer than 80 characters (found 100).340
 Error')' is preceded with whitespace.340
 ErrorLine is longer than 80 characters (found 92).365
 ErrorMethod 'findMatchingLidVids' is not designed for extension - needs to be abstract, final or empty.365
 ErrorMissing a Javadoc comment.365
 ErrorParameter products should be final.365
 ErrorMethod 'clearSources' is not designed for extension - needs to be abstract, final or empty.380
 ErrorMissing a Javadoc comment.380
 ErrorMethod 'setSources' is not designed for extension - needs to be abstract, final or empty.388
 ErrorMissing a Javadoc comment.388
 ErrorParameter target should be final.388
 ErrorParameter traverse should be final.388
 ErrorParameter regExps should be final.388
 ErrorRedundant throws: 'IOException' is subclass of 'Exception'.389
 ErrorMissing a Javadoc comment.403
 ErrorParameter targets should be final.403
 ErrorParameter traverse should be final.403
 ErrorParameter regExps should be final.404
 Error'(' is preceded with whitespace.414
 ErrorMissing a Javadoc comment.421
 ErrorParameter target should be final.421
 ErrorMissing a Javadoc comment.492
 ErrorParameter identifier should be final.492

gov/nasa/pds/validate/ValidateLauncher.java

SeverityMessageLine
 ErrorUnused import - gov.nasa.pds.tools.label.validate.FileReferenceValidator.25
 ErrorUnused import - net.sf.saxon.trans.XPathException.43
 ErrorUnused import - java.util.TreeMap.61
 ErrorUnused import - javax.xml.transform.SourceLocator.63
 ErrorUnused import - javax.xml.transform.TransformerException.66
 ErrorUnused import - org.omg.CORBA.portable.ApplicationException.83
 ErrorMissing a Javadoc comment.112
 ErrorName 'DEFAULT_FILE_FILTERS' must match pattern '^[a-z][a-zA-Z0-9]*$'.146
 ErrorMissing a Javadoc comment.148
 ErrorMissing a Javadoc comment.150
 ErrorMissing a Javadoc comment.152
 ErrorMissing a Javadoc comment.154
 ErrorLine has trailing spaces.161
 ErrorExpected @throws tag for 'TransformerConfigurationException'.170
 ErrorFirst sentence should end with a period.192
 ErrorMethod 'parse' is not designed for extension - needs to be abstract, final or empty.200
 ErrorParameter args should be final.200
 ErrorMethod 'query' is not designed for extension - needs to be abstract, final or empty.213
 ErrorParameter line should be final.213
 Error'(' is followed by whitespace.286
 Error')' is preceded with whitespace.286
 ErrorLine has trailing spaces.293
 ErrorLine has trailing spaces.298
 ErrorLine has trailing spaces.299
 ErrorMethod 'query' is not designed for extension - needs to be abstract, final or empty.314
 ErrorParameter configuration should be final.314
 ErrorExpression can be simplified.354
 ErrorMethod 'setTargets' is not designed for extension - needs to be abstract, final or empty.389
 ErrorParameter targets should be final.389
 Error'targets' hides a field.389
 ErrorExpected @throws tag for 'MalformedURLException'.390
 Error'while' construct must use '{}'s.392
 ErrorEmpty statement.392
 ErrorMethod 'setChecksumManifest' is not designed for extension - needs to be abstract, final or empty.411
 ErrorParameter manifest should be final.411
 ErrorExpected @throws tag for 'MalformedURLException'.412
 ErrorMethod 'setManifestBasePath' is not designed for extension - needs to be abstract, final or empty.430
 ErrorParameter path should be final.430
 ErrorExpected @throws tag for 'MalformedURLException'.431
 ErrorMethod 'setSchemas' is not designed for extension - needs to be abstract, final or empty.441
 ErrorParameter schemas should be final.441
 Error'schemas' hides a field.441
 ErrorExpected @throws tag for 'MalformedURLException'.441
 Error'while' construct must use '{}'s.442
 ErrorEmpty statement.442
 ErrorMethod 'setSchematrons' is not designed for extension - needs to be abstract, final or empty.454
 ErrorParameter schematrons should be final.454
 Error'schematrons' hides a field.454
 ErrorExpected @throws tag for 'MalformedURLException'.455
 Error'while' construct must use '{}'s.456
 ErrorEmpty statement.456
 ErrorMethod 'setCatalogs' is not designed for extension - needs to be abstract, final or empty.467
 ErrorParameter catalogs should be final.467
 Error'catalogs' hides a field.467
 Error'while' construct must use '{}'s.468
 ErrorEmpty statement.468
 ErrorMethod 'setReport' is not designed for extension - needs to be abstract, final or empty.477
 ErrorParameter report should be final.477
 Error'report' hides a field.477
 ErrorMethod 'getReport' is not designed for extension - needs to be abstract, final or empty.486
 ErrorMethod 'setReportStyle' is not designed for extension - needs to be abstract, final or empty.496
 ErrorParameter style should be final.496
 ErrorExpected @throws tag for 'Exception'.496
 Error'(' is followed by whitespace.497
 ErrorExpression can be simplified.497
 Error'&&' should be on a new line.497
 ErrorExpression can be simplified.498
 Error'&&' should be on a new line.498
 ErrorExpression can be simplified.499
 ErrorMethod 'setTraverse' is not designed for extension - needs to be abstract, final or empty.512
 ErrorParameter value should be final.512
 ErrorMethod 'setSeverity' is not designed for extension - needs to be abstract, final or empty.521
 ErrorParameter level should be final.521
 Error'3' is a magic number.522
 Error'3' is a magic number.530
 ErrorMethod 'setRegExps' is not designed for extension - needs to be abstract, final or empty.540
 ErrorParameter patterns should be final.540
 Error'while' construct must use '{}'s.542
 ErrorEmpty statement.542
 ErrorMethod 'setModelVersion' is not designed for extension - needs to be abstract, final or empty.550
 ErrorParameter version should be final.550
 ErrorMethod 'setForce' is not designed for extension - needs to be abstract, final or empty.554
 ErrorMissing a Javadoc comment.554
 ErrorParameter value should be final.554
 ErrorLine has trailing spaces.557
 ErrorLine has trailing spaces.560
 ErrorMethod 'setValidationRule' is not designed for extension - needs to be abstract, final or empty.563
 ErrorParameter value should be final.563
 ErrorMethod 'displayHelp' is not designed for extension - needs to be abstract, final or empty.585
 Error'80' is a magic number.587
 ErrorMethod 'displayVersion' is not designed for extension - needs to be abstract, final or empty.597
 ErrorMethod 'setupReport' is not designed for extension - needs to be abstract, final or empty.618
 Error'{' is not preceded with whitespace.621
 ErrorLine is longer than 80 characters (found 81).650
 Error'(' is followed by whitespace.650
 Error')' is preceded with whitespace.650
 ErrorLine is longer than 80 characters (found 82).668
 ErrorLine is longer than 80 characters (found 93).679
 ErrorLine is longer than 80 characters (found 93).680
 ErrorMethod 'doValidation' is not designed for extension - needs to be abstract, final or empty.689
 ErrorParameter checksumManifest should be final.689
 Error'checksumManifest' hides a field.689
 ErrorExpected @param tag for 'checksumManifest'.689
 ErrorExpected @throws tag for 'Exception'.690
 ErrorLine has trailing spaces.706
 ErrorLine has trailing spaces.708
 ErrorLine contains a tab character.710
 ErrorLine has trailing spaces.712
 ErrorUnused @throws tag for 'TransformerException'.772
 ErrorParameter schematron should be final.775
 ErrorParameter container should be final.776
 ErrorUnused @param tag for 'schema'.794
 ErrorParameter schemas should be final.799
 Error'schemas' hides a field.799
 ErrorExpected @param tag for 'schemas'.799
 ErrorExpected @throws tag for 'Exception'.800
 ErrorComment matches to-do format 'TODO:'.815
 Error'for' is not followed by whitespace.828
 ErrorMethod 'printReportFooter' is not designed for extension - needs to be abstract, final or empty.843
 ErrorParameter args should be final.852
 Error'?' should be on a new line.865
 ErrorAvoid inline conditionals.865
 Error':' should be on a new line.866
 Error'(' is followed by whitespace.907
 Error')' is preceded with whitespace.907
 ErrorParameter args should be final.922
 ErrorExpected @throws tag for 'TransformerConfigurationException'.923
 ErrorLine has trailing spaces.934
 ErrorLine has trailing spaces.940
 ErrorLine contains a tab character.940
 ErrorLine is longer than 80 characters (found 109).941
 ErrorLine contains a tab character.941
 ErrorMissing a Javadoc comment.941
 ErrorLine contains a tab character.942
 ErrorMissing a Javadoc comment.942
 ErrorLine has trailing spaces.943
 ErrorLine contains a tab character.943
 ErrorLine contains a tab character.944
 ErrorMissing a Javadoc comment.944
 ErrorParameter rootLocation should be final.944
 Error'rootLocation' hides a field.944
 ErrorLine contains a tab character.945
 ErrorLine contains a tab character.946
 ErrorLine has trailing spaces.947
 ErrorLine contains a tab character.947
 ErrorLine contains a tab character.948
 ErrorLine contains a tab character.949
 ErrorParameter ex should be final.949
 ErrorLine contains a tab character.950
 ErrorLine contains a tab character.951
 ErrorLine contains a tab character.952
 ErrorLine contains a tab character.953
 ErrorLine has trailing spaces.954
 ErrorLine contains a tab character.954
 ErrorLine contains a tab character.955
 ErrorLine contains a tab character.956
 ErrorLine contains a tab character.957
 ErrorLine has trailing spaces.958
 ErrorLine contains a tab character.958
 ErrorLine contains a tab character.959
 ErrorMissing a Javadoc comment.959
 ErrorLine contains a tab character.960
 ErrorLine contains a tab character.961
 ErrorLine contains a tab character.962
 ErrorLine contains a tab character.963
 ErrorLine contains a tab character.964
 ErrorMust have at least one statement.964
 ErrorLine contains a tab character.965
 ErrorLine contains a tab character.966
 ErrorLine is longer than 80 characters (found 85).967
 ErrorLine contains a tab character.967
 ErrorLine contains a tab character.968
 ErrorLine contains a tab character.969
 ErrorLine has trailing spaces.970
 ErrorLine contains a tab character.970
 ErrorLine contains a tab character.971
 ErrorMissing a Javadoc comment.971
 ErrorParameter location should be final.971
 ErrorLine contains a tab character.972
 ErrorLine contains a tab character.973
 ErrorLine contains a tab character.974
 ErrorLine contains a tab character.975
 ErrorLine contains a tab character.976

gov/nasa/pds/validate/Validator.java

SeverityMessageLine
 ErrorVariable 'report' must be private and have accessor methods.45
 ErrorVariable 'schemas' must be private and have accessor methods.51
 ErrorVariable 'catalogs' must be private and have accessor methods.57
 ErrorVariable 'labelValidator' must be private and have accessor methods.62
 ErrorVariable 'force' must be private and have accessor methods.67
 ErrorVariable 'schemaValidator' must be private and have accessor methods.72
 ErrorVariable 'schematronTransformer' must be private and have accessor methods.77
 ErrorParameter modelVersion should be final.89
 ErrorParameter report should be final.89
 Error'report' hides a field.89
 ErrorExpected @throws tag for 'ParserConfigurationException'.90
 ErrorExpected @throws tag for 'ValidatorException'.90
 ErrorExpected @throws tag for 'TransformerConfigurationException'.91
 ErrorMethod 'setSchemas' is not designed for extension - needs to be abstract, final or empty.111
 ErrorParameter schemaFiles should be final.111
 ErrorExpected @throws tag for 'SAXException'.111
 ErrorMethod 'setSchematrons' is not designed for extension - needs to be abstract, final or empty.120
 ErrorParameter schematrons should be final.120
 ErrorMethod 'setCachedEntityResolver' is not designed for extension - needs to be abstract, final or empty.124
 ErrorMissing a Javadoc comment.124
 ErrorParameter resolver should be final.124
 ErrorMethod 'setCachedLSResourceResolver' is not designed for extension - needs to be abstract, final or empty.128
 ErrorMissing a Javadoc comment.128
 ErrorParameter resolver should be final.128
 ErrorMethod 'setCatalogs' is not designed for extension - needs to be abstract, final or empty.137
 ErrorParameter catalogs should be final.137
 Error'catalogs' hides a field.137
 ErrorMethod 'setForce' is not designed for extension - needs to be abstract, final or empty.141
 ErrorMissing a Javadoc comment.141
 ErrorParameter value should be final.141
 ErrorMethod 'addValidator' is not designed for extension - needs to be abstract, final or empty.147
 ErrorMissing a Javadoc comment.147
 ErrorParameter validator should be final.147
 ErrorExpected @throws tag for 'Exception'.158
 ErrorMissing a Javadoc comment.160

gov/nasa/pds/validate/ValidatorFactory.java

SeverityMessageLine
 ErrorClass ValidatorFactory should be declared as final.33
 ErrorMissing a Javadoc comment.37
 ErrorLine has trailing spaces.38
 ErrorExpected an @return tag.54
 ErrorLine is longer than 80 characters (found 88).70
 ErrorParameter target should be final.72
 ErrorLine contains a tab character.76
 ErrorLine contains a tab character.77
 ErrorLine contains a tab character.78
 Error'for' is not followed by whitespace.78
 ErrorLine contains a tab character.79
 ErrorLine contains a tab character.80
 ErrorParameter validators should be final.89
 ErrorParameter modelVersion should be final.97
 Error'modelVersion' hides a field.97

gov/nasa/pds/validate/XPath/CoreXPaths.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 Errorinterfaces should describe a type and hence have methods.23
 ErrorRedundant 'public' modifier.27
 Error'static' modifier out of order with the JLS suggestions.27
 ErrorRedundant 'public' modifier.33
 Error'static' modifier out of order with the JLS suggestions.33
 ErrorRedundant 'public' modifier.39
 Error'static' modifier out of order with the JLS suggestions.39
 ErrorRedundant 'public' modifier.45
 ErrorRedundant 'public' modifier.51
 ErrorLine is longer than 80 characters (found 110).52
 ErrorRedundant 'public' modifier.58
 ErrorLine is longer than 80 characters (found 94).59
 ErrorRedundant 'public' modifier.62
 ErrorRedundant 'public' modifier.66
 Error'static' modifier out of order with the JLS suggestions.66
 ErrorRedundant 'public' modifier.69
 ErrorRedundant 'public' modifier.72
 ErrorRedundant 'public' modifier.75

gov/nasa/pds/validate/checksum/ChecksumManifest.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMissing a Javadoc comment.34
 ErrorMissing a Javadoc comment.36
 ErrorParameter baseUrl should be final.36
 Error'baseUrl' hides a field.36
 ErrorMethod 'read' is not designed for extension - needs to be abstract, final or empty.54
 ErrorParameter manifest should be final.54

gov/nasa/pds/validate/commandline/options/ConfigKey.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorUtility classes should not have a public or default constructor.23
 ErrorLine has trailing spaces.67

gov/nasa/pds/validate/commandline/options/Flag.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.23
 ErrorMissing a Javadoc comment.27
 ErrorLine has trailing spaces.124
 ErrorMissing a Javadoc comment.125
 ErrorLine is longer than 80 characters (found 119).126
 ErrorLine contains a tab character.126
 ErrorLine is longer than 80 characters (found 92).127
 ErrorLine contains a tab character.127
 Error'shortName' hides a field.154
 Error'longName' hides a field.154
 Error'description' hides a field.155
 Error'shortName' hides a field.168
 Error'longName' hides a field.168
 Error'argName' hides a field.169
 Error'argType' hides a field.169
 Error'description' hides a field.170
 Error'shortName' hides a field.183
 Error'longName' hides a field.183
 Error'argName' hides a field.184
 Error'argType' hides a field.184
 Error'allowsMultipleArgs' hides a field.185
 ErrorExpected @param tag for 'allowsMultipleArgs'.185
 Error'description' hides a field.185

gov/nasa/pds/validate/commandline/options/FlagOptions.java

SeverityMessageLine
 ErrorUtility classes should not have a public or default constructor.24

gov/nasa/pds/validate/commandline/options/InvalidOptionException.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.24
 ErrorParameter msg should be final.31

gov/nasa/pds/validate/commandline/options/ToolsOption.java

SeverityMessageLine
 ErrorParameter opt should be final.34
 ErrorParameter longOpt should be final.34
 ErrorParameter description should be final.34
 ErrorMissing a Javadoc comment.38
 ErrorParameter flag should be final.38
 ErrorMethod 'hasArg' is not designed for extension - needs to be abstract, final or empty.55
 ErrorParameter name should be final.55
 ErrorParameter type should be final.55
 ErrorMethod 'hasArg' is not designed for extension - needs to be abstract, final or empty.67
 ErrorParameter name should be final.67
 ErrorParameter type should be final.67
 ErrorParameter isOptional should be final.67
 ErrorMethod 'hasArgs' is not designed for extension - needs to be abstract, final or empty.82
 ErrorParameter name should be final.82
 ErrorParameter type should be final.82
 ErrorMethod 'hasArgs' is not designed for extension - needs to be abstract, final or empty.98
 ErrorParameter name should be final.98
 ErrorParameter type should be final.98
 ErrorParameter separator should be final.98
 ErrorMethod 'hasArgs' is not designed for extension - needs to be abstract, final or empty.113
 ErrorParameter name should be final.113
 ErrorParameter type should be final.113
 ErrorParameter separator should be final.113
 ErrorParameter isOptional should be final.114
 ErrorMethod 'hasArgs' is not designed for extension - needs to be abstract, final or empty.129
 ErrorParameter numArgs should be final.129
 ErrorParameter name should be final.129
 ErrorParameter type should be final.129
 ErrorParameter separator should be final.129
 ErrorParameter isOptional should be final.130

gov/nasa/pds/validate/crawler/Crawler.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMissing a Javadoc comment.26
 ErrorVariable 'fileFilter' must be private and have accessor methods.28
 ErrorVariable 'directoryFilter' must be private and have accessor methods.31
 ErrorVariable 'getDirectories' must be private and have accessor methods.34
 ErrorMissing a Javadoc comment.36
 ErrorParameter getDirectories should be final.36
 Error'getDirectories' hides a field.36
 ErrorParameter fileFilters should be final.36
 ErrorMissing a Javadoc comment.45

gov/nasa/pds/validate/crawler/CrawlerFactory.java

SeverityMessageLine
 ErrorUtility classes should not have a public or default constructor.25
 ErrorParameter url should be final.36
 ErrorParameter getDirectories should be final.36
 ErrorParameter fileFilters should be final.37

gov/nasa/pds/validate/crawler/FileCrawler.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.35
 ErrorParameter getDirectories should be final.35
 ErrorParameter fileFilters should be final.35
 ErrorMethod 'crawl' is not designed for extension - needs to be abstract, final or empty.48
 ErrorParameter fileUrl should be final.48
 ErrorExpected @throws tag for 'IOException'.48
 Error'(' is followed by whitespace.50
 Error')' is preceded with whitespace.50

gov/nasa/pds/validate/crawler/URLCrawler.java

SeverityMessageLine
 ErrorUnused import - java.util.HashSet.22
 ErrorParameter getDirectories should be final.48
 ErrorParameter fileFilters should be final.48
 ErrorMethod 'crawl' is not designed for extension - needs to be abstract, final or empty.52
 ErrorParameter url should be final.62
 ErrorLine is longer than 80 characters (found 89).70
 Error'3' is a magic number.71
 Error'&&' should be on a new line.79
 Error'&&' should be on a new line.80

gov/nasa/pds/validate/crawler/WildcardOSFilter.java

SeverityMessageLine
 ErrorParameter wc should be final.47
 ErrorMethod 'getWildcards' is not designed for extension - needs to be abstract, final or empty.60
 ErrorParameter wc should be final.69
 ErrorMethod 'accept' is not designed for extension - needs to be abstract, final or empty.87
 ErrorParameter file should be final.88
 Error';' is followed by whitespace.92
 ErrorMethod 'accept' is not designed for extension - needs to be abstract, final or empty.111
 ErrorParameter dir should be final.112
 ErrorParameter name should be final.112

gov/nasa/pds/validate/inventory/reader/InventoryEntry.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorFirst sentence should end with a period.37
 ErrorParameter identifier should be final.51
 Error'identifier' hides a field.51
 ErrorParameter memberStatus should be final.51
 Error'memberStatus' hides a field.51
 ErrorLine is longer than 80 characters (found 93).62
 ErrorParameter file should be final.62
 Error'file' hides a field.62
 ErrorParameter checksum should be final.62
 Error'checksum' hides a field.62
 ErrorParameter identifier should be final.62
 Error'identifier' hides a field.62
 ErrorParameter memberStatus should be final.62
 Error'memberStatus' hides a field.62
 ErrorExpected @param tag for 'memberStatus'.62
 ErrorMethod 'getFile' is not designed for extension - needs to be abstract, final or empty.74
 ErrorMethod 'getChecksum' is not designed for extension - needs to be abstract, final or empty.83
 ErrorMethod 'getIdentifier' is not designed for extension - needs to be abstract, final or empty.92
 ErrorMethod 'getMemberStatus' is not designed for extension - needs to be abstract, final or empty.101
 ErrorMethod 'isEmpty' is not designed for extension - needs to be abstract, final or empty.110
 ErrorConditional logic can be removed.111

gov/nasa/pds/validate/inventory/reader/InventoryKeys.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.19
 ErrorUtility classes should not have a public or default constructor.19
 ErrorMissing a Javadoc comment.21
 ErrorName 'fieldDelimiters' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.21
 Error',' is not followed by whitespace.25

gov/nasa/pds/validate/inventory/reader/InventoryReader.java

SeverityMessageLine
 ErrorRedundant 'public' modifier.33

gov/nasa/pds/validate/inventory/reader/InventoryReaderException.java

SeverityMessageLine
 ErrorParameter exception should be final.39
 Error'exception' hides a field.39
 ErrorMethod 'getException' is not designed for extension - needs to be abstract, final or empty.48
 ErrorMethod 'getLineNumber' is not designed for extension - needs to be abstract, final or empty.56
 ErrorMethod 'setLineNumber' is not designed for extension - needs to be abstract, final or empty.65
 ErrorParameter line should be final.65

gov/nasa/pds/validate/inventory/reader/InventoryTableReader.java

SeverityMessageLine
 ErrorUnused import - java.net.MalformedURLException.23
 ErrorUnused import - java.net.URISyntaxException.24
 ErrorParameter url should be final.64
 Error'?' should be on a new line.71
 ErrorAvoid inline conditionals.71
 Error':' should be on a new line.72
 ErrorLine is longer than 80 characters (found 83).97
 ErrorLine is longer than 80 characters (found 83).106
 ErrorLine is longer than 80 characters (found 83).119
 ErrorMethod 'getDataFile' is not designed for extension - needs to be abstract, final or empty.133
 ErrorMethod 'getLineNumber' is not designed for extension - needs to be abstract, final or empty.142
 ErrorMethod 'getNext' is not designed for extension - needs to be abstract, final or empty.157
 ErrorArray brackets at illegal position.176
 Error'-' is not preceded with whitespace.179
 Error'-' is not followed by whitespace.179
 Error'-' is not preceded with whitespace.191
 Error'-' is not followed by whitespace.191

gov/nasa/pds/validate/report/FullReport.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMethod 'printHeader' is not designed for extension - needs to be abstract, final or empty.39
 ErrorParameter writer should be final.40
 ErrorMethod 'printRecordMessages' is not designed for extension - needs to be abstract, final or empty.44
 ErrorParameter writer should be final.45
 ErrorParameter status should be final.45
 ErrorParameter sourceUri should be final.46
 ErrorParameter problems should be final.46
 ErrorLine is longer than 80 characters (found 101).47
 Error'(' is followed by whitespace.56
 ErrorLine is longer than 80 characters (found 84).61
 ErrorMissing a Javadoc comment.80
 ErrorParameter writer should be final.80
 ErrorParameter writer should be final.110
 ErrorMethod 'printRecordSkip' is not designed for extension - needs to be abstract, final or empty.114
 ErrorParameter writer should be final.115

gov/nasa/pds/validate/report/JSONReport.java

SeverityMessageLine
 ErrorMethod 'printHeader' is not designed for extension - needs to be abstract, final or empty.41
 ErrorMissing a Javadoc comment.41
 Error',' is not followed by whitespace.54
 ErrorParameter writer should be final.68
 ErrorMethod 'printRecordMessages' is not designed for extension - needs to be abstract, final or empty.71
 ErrorParameter writer should be final.72
 ErrorParameter status should be final.72
 ErrorParameter sourceUri should be final.73
 ErrorParameter problems should be final.73
 ErrorLine is longer than 80 characters (found 101).74
 Error'(' is followed by whitespace.81
 ErrorLine is longer than 80 characters (found 84).86
 ErrorMissing a Javadoc comment.112
 ErrorLine is longer than 80 characters (found 81).127
 ErrorMethod 'printRecordSkip' is not designed for extension - needs to be abstract, final or empty.135
 ErrorMissing a Javadoc comment.135
 ErrorParameter writer should be final.135
 ErrorParameter writer should be final.155
 ErrorMethod 'printFooter' is not designed for extension - needs to be abstract, final or empty.159
 ErrorMissing a Javadoc comment.159

gov/nasa/pds/validate/report/Report.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.41
 ErrorMissing a Javadoc comment.42
 ErrorMissing a Javadoc comment.43
 ErrorMissing a Javadoc comment.44
 ErrorMissing a Javadoc comment.45
 ErrorMissing a Javadoc comment.46
 ErrorMissing a Javadoc comment.47
 ErrorVariable 'parameters' must be private and have accessor methods.47
 ErrorMissing a Javadoc comment.48
 ErrorVariable 'configurations' must be private and have accessor methods.48
 ErrorMissing a Javadoc comment.49
 ErrorVariable 'writer' must be private and have accessor methods.49
 ErrorMissing a Javadoc comment.50
 ErrorParameter writer should be final.78
 Error'writer' hides a field.78
 ErrorParameter os should be final.89
 ErrorParameter file should be final.101
 ErrorMethod 'printHeader' is not designed for extension - needs to be abstract, final or empty.109
 ErrorMethod 'addParameter' is not designed for extension - needs to be abstract, final or empty.133
 ErrorParameter parameter should be final.133
 ErrorMethod 'addConfiguration' is not designed for extension - needs to be abstract, final or empty.145
 ErrorParameter configuration should be final.145
 Error'writer' hides a field.155
 ErrorMethod 'record' is not designed for extension - needs to be abstract, final or empty.157
 ErrorMissing a Javadoc comment.157
 ErrorParameter sourceUri should be final.157
 ErrorMethod 'record' is not designed for extension - needs to be abstract, final or empty.174
 ErrorParameter sourceUri should be final.174
 ErrorComment matches to-do format 'TODO:'.180
 Error'||' should be on a new line.183
 ErrorMissing a Javadoc comment.223
 ErrorParameter problems should be final.223
 ErrorMethod 'recordSkip' is not designed for extension - needs to be abstract, final or empty.233
 ErrorMissing a Javadoc comment.233
 ErrorMissing a Javadoc comment.246
 ErrorParameter writer should be final.246
 Error'writer' hides a field.246
 Error'writer' hides a field.262
 ErrorExpected @param tag for 'status'.263
 ErrorMethod 'printFooter' is not designed for extension - needs to be abstract, final or empty.270
 ErrorLine is longer than 80 characters (found 87).279
 ErrorFirst sentence should end with a period.288
 Error'writer' hides a field.294
 ErrorMethod 'getNumPassed' is not designed for extension - needs to be abstract, final or empty.300
 ErrorMethod 'getNumFailed' is not designed for extension - needs to be abstract, final or empty.308
 ErrorMethod 'getNumSkipped' is not designed for extension - needs to be abstract, final or empty.316
 ErrorMethod 'getTotalErrors' is not designed for extension - needs to be abstract, final or empty.326
 ErrorMethod 'getTotalWarnings' is not designed for extension - needs to be abstract, final or empty.336
 ErrorMethod 'getTotalInfos' is not designed for extension - needs to be abstract, final or empty.346
 ErrorMethod 'hasErrors' is not designed for extension - needs to be abstract, final or empty.354
 ErrorAvoid inline conditionals.355
 ErrorMethod 'hasWarnings' is not designed for extension - needs to be abstract, final or empty.362
 ErrorAvoid inline conditionals.363
 ErrorLine is longer than 80 characters (found 84).367
 ErrorMethod 'setLevel' is not designed for extension - needs to be abstract, final or empty.373
 ErrorParameter ExceptionType should be final.373
 ErrorName 'ExceptionType' must match pattern '^[a-z][a-zA-Z0-9]*$'.373
 ErrorLine is longer than 80 characters (found 82).379
 ErrorMethod 'getLevel' is not designed for extension - needs to be abstract, final or empty.382

gov/nasa/pds/validate/report/XmlReport.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.30
 ErrorMethod 'printHeader' is not designed for extension - needs to be abstract, final or empty.32
 ErrorMissing a Javadoc comment.32
 Error',' is not followed by whitespace.46
 ErrorParameter writer should be final.54
 ErrorMethod 'printRecordMessages' is not designed for extension - needs to be abstract, final or empty.59
 ErrorParameter writer should be final.60
 ErrorParameter status should be final.60
 ErrorParameter sourceUri should be final.61
 ErrorParameter problems should be final.61
 ErrorLine is longer than 80 characters (found 101).62
 ErrorLine is longer than 80 characters (found 108).63
 Error'(' is followed by whitespace.65
 ErrorLine is longer than 80 characters (found 84).70
 ErrorLine is longer than 80 characters (found 82).89
 ErrorMissing a Javadoc comment.89
 ErrorParameter writer should be final.89
 ErrorLine is longer than 80 characters (found 107).109
 ErrorMissing a Javadoc comment.113
 ErrorParameter writer should be final.113
 ErrorLine is longer than 80 characters (found 105).133
 ErrorLine is longer than 80 characters (found 102).137
 ErrorMethod 'printRecordSkip' is not designed for extension - needs to be abstract, final or empty.137
 ErrorMissing a Javadoc comment.137
 ErrorParameter writer should be final.137
 ErrorLine is longer than 80 characters (found 118).138
 ErrorLine is longer than 80 characters (found 108).145
 ErrorParameter writer should be final.152
 ErrorMethod 'printFooter' is not designed for extension - needs to be abstract, final or empty.157
 ErrorMissing a Javadoc comment.157

gov/nasa/pds/validate/schema/SchemaValidator.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMethod 'validate' is not designed for extension - needs to be abstract, final or empty.61
 ErrorParameter schema should be final.61
 Error'(' is followed by whitespace.70
 Error')' is preceded with whitespace.70
 ErrorMethod 'setExternalLocations' is not designed for extension - needs to be abstract, final or empty.80
 ErrorMissing a Javadoc comment.80
 ErrorParameter locations should be final.80
 ErrorMethod 'getCachedLSResolver' is not designed for extension - needs to be abstract, final or empty.87
 ErrorMissing a Javadoc comment.87

gov/nasa/pds/validate/status/Status.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMissing a Javadoc comment.25
 ErrorMissing a Javadoc comment.25
 ErrorMissing a Javadoc comment.25
 ErrorMissing a Javadoc comment.25
 ErrorMissing a Javadoc comment.27
 ErrorMissing a Javadoc comment.28
 ErrorMissing a Javadoc comment.30
 Error'value' hides a field.30
 Error'name' hides a field.30
 ErrorMissing a Javadoc comment.35
 ErrorMissing a Javadoc comment.39

gov/nasa/pds/validate/target/Target.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMissing a Javadoc comment.19
 ErrorMissing a Javadoc comment.20
 ErrorMissing a Javadoc comment.22
 ErrorMissing a Javadoc comment.24
 Error'(' is preceded with whitespace.24
 ErrorParameter url should be final.24
 Error'url' hides a field.24
 ErrorParameter isDir should be final.24
 Error'isDir' hides a field.24
 ErrorMethod 'getUrl' is not designed for extension - needs to be abstract, final or empty.29
 ErrorMissing a Javadoc comment.29
 ErrorMethod 'isDir' is not designed for extension - needs to be abstract, final or empty.33
 ErrorMissing a Javadoc comment.33
 ErrorMethod 'toString' is not designed for extension - needs to be abstract, final or empty.37
 ErrorMissing a Javadoc comment.37
 ErrorMethod 'equals' is not designed for extension - needs to be abstract, final or empty.45
 ErrorMissing a Javadoc comment.45
 ErrorParameter obj should be final.45
 ErrorConditional logic can be removed.47
 Error'(' is followed by whitespace.47
 Error'&&' should be on a new line.47
 Error')' is preceded with whitespace.48
 ErrorMethod 'hashCode' is not designed for extension - needs to be abstract, final or empty.55
 ErrorMissing a Javadoc comment.55
 Error'7' is a magic number.56
 Error'31' is a magic number.57
 ErrorAvoid inline conditionals.57
 Error'31' is a magic number.58
 ErrorAvoid inline conditionals.58

gov/nasa/pds/validate/target/TargetType.java

SeverityMessageLine
 ErrorMissing a Javadoc comment.24
 ErrorMissing a Javadoc comment.24
 ErrorMissing a Javadoc comment.25
 ErrorMissing a Javadoc comment.25
 ErrorMissing a Javadoc comment.27
 ErrorMissing a Javadoc comment.28
 ErrorMissing a Javadoc comment.30
 Error'value' hides a field.30
 Error'name' hides a field.30
 ErrorMissing a Javadoc comment.35
 ErrorMissing a Javadoc comment.39

gov/nasa/pds/validate/util/LidVid.java

SeverityMessageLine
 ErrorMissing package-info.java file.
 ErrorMissing a Javadoc comment.33
 ErrorParameter lid should be final.33
 Error'lid' hides a field.33
 ErrorMissing a Javadoc comment.37
 ErrorParameter lid should be final.37
 Error'lid' hides a field.37
 ErrorParameter version should be final.37
 Error'version' hides a field.37
 ErrorMethod 'getLid' is not designed for extension - needs to be abstract, final or empty.47
 ErrorMissing a Javadoc comment.47
 ErrorMethod 'getVersion' is not designed for extension - needs to be abstract, final or empty.51
 ErrorMissing a Javadoc comment.51
 ErrorMethod 'hasVersion' is not designed for extension - needs to be abstract, final or empty.55
 ErrorMissing a Javadoc comment.55
 ErrorMethod 'toString' is not designed for extension - needs to be abstract, final or empty.59
 ErrorMissing a Javadoc comment.59
 ErrorExpected an @return tag.71
 ErrorDefinition of 'equals()' without corresponding definition of 'hashCode()'.71
 ErrorMethod 'equals' is not designed for extension - needs to be abstract, final or empty.71
 ErrorParameter o should be final.71
 ErrorExpected @param tag for 'o'.71

gov/nasa/pds/validate/util/Namespace.java

SeverityMessageLine
 ErrorLine is longer than 80 characters (found 123).16
 ErrorLine is longer than 80 characters (found 87).18
 ErrorMissing a Javadoc comment.55
 ErrorVariable 'prefix' must be private and have accessor methods.56
 ErrorMissing a Javadoc comment.57
 ErrorVariable 'uri' must be private and have accessor methods.58
 ErrorMissing a Javadoc comment.59
 ErrorName '_default' must match pattern '^[a-z][a-zA-Z0-9]*$'.60
 ErrorVariable '_default' must be private and have accessor methods.60
 ErrorMethod 'getPrefix' is not designed for extension - needs to be abstract, final or empty.70
 ErrorMethod 'setPrefix' is not designed for extension - needs to be abstract, final or empty.82
 ErrorParameter value should be final.82
 ErrorMethod 'getUri' is not designed for extension - needs to be abstract, final or empty.94
 ErrorMethod 'setUri' is not designed for extension - needs to be abstract, final or empty.106
 ErrorParameter value should be final.106
 ErrorMethod 'isDefault' is not designed for extension - needs to be abstract, final or empty.118
 ErrorMethod 'setDefault' is not designed for extension - needs to be abstract, final or empty.134
 ErrorParameter value should be final.134

gov/nasa/pds/validate/util/PDSNamespaceContext.java

SeverityMessageLine
 ErrorFirst sentence should end with a period.24
 ErrorMissing a Javadoc comment.32
 ErrorMissing a Javadoc comment.33
 ErrorMissing a Javadoc comment.35
 ErrorParameter namespace should be final.35
 ErrorMissing a Javadoc comment.39
 ErrorParameter namespace should be final.39
 ErrorParameter defaultNamespace should be final.40
 Error'defaultNamespace' hides a field.40
 ErrorMissing a Javadoc comment.46
 ErrorParameter namespaces should be final.46
 Error'namespaces' hides a field.46
 ErrorMissing a Javadoc comment.50
 ErrorParameter defaultNamespace should be final.50
 Error'defaultNamespace' hides a field.50
 ErrorMissing a Javadoc comment.54
 ErrorParameter namespaces should be final.54
 Error'namespaces' hides a field.54
 ErrorParameter defaultNamespace should be final.55
 Error'defaultNamespace' hides a field.55
 Error'for' is not followed by whitespace.57
 ErrorMethod 'getDefaultNamepsace' is not designed for extension - needs to be abstract, final or empty.63
 ErrorMissing a Javadoc comment.63
 ErrorMethod 'getNamespaceURI' is not designed for extension - needs to be abstract, final or empty.67
 ErrorParameter prefix should be final.68
 Error'if' is not followed by whitespace.69
 ErrorMethod 'getPrefix' is not designed for extension - needs to be abstract, final or empty.76
 ErrorParameter arg0 should be final.77
 ErrorMethod 'getPrefixes' is not designed for extension - needs to be abstract, final or empty.82
 ErrorParameter arg0 should be final.83

gov/nasa/pds/validate/util/ToolInfo.java

SeverityMessageLine
 ErrorUtility classes should not have a public or default constructor.27
 ErrorMissing a Javadoc comment.28
 ErrorMissing a Javadoc comment.30
 ErrorMissing a Javadoc comment.32
 ErrorMissing a Javadoc comment.34
 ErrorMissing a Javadoc comment.36
 ErrorMissing a Javadoc comment.38
 ErrorName 'props' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.38
 Error'catch' is not followed by whitespace.45
 ErrorMissing a Javadoc comment.50
 ErrorMissing a Javadoc comment.54
 ErrorMissing a Javadoc comment.58
 ErrorMissing a Javadoc comment.62

gov/nasa/pds/validate/util/Utility.java

SeverityMessageLine
 ErrorUtility classes should not have a public or default constructor.36
 ErrorParameter list should be final.43
 ErrorMissing a Javadoc comment.50
 ErrorParameter json should be final.50
 Error',' is not followed by whitespace.53
 ErrorLine is longer than 80 characters (found 84).54
 Error'+' is not preceded with whitespace.54
 Error'+' is not followed by whitespace.54
 ErrorMissing a Javadoc comment.58
 Error'(' is preceded with whitespace.58
 ErrorParameter target should be final.58
 ErrorMissing a Javadoc comment.69
 ErrorParameter target should be final.69

gov/nasa/pds/validate/util/XMLErrorListener.java

SeverityMessageLine
 ErrorMethod 'error' is not designed for extension - needs to be abstract, final or empty.34
 ErrorParameter exception should be final.35
 ErrorMethod 'fatalError' is not designed for extension - needs to be abstract, final or empty.47
 ErrorParameter exception should be final.48
 ErrorMethod 'warning' is not designed for extension - needs to be abstract, final or empty.61
 ErrorParameter exception should be final.62