Checkstyle Results

The following document contains the results of Checkstyle.

Summary

FilesInfos InfosWarnings WarningsErrors Errors
190740

Rules

RulesViolationsSeverity
JavadocMethod
  • suppressLoadErrors: "true"
  • allowThrowsTagsForSubclasses: "true"
17Warnings Warning
JavadocType1Warnings Warning
JavadocVariable0Warnings Warning
JavadocStyle
  • checkEmptyJavadoc: "true"
5Warnings 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
UnusedImports1Warnings Warning
FileLength
  • max: "1000"
1Warnings Warning
LineLength
  • max: "120"
8Warnings 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/DiscoveryServiceHandler.java

ViolationMessageLine
WarningsFile length is 1,003 lines (max allowed is 1,000).1
WarningsCyclomatic Complexity is 12 (max allowed is 10).166
WarningsMethod length is 91 lines (max allowed is 50).166
Warnings'config' hides a field.166
Warnings'plugins' hides a field.168
WarningsLine is longer than 120 characters.212
WarningsLine is longer than 120 characters.214
WarningsCyclomatic Complexity is 11 (max allowed is 10).287
WarningsMissing a Javadoc comment.287
WarningsMust have at least one statement.328
WarningsCyclomatic Complexity is 25 (max allowed is 10).400
WarningsMethod length is 141 lines (max allowed is 50).400
WarningsExpected an @return tag.550
WarningsExpected @param tag for 'discovery'.550
WarningsExpected @param tag for 'providedName'.550
WarningsCyclomatic Complexity is 35 (max allowed is 10).583
WarningsMethod length is 216 lines (max allowed is 50).583
WarningsUnnecessary parentheses around assignment right-hand side.589
WarningsUnnecessary parentheses around assignment right-hand side.590
WarningsCyclomatic Complexity is 14 (max allowed is 10).834
WarningsMethod length is 99 lines (max allowed is 50).834
WarningsUnnecessary parentheses around assignment right-hand side.839
WarningsMissing a Javadoc comment.975

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).75
WarningsMethod length is 189 lines (max allowed is 50).75
WarningsLine is longer than 120 characters.100
WarningsLine is longer than 120 characters.156
WarningsCatching 'Exception' is not allowed.228
WarningsCatching 'Exception' is not allowed.252

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/ListFilter.java

ViolationMessageLine
WarningsLine is longer than 120 characters.167
WarningsLine is longer than 120 characters.171

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