Checkstyle Results

The following document contains the results of Checkstyle.

Summary

FilesInfos InfosWarnings WarningsErrors Errors
220790

Rules

RulesViolationsSeverity
JavadocMethod
  • suppressLoadErrors: "true"
  • allowThrowsTagsForSubclasses: "true"
17Warnings Warning
JavadocType1Warnings Warning
JavadocVariable0Warnings Warning
JavadocStyle
  • checkEmptyJavadoc: "true"
6Warnings Warning
ConstantName0Warnings Warning
LocalFinalVariableName0Warnings Warning
LocalVariableName0Warnings Warning
MemberName0Warnings Warning
MethodName0Warnings Warning
PackageName0Warnings Warning
ParameterName2Warnings Warning
StaticVariableName0Warnings Warning
TypeName0Warnings Warning
AvoidStarImport0Warnings Warning
IllegalImport0Warnings Warning
RedundantImport0Warnings Warning
UnusedImports3Warnings Warning
FileLength
  • max: "1000"
1Warnings Warning
LineLength
  • max: "120"
10Warnings Warning
MethodLength
  • max: "50"
8Warnings Warning
ParameterNumber
  • max: "5"
4Warnings Warning
EmptyForIteratorPad0Warnings Warning
MethodParamPad0Warnings Warning
TabCharacter0Warnings Warning
ModifierOrder0Warnings Warning
AvoidNestedBlocks0Warnings Warning
EmptyBlock1Warnings Warning
LeftCurly0Warnings Warning
NeedBraces0Warnings Warning
RightCurly0Warnings Warning
AvoidInlineConditionals0Warnings Warning
DoubleCheckedLocking0Warnings Warning
EmptyStatement1Warnings Warning
EqualsHashCode0Warnings Warning
HiddenField3Warnings Warning
IllegalInstantiation0Warnings Warning
InnerAssignment0Warnings Warning
MissingSwitchDefault0Warnings Warning
RedundantThrows0Warnings Warning
SimplifyBooleanExpression0Warnings Warning
SimplifyBooleanReturn0Warnings Warning
FinalClass0Warnings Warning
HideUtilityClassConstructor3Warnings Warning
InterfaceIsType0Warnings Warning
VisibilityModifier0Warnings Warning
ArrayTypeStyle0Warnings Warning
UpperEll0Warnings Warning
AbstractClassName
  • format: "^Abstract.*$|^Base.*$"
0Warnings Warning
AnonInnerLength0Warnings Warning
EmptyForInitializerPad0Warnings Warning
CovariantEquals0Warnings Warning
DefaultComesLast0Warnings Warning
DeclarationOrder0Warnings Warning
ExplicitInitialization1Warnings Warning
FallThrough0Warnings Warning
IllegalCatch3Warnings Warning
IllegalThrows0Warnings Warning
JUnitTestCase0Warnings Warning
MultipleVariableDeclarations0Warnings Warning
PackageDeclaration0Warnings Warning
ParameterAssignment2Warnings Warning
ReturnCount
  • max: "4"
0Warnings Warning
StringLiteralEquality1Warnings Warning
SuperFinalize0Warnings Warning
ArrayTrailingComma0Warnings Warning
UnnecessaryParentheses4Warnings Warning
MutableException0Warnings Warning
ThrowsCount
  • max: "3"
0Warnings Warning
CyclomaticComplexity8Warnings Warning
TrailingComment0Warnings Warning
PackageHtml
  • fileExtensions: "html"
0Warnings Warning

Details

edu/internet2/middleware/shibboleth/wayf/DiscoveryResponseBuilder.java

ViolationMessageLine
WarningsFirst sentence should end with a period.31
WarningsLine is longer than 120 characters.40

edu/internet2/middleware/shibboleth/wayf/DiscoveryServiceHandler.java

ViolationMessageLine
WarningsFile length is 1,002 lines (max allowed is 1,000).1
WarningsCyclomatic Complexity is 12 (max allowed is 10).165
WarningsMethod length is 91 lines (max allowed is 50).165
Warnings'config' hides a field.165
Warnings'plugins' hides a field.167
WarningsLine is longer than 120 characters.211
WarningsLine is longer than 120 characters.213
WarningsCyclomatic Complexity is 11 (max allowed is 10).286
WarningsMissing a Javadoc comment.286
WarningsMust have at least one statement.327
WarningsCyclomatic Complexity is 25 (max allowed is 10).399
WarningsMethod length is 141 lines (max allowed is 50).399
WarningsExpected an @return tag.549
WarningsExpected @param tag for 'discovery'.549
WarningsExpected @param tag for 'providedName'.549
WarningsCyclomatic Complexity is 35 (max allowed is 10).582
WarningsMethod length is 216 lines (max allowed is 50).582
WarningsUnnecessary parentheses around assignment right-hand side.588
WarningsUnnecessary parentheses around assignment right-hand side.589
WarningsCyclomatic Complexity is 14 (max allowed is 10).833
WarningsMethod length is 99 lines (max allowed is 50).833
WarningsUnnecessary parentheses around assignment right-hand side.838
WarningsMissing a Javadoc comment.974

