Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
8408332

Files

FilesInfosWarningsErrors
org/deegree/protocol/wfs/AbstractWFSRequestKVPAdapter.java040
org/deegree/protocol/wfs/WFSVersion.java010
org/deegree/protocol/wfs/capabilities/GetCapabilitiesXMLAdapter.java020
org/deegree/protocol/wfs/capabilities/WFS100CapabilitiesAdapter.java040
org/deegree/protocol/wfs/capabilities/WFSCapabilitiesAdapter.java010
org/deegree/protocol/wfs/client/GetFeatureResponse.java010
org/deegree/protocol/wfs/client/WFSClient.java011
org/deegree/protocol/wfs/client/WFSFeatureCollection.java031
org/deegree/protocol/wfs/describefeaturetype/kvp/DescribeFeatureTypeKVPAdapter.java051
org/deegree/protocol/wfs/describefeaturetype/xml/DescribeFeatureTypeXMLAdapter.java070
org/deegree/protocol/wfs/getfeature/TypeName.java010
org/deegree/protocol/wfs/getfeature/kvp/GetFeatureKVPAdapter.java005
org/deegree/protocol/wfs/getfeature/xml/GetFeature110XMLEncoder.java005
org/deegree/protocol/wfs/getfeature/xml/GetFeatureXMLAdapter.java023
org/deegree/protocol/wfs/getfeaturewithlock/xml/GetFeatureWithLockXMLAdapter.java020
org/deegree/protocol/wfs/getgmlobject/kvp/GetGmlObjectKVPAdapter.java030
org/deegree/protocol/wfs/getgmlobject/xml/GetGmlObject110XMLEncoder.java011
org/deegree/protocol/wfs/getgmlobject/xml/GetGmlObjectXMLAdapter.java030
org/deegree/protocol/wfs/lockfeature/kvp/LockFeatureKVPAdapter.java003
org/deegree/protocol/wfs/lockfeature/xml/LockFeatureXMLAdapter.java010
org/deegree/protocol/wfs/metadata/WFSFeatureType.java010
org/deegree/protocol/wfs/query/Query.java030
org/deegree/protocol/wfs/query/StoredQuery.java010
org/deegree/protocol/wfs/query/kvp/QueryKVPAdapter.java014
org/deegree/protocol/wfs/query/xml/QueryXMLAdapter.java006
org/deegree/protocol/wfs/storedquery/StoredQueryDefinition.java010
org/deegree/protocol/wfs/storedquery/kvp/DescribeStoredQueriesKVPAdapter.java020
org/deegree/protocol/wfs/storedquery/kvp/DropStoredQueryKVPAdapter.java020
org/deegree/protocol/wfs/storedquery/kvp/ListStoredQueriesKVPAdapter.java020
org/deegree/protocol/wfs/storedquery/xml/CreateStoredQueryXMLAdapter.java010
org/deegree/protocol/wfs/storedquery/xml/DescribeStoredQueriesXMLAdapter.java010
org/deegree/protocol/wfs/storedquery/xml/DropStoredQueryXMLAdapter.java010
org/deegree/protocol/wfs/storedquery/xml/ListStoredQueriesXMLAdapter.java010
org/deegree/protocol/wfs/storedquery/xml/StoredQueryDefinitionXMLAdapter.java010
org/deegree/protocol/wfs/transaction/action/Delete.java010
org/deegree/protocol/wfs/transaction/action/Insert.java010
org/deegree/protocol/wfs/transaction/action/Native.java010
org/deegree/protocol/wfs/transaction/action/Replace.java020
org/deegree/protocol/wfs/transaction/action/Update.java010
org/deegree/protocol/wfs/transaction/kvp/TransactionKVPAdapter.java020
org/deegree/protocol/wfs/transaction/xml/TransactionActionXmlReader.java010
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader.java030
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader100.java030
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader110.java030
org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader200.java052

Rules

RulesViolationsSeverity
EmptyStatement0Warnings Warning
CyclomaticComplexity12Errors Error
ClassFanOutComplexity8Errors Error
CovariantEquals0Errors Error
ClassDataAbstractionCoupling
  • max: "12"
3Errors Error
NPathComplexity9Errors Error
RedundantImport0Warnings Warning
UnusedImports26Warnings Warning
RedundantModifier0Warnings Warning
RedundantThrows54Warnings Warning
FileLength0Errors Error
NewlineAtEndOfFile3Warnings Warning

Details

org/deegree/protocol/wfs/AbstractWFSRequestKVPAdapter.java

