##### Project Documentation

- Checkstyle

## Checkstyle Results

The following document contains the results of Checkstyle.

## Summary

Files | Infos | Warnings | Errors
--- | --- | --- | ---
68 | 0 | 58 | 0

## Files

Files | I | W | E
--- | --- | --- | ---
edu/internet2/middleware/shibboleth/idp/Version.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/authn/Saml2LoginContext.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/authn/provider/IPAddressLoginHandler.java | 0 | 3 | 0
edu/internet2/middleware/shibboleth/idp/authn/provider/UsernamePasswordLoginHandler.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/authn/provider/UsernamePasswordLoginServlet.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/config/profile/ProfileHandlerNamespaceHandler.java | 0 | 4 | 0
edu/internet2/middleware/shibboleth/idp/config/profile/SAMLMetadataHandlerBeanDefinitionParser.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/config/profile/StatusHandlerBeanDefinitionParser.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/config/profile/authn/PreviousSessionLoginHandlerBeanDefinitionParser.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/profile/IdPProfileHandlerManager.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/profile/SAMLMetadataProfileHandler.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml1/AbstractSAML1ProfileHandler.java | 0 | 4 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml1/ArtifactResolution.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml1/AttributeQueryProfileHandler.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml1/BaseSAML1ProfileRequestContext.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSODecoder.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSOProfileHandler.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractSAML2ProfileHandler.java | 0 | 13 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml2/ArtifactResolution.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml2/AttributeQueryProfileHandler.java | 0 | 2 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml2/BaseSAML2ProfileRequestContext.java | 0 | 1 | 0
edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java | 0 | 9 | 0

## Rules

Rules | Violations | Severity
--- | --- | ---
JavadocMethod allowThrowsTagsForSubclasses: `"true"` allowUndeclaredRTE: `"true"` | 2 | Warning
JavadocType | 0 | Warning
JavadocVariable | 0 | Warning
JavadocStyle checkEmptyJavadoc: `"true"` | 0 | Warning
ConstantName | 0 | Warning
LocalFinalVariableName | 0 | Warning
LocalVariableName | 0 | Warning
MemberName | 0 | Warning
MethodName | 0 | Warning
PackageName | 0 | Warning
ParameterName | 0 | Warning
StaticVariableName | 0 | Warning
TypeName | 0 | Warning
AvoidStarImport | 0 | Warning
IllegalImport | 0 | Warning
RedundantImport | 0 | Warning
UnusedImports | 4 | Warning
FileLength max: `"1000"` | 0 | Warning
LineLength max: `"120"` | 31 | Warning
MethodLength max: `"50"` | 8 | Warning
ParameterNumber max: `"5"` | 0 | Warning
EmptyForIteratorPad | 0 | Warning
MethodParamPad | 0 | Warning
TabCharacter | 0 | Warning
ModifierOrder | 0 | Warning
AvoidNestedBlocks | 0 | Warning
EmptyBlock | 0 | Warning
LeftCurly | 0 | Warning
NeedBraces | 0 | Warning
RightCurly | 0 | Warning
AvoidInlineConditionals | 0 | Warning
DoubleCheckedLocking | 0 | Warning
EmptyStatement | 0 | Warning
EqualsHashCode | 0 | Warning
HiddenField | 1 | Warning
IllegalInstantiation | 0 | Warning
InnerAssignment | 0 | Warning
MissingSwitchDefault | 0 | Warning
RedundantThrows | 0 | Warning
SimplifyBooleanExpression | 0 | Warning
SimplifyBooleanReturn | 0 | Warning
FinalClass | 0 | Warning
HideUtilityClassConstructor | 1 | Warning
InterfaceIsType | 0 | Warning
VisibilityModifier | 0 | Warning
ArrayTypeStyle | 0 | Warning
UpperEll | 0 | Warning
AbstractClassName format: `"^Abstract.*$|^Base.*$"` | 0 | Warning
AnonInnerLength | 0 | Warning
EmptyForInitializerPad | 0 | Warning
CovariantEquals | 0 | Warning
DefaultComesLast | 0 | Warning
DeclarationOrder | 0 | Warning
ExplicitInitialization | 0 | Warning
FallThrough | 0 | Warning
IllegalCatch | 5 | Warning
IllegalThrows | 0 | Warning
JUnitTestCase | 0 | Warning
MultipleVariableDeclarations | 0 | Warning
PackageDeclaration | 0 | Warning
ParameterAssignment | 0 | Warning
ReturnCount max: `"4"` | 0 | Warning
StringLiteralEquality | 0 | Warning
SuperFinalize | 0 | Warning
ArrayTrailingComma | 0 | Warning
UnnecessaryParentheses | 0 | Warning
MutableException | 0 | Warning
ThrowsCount max: `"3"` | 0 | Warning
CyclomaticComplexity | 6 | Warning
TrailingComment | 0 | Warning
PackageHtml fileExtensions: `"html"` | 0 | Warning

## Details

### edu/internet2/middleware/shibboleth/idp/Version.java

