Checkstyle Results
The following document contains the results of Checkstyle. 
Summary
Files | Infos  | Warnings  | Errors  |
---|
84 | 0 | 81 | 32 |
Rules
Rules | Violations | Severity |
---|
EmptyStatement | 0 | Warning |
CyclomaticComplexity | 12 | Error |
ClassFanOutComplexity | 8 | Error |
CovariantEquals | 0 | Error |
ClassDataAbstractionCoupling | 3 | Error |
NPathComplexity | 9 | Error |
RedundantImport | 0 | Warning |
UnusedImports | 24 | Warning |
RedundantModifier | 0 | Warning |
RedundantThrows | 54 | Warning |
FileLength | 0 | Error |
NewlineAtEndOfFile | 3 | Warning |
Details
org/deegree/protocol/wfs/AbstractWFSRequestKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 73 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 113 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 166 |
org/deegree/protocol/wfs/WFSVersion.java
Violation | Message | Line |
---|
 | File does not end with a newline. | 0 |
org/deegree/protocol/wfs/capabilities/GetCapabilitiesXMLAdapter.java
Violation | Message | Line |
---|
 | File does not end with a newline. | 0 |
 | Unused import - org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType. | 43 |
org/deegree/protocol/wfs/capabilities/WFS100CapabilitiesAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 50 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 98 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 106 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 181 |
org/deegree/protocol/wfs/capabilities/WFSCapabilitiesAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.commons.xml.XMLParsingException. | 40 |
org/deegree/protocol/wfs/client/GetFeatureResponse.java
Violation | Message | Line |
---|
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 101 |
org/deegree/protocol/wfs/client/WFSClient.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.feature.types.FeatureType. | 65 |
 | Class Fan-Out Complexity is 34 (max allowed is 20). | 122 |
org/deegree/protocol/wfs/client/WFSFeatureCollection.java
Violation | Message | Line |
---|
 | Cyclomatic Complexity is 12 (max allowed is 10). | 125 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 126 |
 | Redundant throws: 'NoSuchElementException' is unchecked exception. | 300 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 300 |
org/deegree/protocol/wfs/describefeaturetype/kvp/DescribeFeatureTypeKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'MissingParameterException' is unchecked exception. | 97 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 97 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 126 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 150 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 174 |
 | Cyclomatic Complexity is 16 (max allowed is 10). | 197 |
org/deegree/protocol/wfs/describefeaturetype/xml/DescribeFeatureTypeXMLAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.commons.utils.kvp.MissingParameterException. | 48 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 121 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 121 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 165 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 165 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 198 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 198 |
org/deegree/protocol/wfs/getfeature/kvp/GetFeatureKVPAdapter.java
Violation | Message | Line |
---|
 | Class Fan-Out Complexity is 24 (max allowed is 20). | 94 |
 | Cyclomatic Complexity is 31 (max allowed is 10). | 126 |
 | NPath Complexity is 840 (max allowed is 200). | 126 |
 | Cyclomatic Complexity is 33 (max allowed is 10). | 262 |
 | NPath Complexity is 6,336 (max allowed is 200). | 262 |
org/deegree/protocol/wfs/getfeature/xml/GetFeature110XMLEncoder.java
Violation | Message | Line |
---|
 | Class Fan-Out Complexity is 24 (max allowed is 20). | 83 |
 | Cyclomatic Complexity is 17 (max allowed is 10). | 100 |
 | NPath Complexity is 1,920 (max allowed is 200). | 100 |
 | Cyclomatic Complexity is 29 (max allowed is 10). | 194 |
 | NPath Complexity is 4,480 (max allowed is 200). | 194 |
org/deegree/protocol/wfs/getfeature/xml/GetFeatureXMLAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.commons.utils.kvp.InvalidParameterValueException. | 56 |
 | Unused import - org.deegree.commons.utils.kvp.MissingParameterException. | 57 |
 | Class Fan-Out Complexity is 25 (max allowed is 20). | 95 |
 | Cyclomatic Complexity is 15 (max allowed is 10). | 212 |
 | NPath Complexity is 1,299 (max allowed is 200). | 212 |
org/deegree/protocol/wfs/getfeaturewithlock/xml/GetFeatureWithLockXMLAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.commons.utils.kvp.InvalidParameterValueException. | 51 |
 | Unused import - org.deegree.commons.utils.kvp.MissingParameterException. | 52 |
org/deegree/protocol/wfs/getgmlobject/kvp/GetGmlObjectKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'MissingParameterException' is unchecked exception. | 81 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 81 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 105 |
org/deegree/protocol/wfs/getgmlobject/xml/GetGmlObject110XMLEncoder.java
Violation | Message | Line |
---|
 | File does not end with a newline. | 0 |
 | Cyclomatic Complexity is 11 (max allowed is 10). | 37 |
org/deegree/protocol/wfs/getgmlobject/xml/GetGmlObjectXMLAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.commons.utils.kvp.MissingParameterException. | 45 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 104 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 104 |
org/deegree/protocol/wfs/lockfeature/kvp/LockFeatureKVPAdapter.java
Violation | Message | Line |
---|
 | Class Fan-Out Complexity is 21 (max allowed is 20). | 83 |
 | Cyclomatic Complexity is 22 (max allowed is 10). | 125 |
 | NPath Complexity is 2,160 (max allowed is 200). | 125 |
