Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
41 0 38 26

Files

Files Infos Warnings Errors
org/deegree/services/csw/AbstractCSWKVPAdapter.java 0 3 0
org/deegree/services/csw/AbstractCSWRequest.java 0 1 0
org/deegree/services/csw/AbstractCSWRequestXMLAdapter.java 0 1 0
org/deegree/services/csw/CSWController.java 0 6 5
org/deegree/services/csw/CSWProvider.java 0 1 0
org/deegree/services/csw/capabilities/GetCapabilities202KVPAdapter.java 0 1 0
org/deegree/services/csw/describerecord/DescribeRecordKVPAdapter.java 0 1 0
org/deegree/services/csw/exporthandling/AdhocQueryAnalyzer.java 0 2 3
org/deegree/services/csw/exporthandling/DescribeRecordHandler.java 0 1 0
org/deegree/services/csw/exporthandling/DescribeRecordHelper.java 0 1 0
org/deegree/services/csw/exporthandling/GetCapabilitiesHandler.java 0 0 1
org/deegree/services/csw/exporthandling/GetCapabilitiesHelper.java 0 0 1
org/deegree/services/csw/exporthandling/GetRecordsHandler.java 0 2 4
org/deegree/services/csw/exporthandling/TransactionHandler.java 0 1 2
org/deegree/services/csw/getrecordbyid/DefaultGetRecordByIdHandler.java 0 1 0
org/deegree/services/csw/getrecordbyid/GetRecordByIdHandler.java 0 3 0
org/deegree/services/csw/getrecordbyid/GetRecordByIdKVPAdapter.java 0 2 0
org/deegree/services/csw/getrecordbyid/GetRecordByIdXMLAdapter.java 0 1 0
org/deegree/services/csw/getrecords/GetRecords.java 0 1 0
org/deegree/services/csw/getrecords/GetRecordsKVPAdapter.java 0 1 3
org/deegree/services/csw/getrecords/GetRecordsXMLAdapter.java 0 1 1
org/deegree/services/csw/getrecords/Query.java 0 1 1
org/deegree/services/csw/profile/CommonCSWProfile.java 0 0 1
org/deegree/services/csw/profile/ServiceProfile.java 0 3 0
org/deegree/services/csw/transaction/TransactionKVPAdapter.java 0 2 0
org/deegree/services/csw/transaction/TransactionXMLAdapter.java 0 1 4

Rules

Rules Violations Severity
EmptyStatement 0 Warnings Warning
CyclomaticComplexity 10 Errors Error
ClassFanOutComplexity 8 Errors Error
CovariantEquals 0 Errors Error
ClassDataAbstractionCoupling
  • max: "12"
4 Errors Error
NPathComplexity 4 Errors Error
RedundantImport 0 Warnings Warning
UnusedImports 14 Warnings Warning
RedundantModifier 1 Warnings Warning
RedundantThrows 10 Warnings Warning
FileLength 0 Errors Error
NewlineAtEndOfFile 13 Warnings Warning

Details

org/deegree/services/csw/AbstractCSWKVPAdapter.java

Violation Message Line
Warnings Unused import - javax.xml.XMLConstants. 41
Warnings Redundant throws: 'InvalidParameterValueException' is unchecked exception. 72
Warnings Redundant throws: 'InvalidParameterValueException' is unchecked exception. 141

org/deegree/services/csw/AbstractCSWRequest.java

Violation Message Line
Warnings File does not end with a newline. 0

org/deegree/services/csw/AbstractCSWRequestXMLAdapter.java

Violation Message Line
Warnings File does not end with a newline. 0

org/deegree/services/csw/CSWController.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.protocol.csw.CSWConstants. 85
Warnings Unused import - org.deegree.services.controller.OGCFrontController. 93
Errors Class Data Abstraction Coupling is 22 (max allowed is 12) classes [ArrayList, ConfiguredElementName, CswExceptionReportSerializer, DefaultGetRecordByIdHandler, DescribeRecordHandler, DescribeRecordXMLAdapter, GetCapabilitiesVersionXMLAdapter, GetRecordByIdXMLAdapter, GetRecordsHandler, GetRecordsXMLAdapter, GetRepositoryItemHandler, HashMap, HashSet, OWSException, QName, ResourceInitException, SchemaLocationXMLStreamWriter, StringBuilder, TransactionHandler, TransactionXMLAdapter, Version, XMLAdapter]. 152
Errors Class Fan-Out Complexity is 66 (max allowed is 20). 152
Errors Cyclomatic Complexity is 18 (max allowed is 10). 185
Errors NPath Complexity is 8,064 (max allowed is 200). 185
Errors Cyclomatic Complexity is 17 (max allowed is 10). 279
Warnings Redundant throws: 'SecurityException' is unchecked exception. 365
Warnings Redundant throws: 'OMException' is unchecked exception. 393
Warnings Redundant throws: 'OMException' is unchecked exception. 645

org/deegree/services/csw/CSWProvider.java

Violation Message Line
Warnings File does not end with a newline. 0

org/deegree/services/csw/capabilities/GetCapabilities202KVPAdapter.java

Violation Message Line
Warnings Unused import - org.deegree.commons.utils.kvp.InvalidParameterValueException. 40

org/deegree/services/csw/describerecord/DescribeRecordKVPAdapter.java

Violation Message Line
Warnings Redundant throws: 'InvalidParameterValueException' is unchecked exception. 111