ViolationMessageLine
WarningsUnused import - javax.xml.XMLConstants.44
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.73
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.113
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.166

org/deegree/protocol/wfs/WFSVersion.java

ViolationMessageLine
WarningsFile does not end with a newline.0

org/deegree/protocol/wfs/capabilities/GetCapabilitiesXMLAdapter.java

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType.43

org/deegree/protocol/wfs/capabilities/WFS100CapabilitiesAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.50
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.98
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.106
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.181

org/deegree/protocol/wfs/capabilities/WFSCapabilitiesAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.commons.xml.XMLParsingException.40

org/deegree/protocol/wfs/client/GetFeatureResponse.java

ViolationMessageLine
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.101

org/deegree/protocol/wfs/client/WFSClient.java

ViolationMessageLine
WarningsUnused import - org.deegree.feature.types.FeatureType.65
ErrorsClass Fan-Out Complexity is 34 (max allowed is 20).122

org/deegree/protocol/wfs/client/WFSFeatureCollection.java

ViolationMessageLine
ErrorsCyclomatic Complexity is 12 (max allowed is 10).125
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.126
WarningsRedundant throws: 'NoSuchElementException' is unchecked exception.300
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.300

org/deegree/protocol/wfs/describefeaturetype/kvp/DescribeFeatureTypeKVPAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'MissingParameterException' is unchecked exception.96
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.96
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.125
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.149
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.173
ErrorsCyclomatic Complexity is 16 (max allowed is 10).196

org/deegree/protocol/wfs/describefeaturetype/xml/DescribeFeatureTypeXMLAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.commons.utils.kvp.MissingParameterException.48
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.121
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.121
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.165
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.165
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.198
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.198

org/deegree/protocol/wfs/getfeature/TypeName.java

ViolationMessageLine
WarningsUnused import - javax.xml.XMLConstants.42

org/deegree/protocol/wfs/getfeature/kvp/GetFeatureKVPAdapter.java

ViolationMessageLine
ErrorsClass Fan-Out Complexity is 24 (max allowed is 20).94
ErrorsCyclomatic Complexity is 31 (max allowed is 10).126
ErrorsNPath Complexity is 840 (max allowed is 200).126
ErrorsCyclomatic Complexity is 33 (max allowed is 10).262
ErrorsNPath Complexity is 6,336 (max allowed is 200).262

org/deegree/protocol/wfs/getfeature/xml/GetFeature110XMLEncoder.java

ViolationMessageLine
ErrorsClass Fan-Out Complexity is 24 (max allowed is 20).83
ErrorsCyclomatic Complexity is 17 (max allowed is 10).100
ErrorsNPath Complexity is 1,920 (max allowed is 200).100
ErrorsCyclomatic Complexity is 29 (max allowed is 10).194
ErrorsNPath Complexity is 4,480 (max allowed is 200).194

org/deegree/protocol/wfs/getfeature/xml/GetFeatureXMLAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.commons.utils.kvp.InvalidParameterValueException.56
WarningsUnused import - org.deegree.commons.utils.kvp.MissingParameterException.57
ErrorsClass Fan-Out Complexity is 25 (max allowed is 20).95
ErrorsCyclomatic Complexity is 15 (max allowed is 10).212
ErrorsNPath Complexity is 1,299 (max allowed is 200).212

org/deegree/protocol/wfs/getfeaturewithlock/xml/GetFeatureWithLockXMLAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.commons.utils.kvp.InvalidParameterValueException.51
WarningsUnused import - org.deegree.commons.utils.kvp.MissingParameterException.52

org/deegree/protocol/wfs/getgmlobject/kvp/GetGmlObjectKVPAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'MissingParameterException' is unchecked exception.81
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.81
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.105

org/deegree/protocol/wfs/getgmlobject/xml/GetGmlObject110XMLEncoder.java

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsCyclomatic Complexity is 11 (max allowed is 10).37

org/deegree/protocol/wfs/getgmlobject/xml/GetGmlObjectXMLAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.commons.utils.kvp.MissingParameterException.45
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.104
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.104

org/deegree/protocol/wfs/lockfeature/kvp/LockFeatureKVPAdapter.java

ViolationMessageLine
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).83
ErrorsCyclomatic Complexity is 22 (max allowed is 10).125
ErrorsNPath Complexity is 2,160 (max allowed is 200).125

org/deegree/protocol/wfs/lockfeature/xml/LockFeatureXMLAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.commons.utils.kvp.MissingParameterException.57