org/deegree/protocol/wfs/lockfeature/xml/LockFeatureXMLAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.commons.utils.kvp.MissingParameterException. | 57 |
org/deegree/protocol/wfs/metadata/WFSFeatureType.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.feature.types.FeatureType. | 45 |
org/deegree/protocol/wfs/query/Query.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.getfeature.GetFeature. | 38 |
 | Unused import - org.deegree.protocol.wfs.getfeaturewithlock.GetFeatureWithLock. | 39 |
 | Unused import - org.deegree.protocol.wfs.getpropertyvalue.GetPropertyValue. | 40 |
org/deegree/protocol/wfs/query/StoredQuery.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.storedquery.StoredQueryDefinition. | 41 |
org/deegree/protocol/wfs/query/kvp/QueryKVPAdapter.java
Violation | Message | Line |
---|
 | Class Data Abstraction Coupling is 18 (max allowed is 12) classes [ArrayList, BBoxQuery, FeatureIdQuery, FilterQuery, GeometryFactory, HashMap, InvalidParameterValueException, NamespaceBindings, OWSException, PropertyName, QName, ResolveParams, SortProperty, StandardPresentationParams, StoredQuery, StringReader, TypeName, ValueReference]. | 93 |
 | Class Fan-Out Complexity is 33 (max allowed is 20). | 93 |
 | Cyclomatic Complexity is 70 (max allowed is 10). | 203 |
 | NPath Complexity is 24,276,000,000 (max allowed is 200). | 203 |
 | Redundant throws: 'FactoryConfigurationError' is unchecked exception. | 474 |
org/deegree/protocol/wfs/query/xml/QueryXMLAdapter.java
Violation | Message | Line |
---|
 | Class Data Abstraction Coupling is 18 (max allowed is 12) classes [ArrayList, BigInteger, FilterQuery, HashMap, OWSException, ProjectionClause, PropertyName, QName, ResolveParams, SortProperty, StandardPresentationParams, StoredQuery, TimeSliceProjection, TypeName, ValueReference, XMLParsingException, XMLStreamReaderWrapper, XPath]. | 89 |
 | Class Fan-Out Complexity is 30 (max allowed is 20). | 89 |
 | Cyclomatic Complexity is 13 (max allowed is 10). | 213 |
 | NPath Complexity is 480 (max allowed is 200). | 213 |
 | Cyclomatic Complexity is 14 (max allowed is 10). | 306 |
 | NPath Complexity is 960 (max allowed is 200). | 306 |
org/deegree/protocol/wfs/storedquery/StoredQueryDefinition.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.query.StoredQuery. | 42 |
org/deegree/protocol/wfs/storedquery/kvp/DescribeStoredQueriesKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'MissingParameterException' is unchecked exception. | 80 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 80 |
org/deegree/protocol/wfs/storedquery/kvp/DropStoredQueryKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'MissingParameterException' is unchecked exception. | 79 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 79 |
org/deegree/protocol/wfs/storedquery/kvp/ListStoredQueriesKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'MissingParameterException' is unchecked exception. | 79 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 79 |
org/deegree/protocol/wfs/storedquery/xml/CreateStoredQueryXMLAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 75 |
org/deegree/protocol/wfs/storedquery/xml/DescribeStoredQueriesXMLAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 70 |
org/deegree/protocol/wfs/storedquery/xml/DropStoredQueryXMLAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 70 |
org/deegree/protocol/wfs/storedquery/xml/ListStoredQueriesXMLAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 70 |
org/deegree/protocol/wfs/storedquery/xml/StoredQueryDefinitionXMLAdapter.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.query.StoredQuery. | 52 |
org/deegree/protocol/wfs/transaction/action/Delete.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.transaction.Transaction. | 41 |
org/deegree/protocol/wfs/transaction/action/Insert.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.transaction.Transaction. | 40 |
org/deegree/protocol/wfs/transaction/action/Native.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.transaction.Transaction. | 40 |
org/deegree/protocol/wfs/transaction/action/Replace.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.transaction.Transaction. | 50 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 126 |
org/deegree/protocol/wfs/transaction/action/Update.java
Violation | Message | Line |
---|
 | Unused import - org.deegree.protocol.wfs.transaction.Transaction. | 51 |
org/deegree/protocol/wfs/transaction/kvp/TransactionKVPAdapter.java
Violation | Message | Line |
---|
 | Redundant throws: 'MissingParameterException' is unchecked exception. | 72 |
 | Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 72 |
org/deegree/protocol/wfs/transaction/xml/TransactionActionXmlReader.java
Violation | Message | Line |
---|
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 61 |
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader.java
Violation | Message | Line |
---|
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 71 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 87 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 89 |
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader100.java
Violation | Message | Line |
---|
 | Unused import - java.util.NoSuchElementException. | 51 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 108 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 223 |
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader110.java
Violation | Message | Line |
---|
 | Unused import - java.util.NoSuchElementException. | 54 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 113 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 272 |
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader200.java
Violation | Message | Line |
---|
 | Class Data Abstraction Coupling is 13 (max allowed is 12) classes [Delete, Insert, LazyTransactionActionsReader, MissingParameterException, NamespaceBindings, Native, PropertyReplacement, QName, Replace, Transaction, Update, ValueReference, XMLParsingException]. | 86 |
 | Class Fan-Out Complexity is 21 (max allowed is 20). | 86 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 114 |
 | Redundant throws: 'NoSuchElementException' is unchecked exception. | 188 |
 | Redundant throws: 'NoSuchElementException' is unchecked exception. | 253 |
 | Redundant throws: 'NoSuchElementException' is unchecked exception. | 282 |
 | Redundant throws: 'XMLParsingException' is unchecked exception. | 305 |