org/deegree/services/csw/exporthandling/AdhocQueryAnalyzer.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.services.csw.getrecords.GetRecords. 100
Errors Class Data Abstraction Coupling is 40 (max allowed is 12) classes [Add, And, ArrayList, BBOX, Beyond, Contains, Crosses, DWithin, Disjoint, Div, Equals, Function, GeometryFactory, HashMap, Intersects, Literal, Measure, MetadataQuery, Mul, Not, OperatorFilter, Or, Overlaps, PrimitiveType, PrimitiveValue, PropertyIsBetween, PropertyIsEqualTo, PropertyIsGreaterThan, PropertyIsGreaterThanOrEqualTo, PropertyIsLessThan, PropertyIsLessThanOrEqualTo, PropertyIsLike, PropertyIsNotEqualTo, PropertyIsNull, QName, SortProperty, Sub, Touches, ValueReference, Within]. 114
Errors Class Fan-Out Complexity is 55 (max allowed is 20). 114
Errors Cyclomatic Complexity is 29 (max allowed is 10). 206

org/deegree/services/csw/exporthandling/DescribeRecordHandler.java

Violation Message Line
Warnings Unused import - org.deegree.services.csw.CSWController. 61

org/deegree/services/csw/exporthandling/DescribeRecordHelper.java

Violation Message Line
Warnings Unused import - org.deegree.metadata.persistence.MetadataStore. 51

org/deegree/services/csw/exporthandling/GetCapabilitiesHandler.java

Violation Message Line
Errors Cyclomatic Complexity is 13 (max allowed is 10). 285

org/deegree/services/csw/exporthandling/GetCapabilitiesHelper.java

Violation Message Line
Errors Cyclomatic Complexity is 17 (max allowed is 10). 348

org/deegree/services/csw/exporthandling/GetRecordsHandler.java

Violation Message Line
Warnings Unused import - java.sql.SQLException. 50
Warnings Unused import - org.deegree.services.csw.CSWController. 84
Errors Class Data Abstraction Coupling is 13 (max allowed is 12) classes [AdhocQueryAnalyzer, ArrayList, ByteArrayInputStream, Date, InvalidParameterValueException, JsonXMLOutputFactory, MetadataQuery, OWSException, QName, SchemaLocationXMLStreamWriter, StringReader, StringWriter, TrimmingXMLStreamWriter]. 102
Errors Class Fan-Out Complexity is 36 (max allowed is 20). 102
Errors Cyclomatic Complexity is 22 (max allowed is 10). 243
Errors NPath Complexity is 5,408 (max allowed is 200). 243

org/deegree/services/csw/exporthandling/TransactionHandler.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Fan-Out Complexity is 21 (max allowed is 20). 76
Errors Cyclomatic Complexity is 13 (max allowed is 10). 149

org/deegree/services/csw/getrecordbyid/DefaultGetRecordByIdHandler.java

Violation Message Line
Warnings Redundant throws: 'InvalidParameterValueException' is unchecked exception. 85

org/deegree/services/csw/getrecordbyid/GetRecordByIdHandler.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Redundant 'public' modifier. 28
Warnings Redundant throws: 'InvalidParameterValueException' is unchecked exception. 30

org/deegree/services/csw/getrecordbyid/GetRecordByIdKVPAdapter.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.protocol.csw.MetadataStoreException. 50

org/deegree/services/csw/getrecordbyid/GetRecordByIdXMLAdapter.java

Violation Message Line
Warnings File does not end with a newline. 0

org/deegree/services/csw/getrecords/GetRecords.java

Violation Message Line
Warnings File does not end with a newline. 0

org/deegree/services/csw/getrecords/GetRecordsKVPAdapter.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Fan-Out Complexity is 21 (max allowed is 20). 80
Errors Cyclomatic Complexity is 18 (max allowed is 10). 116
Errors NPath Complexity is 600 (max allowed is 200). 116

org/deegree/services/csw/getrecords/GetRecordsXMLAdapter.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Cyclomatic Complexity is 14 (max allowed is 10). 67

org/deegree/services/csw/getrecords/Query.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Fan-Out Complexity is 21 (max allowed is 20). 82

org/deegree/services/csw/profile/CommonCSWProfile.java

Violation Message Line
Errors Class Fan-Out Complexity is 21 (max allowed is 20). 82

org/deegree/services/csw/profile/ServiceProfile.java

Violation Message Line
Warnings Unused import - org.deegree.services.csw.describerecord.DescribeRecord. 53
Warnings Unused import - org.deegree.services.csw.exporthandling.GetCapabilitiesHandler. 55
Warnings Unused import - org.deegree.services.csw.getrecordbyid.GetRecordById. 56

org/deegree/services/csw/transaction/TransactionKVPAdapter.java

Violation Message Line
Warnings Redundant throws: 'MissingParameterException' is unchecked exception. 71
Warnings Redundant throws: 'InvalidParameterValueException' is unchecked exception. 71

org/deegree/services/csw/transaction/TransactionXMLAdapter.java

Violation Message Line
Warnings Unused import - org.deegree.protocol.csw.MetadataStoreException. 66
Errors Class Data Abstraction Coupling is 13 (max allowed is 12) classes [ArrayList, DeleteOperation, InsertOperation, InvalidParameterValueException, MetadataProperty, QName, Transaction, UpdateOperation, ValueReference, Version, XMLParsingException, XMLStreamReaderWrapper, XPath]. 80
Errors Class Fan-Out Complexity is 21 (max allowed is 20). 80
Errors Cyclomatic Complexity is 21 (max allowed is 10). 117
Errors NPath Complexity is 773 (max allowed is 200). 117