edu/internet2/middleware/shibboleth/wayf/HandlerConfig.java

ViolationMessageLine
WarningsCyclomatic Complexity is 16 (max allowed is 10).82
WarningsMethod length is 68 lines (max allowed is 50).82
WarningsFirst sentence should end with a period.214

edu/internet2/middleware/shibboleth/wayf/IdPSite.java

ViolationMessageLine
WarningsFirst sentence should end with a period.41
WarningsFirst sentence should end with a period.60
WarningsFirst sentence should end with a period.78
WarningsFirst sentence should end with a period.118
WarningsUnused @param tag for 'lang'.120
WarningsExpected @param tag for 'req'.134
WarningsMissing a Javadoc comment.190
WarningsVariable 'req' explicitly initialized to 'null' (default value for its type).198
WarningsMissing a Javadoc comment.200
WarningsMissing a Javadoc comment.205
Warnings'req' hides a field.205
WarningsMissing a Javadoc comment.209

edu/internet2/middleware/shibboleth/wayf/IdPSiteSet.java

ViolationMessageLine
WarningsLine is longer than 120 characters.105
WarningsCyclomatic Complexity is 19 (max allowed is 10).105
WarningsMethod length is 110 lines (max allowed is 50).105
WarningsCatching 'Exception' is not allowed.168
WarningsMethod length is 51 lines (max allowed is 50).274
WarningsName 'SPName' must match pattern '^[a-z][a-zA-Z0-9]*$'.353
WarningsName 'IdPName' must match pattern '^[a-z][a-zA-Z0-9]*$'.394
WarningsExpected @param tag for 'plugin'.444
WarningsLine is longer than 120 characters.450
WarningsMissing a Javadoc comment.452
WarningsUnnecessary parentheses around expression.463
WarningsExpected @param tag for 'entity'.502
WarningsExpected @param tag for 'entity'.521
WarningsExpected @throws tag for 'WayfException'.541
WarningsMissing a Javadoc comment.552

edu/internet2/middleware/shibboleth/wayf/LogbackLoggingService.java

ViolationMessageLine
WarningsUtility classes should not have a public or default constructor.34

edu/internet2/middleware/shibboleth/wayf/Version.java

ViolationMessageLine
WarningsUtility classes should not have a public or default constructor.20

edu/internet2/middleware/shibboleth/wayf/WayfService.java

ViolationMessageLine
WarningsUnused import - javax.servlet.GenericServlet.27
WarningsCyclomatic Complexity is 26 (max allowed is 10).77
WarningsMethod length is 196 lines (max allowed is 50).77
WarningsLine is longer than 120 characters.102
WarningsLine is longer than 120 characters.158
WarningsLine is longer than 120 characters.175
WarningsCatching 'Exception' is not allowed.237
WarningsCatching 'Exception' is not allowed.261

edu/internet2/middleware/shibboleth/wayf/XMLConstants.java

ViolationMessageLine
WarningsUtility classes should not have a public or default constructor.22

edu/internet2/middleware/shibboleth/wayf/plugins/Plugin.java

ViolationMessageLine
WarningsMore than 5 parameters.106
WarningsMore than 5 parameters.136
WarningsExpected @param tag for 'idP'.158

edu/internet2/middleware/shibboleth/wayf/plugins/provider/BindingFilter.java

ViolationMessageLine
WarningsUnused import - edu.internet2.middleware.shibboleth.wayf.HandlerConfig.34

edu/internet2/middleware/shibboleth/wayf/plugins/provider/ListFilter.java

ViolationMessageLine
WarningsUnused import - edu.internet2.middleware.shibboleth.wayf.HandlerConfig.34
WarningsLine is longer than 120 characters.168
WarningsLine is longer than 120 characters.172

edu/internet2/middleware/shibboleth/wayf/plugins/provider/SamlCookiePlugin.java

ViolationMessageLine
WarningsMore than 5 parameters.170
WarningsEmpty statement.201
WarningsMore than 5 parameters.248
WarningsAssignment of parameter 'codedData' is not allowed.352
WarningsAssignment of parameter 'codedData' is not allowed.356
WarningsLiteral Strings should be compared using equals(), not '!='.475