The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
EmptyStatement | 0 | Warning |
CyclomaticComplexity | 10 | Error |
ClassFanOutComplexity | 8 | Error |
CovariantEquals | 0 | Error |
ClassDataAbstractionCoupling
| 4 | Error |
NPathComplexity | 4 | Error |
RedundantImport | 0 | Warning |
UnusedImports | 14 | Warning |
RedundantModifier | 1 | Warning |
RedundantThrows | 10 | Warning |
FileLength | 0 | Error |
NewlineAtEndOfFile | 14 | Warning |
Violation | Message | Line |
---|---|---|
Unused import - javax.xml.XMLConstants. | 41 | |
Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 72 | |
Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 141 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Unused import - org.deegree.protocol.csw.CSWConstants. | 85 | |
Unused import - org.deegree.services.controller.OGCFrontController. | 93 | |
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 | |
Class Fan-Out Complexity is 66 (max allowed is 20). | 152 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 185 | |
NPath Complexity is 8,064 (max allowed is 200). | 185 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 279 | |
Redundant throws: 'SecurityException' is unchecked exception. | 365 | |
Redundant throws: 'OMException' is unchecked exception. | 393 | |
Redundant throws: 'OMException' is unchecked exception. | 645 |
Violation | Message | Line |
---|---|---|
Unused import - org.deegree.commons.utils.kvp.InvalidParameterValueException. | 40 |
Violation | Message | Line |
---|---|---|
Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 111 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Unused import - org.deegree.services.csw.getrecords.GetRecords. | 100 | |
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 | |
Class Fan-Out Complexity is 55 (max allowed is 20). | 114 | |
Cyclomatic Complexity is 29 (max allowed is 10). | 206 |
Violation | Message | Line |
---|---|---|
Unused import - org.deegree.services.csw.CSWController. | 61 |
Violation | Message | Line |
---|---|---|
Unused import - org.deegree.metadata.persistence.MetadataStore. | 51 |
Violation | Message | Line |
---|---|---|
Cyclomatic Complexity is 13 (max allowed is 10). | 285 |
Violation | Message | Line |
---|---|---|
Cyclomatic Complexity is 17 (max allowed is 10). | 348 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Unused import - java.sql.SQLException. | 51 | |
Unused import - org.deegree.services.csw.CSWController. | 86 | |
Class Data Abstraction Coupling is 13 (max allowed is 12) classes [AdhocQueryAnalyzer, ArrayList, ByteArrayInputStream, Date, InvalidParameterValueException, JsonXMLOutputFactory, MetadataQuery, OWSException, QName, SchemaLocationXMLStreamWriter, StringReader, StringWriter, TrimmingXMLStreamWriter]. | 105 | |
Class Fan-Out Complexity is 36 (max allowed is 20). | 105 | |
Cyclomatic Complexity is 22 (max allowed is 10). | 249 | |
NPath Complexity is 5,408 (max allowed is 200). | 249 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Class Fan-Out Complexity is 21 (max allowed is 20). | 76 | |
Cyclomatic Complexity is 13 (max allowed is 10). | 149 |
Violation | Message | Line |
---|---|---|
Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 85 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Redundant 'public' modifier. | 28 | |
Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 30 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Unused import - org.deegree.protocol.csw.MetadataStoreException. | 50 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Class Fan-Out Complexity is 21 (max allowed is 20). | 80 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 116 | |
NPath Complexity is 600 (max allowed is 200). | 116 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 67 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Class Fan-Out Complexity is 21 (max allowed is 20). | 82 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 21 (max allowed is 20). | 82 |
Violation | Message | Line |
---|---|---|
Unused import - org.deegree.services.csw.describerecord.DescribeRecord. | 53 | |
Unused import - org.deegree.services.csw.exporthandling.GetCapabilitiesHandler. | 55 | |
Unused import - org.deegree.services.csw.getrecordbyid.GetRecordById. | 56 |
Violation | Message | Line |
---|---|---|
Redundant throws: 'MissingParameterException' is unchecked exception. | 71 | |
Redundant throws: 'InvalidParameterValueException' is unchecked exception. | 71 |
Violation | Message | Line |
---|---|---|
Unused import - org.deegree.protocol.csw.MetadataStoreException. | 66 | |
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 | |
Class Fan-Out Complexity is 21 (max allowed is 20). | 80 | |
Cyclomatic Complexity is 21 (max allowed is 10). | 117 | |
NPath Complexity is 773 (max allowed is 200). | 117 |