Violation | Message | Line
--- | --- | ---
| Utility classes should not have a public or default constructor. | 20

### edu/internet2/middleware/shibboleth/idp/authn/AuthenticationEngine.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 154
| Line is longer than 120 characters. | 736

### edu/internet2/middleware/shibboleth/idp/authn/Saml2LoginContext.java

Violation | Message | Line
--- | --- | ---
| Cyclomatic Complexity is 13 (max allowed is 10). | 125

### edu/internet2/middleware/shibboleth/idp/authn/provider/IPAddressLoginHandler.java

Violation | Message | Line
--- | --- | ---
| 'defaultDeny' hides a field. | 73
| Missing a Javadoc comment. | 128
| Missing a Javadoc comment. | 138

### edu/internet2/middleware/shibboleth/idp/authn/provider/UsernamePasswordLoginHandler.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 33

### edu/internet2/middleware/shibboleth/idp/authn/provider/UsernamePasswordLoginServlet.java

Violation | Message | Line
--- | --- | ---
| Catching 'Throwable' is not allowed. | 191

### edu/internet2/middleware/shibboleth/idp/config/profile/ProfileHandlerNamespaceHandler.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 28
| Line is longer than 120 characters. | 29
| Line is longer than 120 characters. | 31
| Line is longer than 120 characters. | 32

### edu/internet2/middleware/shibboleth/idp/config/profile/SAMLMetadataHandlerBeanDefinitionParser.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 26
| Line is longer than 120 characters. | 30

### edu/internet2/middleware/shibboleth/idp/config/profile/StatusHandlerBeanDefinitionParser.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 23

### edu/internet2/middleware/shibboleth/idp/config/profile/authn/PreviousSessionLoginHandlerBeanDefinitionParser.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 54

### edu/internet2/middleware/shibboleth/idp/profile/IdPProfileHandlerManager.java

Violation | Message | Line
--- | --- | ---
| Catching 'Exception' is not allowed. | 130
| Line is longer than 120 characters. | 160

### edu/internet2/middleware/shibboleth/idp/profile/SAMLMetadataProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Catching 'Exception' is not allowed. | 62
| Catching 'Exception' is not allowed. | 84

### edu/internet2/middleware/shibboleth/idp/profile/saml1/AbstractSAML1ProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 285
| Cyclomatic Complexity is 14 (max allowed is 10). | 579
| Method length is 75 lines (max allowed is 50). | 579
| Cyclomatic Complexity is 11 (max allowed is 10). | 705

### edu/internet2/middleware/shibboleth/idp/profile/saml1/ArtifactResolution.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 202

### edu/internet2/middleware/shibboleth/idp/profile/saml1/AttributeQueryProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 221

### edu/internet2/middleware/shibboleth/idp/profile/saml1/BaseSAML1ProfileRequestContext.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 19

### edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSODecoder.java

Violation | Message | Line
--- | --- | ---
| Unused import - org.opensaml.common.SAMLObject. | 21

### edu/internet2/middleware/shibboleth/idp/profile/saml1/ShibbolethSSOProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 339
| Line is longer than 120 characters. | 354

### edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractSAML2ProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Method length is 52 lines (max allowed is 50). | 249
| Line is longer than 120 characters. | 268
| Line is longer than 120 characters. | 269
| Line is longer than 120 characters. | 348
| Cyclomatic Complexity is 14 (max allowed is 10). | 511
| Method length is 74 lines (max allowed is 50). | 511
| Cyclomatic Complexity is 12 (max allowed is 10). | 631
| Method length is 53 lines (max allowed is 50). | 631
| Line is longer than 120 characters. | 656
| Line is longer than 120 characters. | 657
| Cyclomatic Complexity is 18 (max allowed is 10). | 734
| Method length is 76 lines (max allowed is 50). | 734
| Line is longer than 120 characters. | 746

### edu/internet2/middleware/shibboleth/idp/profile/saml2/ArtifactResolution.java

Violation | Message | Line
--- | --- | ---
| Method length is 53 lines (max allowed is 50). | 89
| Line is longer than 120 characters. | 227

### edu/internet2/middleware/shibboleth/idp/profile/saml2/AttributeQueryProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Method length is 55 lines (max allowed is 50). | 73
| Line is longer than 120 characters. | 223

### edu/internet2/middleware/shibboleth/idp/profile/saml2/BaseSAML2ProfileRequestContext.java

Violation | Message | Line
--- | --- | ---
| Line is longer than 120 characters. | 34

### edu/internet2/middleware/shibboleth/idp/profile/saml2/SSOProfileHandler.java

Violation | Message | Line
--- | --- | ---
| Unused import - javax.xml.parsers.DocumentBuilder. | 26
| Unused import - javax.xml.parsers.DocumentBuilderFactory. | 27
| Unused import - org.xml.sax.InputSource. | 66
| Method length is 61 lines (max allowed is 50). | 212
| Line is longer than 120 characters. | 237
| Line is longer than 120 characters. | 243
| Line is longer than 120 characters. | 400
| Line is longer than 120 characters. | 522
| Catching 'Exception' is not allowed. | 565