org/deegree/protocol/wfs/metadata/WFSFeatureType.java

ViolationMessageLine
WarningsUnused import - org.deegree.feature.types.FeatureType.45

org/deegree/protocol/wfs/query/Query.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.getfeature.GetFeature.38
WarningsUnused import - org.deegree.protocol.wfs.getfeaturewithlock.GetFeatureWithLock.39
WarningsUnused import - org.deegree.protocol.wfs.getpropertyvalue.GetPropertyValue.40

org/deegree/protocol/wfs/query/StoredQuery.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.storedquery.StoredQueryDefinition.41

org/deegree/protocol/wfs/query/kvp/QueryKVPAdapter.java

ViolationMessageLine
ErrorsClass 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].92
ErrorsClass Fan-Out Complexity is 33 (max allowed is 20).92
ErrorsCyclomatic Complexity is 70 (max allowed is 10).202
ErrorsNPath Complexity is 24,276,000,000 (max allowed is 200).202
WarningsRedundant throws: 'FactoryConfigurationError' is unchecked exception.473

org/deegree/protocol/wfs/query/xml/QueryXMLAdapter.java

ViolationMessageLine
ErrorsClass 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].88
ErrorsClass Fan-Out Complexity is 30 (max allowed is 20).88
ErrorsCyclomatic Complexity is 13 (max allowed is 10).212
ErrorsNPath Complexity is 480 (max allowed is 200).212
ErrorsCyclomatic Complexity is 14 (max allowed is 10).305
ErrorsNPath Complexity is 960 (max allowed is 200).305

org/deegree/protocol/wfs/storedquery/StoredQueryDefinition.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.query.StoredQuery.42

org/deegree/protocol/wfs/storedquery/kvp/DescribeStoredQueriesKVPAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'MissingParameterException' is unchecked exception.80
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.80

org/deegree/protocol/wfs/storedquery/kvp/DropStoredQueryKVPAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'MissingParameterException' is unchecked exception.79
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.79

org/deegree/protocol/wfs/storedquery/kvp/ListStoredQueriesKVPAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'MissingParameterException' is unchecked exception.79
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.79

org/deegree/protocol/wfs/storedquery/xml/CreateStoredQueryXMLAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.75

org/deegree/protocol/wfs/storedquery/xml/DescribeStoredQueriesXMLAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.70

org/deegree/protocol/wfs/storedquery/xml/DropStoredQueryXMLAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.70

org/deegree/protocol/wfs/storedquery/xml/ListStoredQueriesXMLAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.70

org/deegree/protocol/wfs/storedquery/xml/StoredQueryDefinitionXMLAdapter.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.query.StoredQuery.52

org/deegree/protocol/wfs/transaction/action/Delete.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.transaction.Transaction.41

org/deegree/protocol/wfs/transaction/action/Insert.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.transaction.Transaction.40

org/deegree/protocol/wfs/transaction/action/Native.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.transaction.Transaction.40

org/deegree/protocol/wfs/transaction/action/Replace.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.transaction.Transaction.50
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.126

org/deegree/protocol/wfs/transaction/action/Update.java

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.transaction.Transaction.51

org/deegree/protocol/wfs/transaction/kvp/TransactionKVPAdapter.java

ViolationMessageLine
WarningsRedundant throws: 'MissingParameterException' is unchecked exception.72
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.72

org/deegree/protocol/wfs/transaction/xml/TransactionActionXmlReader.java

ViolationMessageLine
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.61

org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader.java

ViolationMessageLine
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.71
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.87
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.89

org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader100.java

ViolationMessageLine
WarningsUnused import - java.util.NoSuchElementException.51
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.108
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.223

org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader110.java

ViolationMessageLine
WarningsUnused import - java.util.NoSuchElementException.54
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.113
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.272

org/deegree/protocol/wfs/transaction/xml/TransactionXmlReader200.java

ViolationMessageLine
ErrorsClass Data Abstraction Coupling is 13 (max allowed is 12) classes [Delete, Insert, LazyTransactionActionsReader, MissingParameterException, NamespaceBindings, Native, PropertyReplacement, QName, Replace, Transaction, Update, ValueReference, XMLParsingException].86
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).86
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.114
WarningsRedundant throws: 'NoSuchElementException' is unchecked exception.188
WarningsRedundant throws: 'NoSuchElementException' is unchecked exception.253
WarningsRedundant throws: 'NoSuchElementException' is unchecked exception.282
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.305