Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
4103926

Files

FilesInfosWarningsErrors
org/deegree/services/csw/AbstractCSWKVPAdapter.java030
org/deegree/services/csw/AbstractCSWRequest.java010
org/deegree/services/csw/AbstractCSWRequestXMLAdapter.java010
org/deegree/services/csw/CSWController.java065
org/deegree/services/csw/CSWProvider.java010
org/deegree/services/csw/capabilities/GetCapabilities202KVPAdapter.java010
org/deegree/services/csw/describerecord/DescribeRecordKVPAdapter.java010
org/deegree/services/csw/exporthandling/AdhocQueryAnalyzer.java023
org/deegree/services/csw/exporthandling/DescribeRecordHandler.java010
org/deegree/services/csw/exporthandling/DescribeRecordHelper.java010
org/deegree/services/csw/exporthandling/GetCapabilitiesHandler.java001
org/deegree/services/csw/exporthandling/GetCapabilitiesHelper.java001
org/deegree/services/csw/exporthandling/GetRecordsHandler.java034
org/deegree/services/csw/exporthandling/TransactionHandler.java012
org/deegree/services/csw/getrecordbyid/DefaultGetRecordByIdHandler.java010
org/deegree/services/csw/getrecordbyid/GetRecordByIdHandler.java030
org/deegree/services/csw/getrecordbyid/GetRecordByIdKVPAdapter.java020
org/deegree/services/csw/getrecordbyid/GetRecordByIdXMLAdapter.java010
org/deegree/services/csw/getrecords/GetRecords.java010
org/deegree/services/csw/getrecords/GetRecordsKVPAdapter.java013
org/deegree/services/csw/getrecords/GetRecordsXMLAdapter.java011
org/deegree/services/csw/getrecords/Query.java011
org/deegree/services/csw/profile/CommonCSWProfile.java001
org/deegree/services/csw/profile/ServiceProfile.java030
org/deegree/services/csw/transaction/TransactionKVPAdapter.java020
org/deegree/services/csw/transaction/TransactionXMLAdapter.java014

Rules

RulesViolationsSeverity
EmptyStatement0Warnings Warning
CyclomaticComplexity10Errors Error
ClassFanOutComplexity8Errors Error
CovariantEquals0Errors Error
ClassDataAbstractionCoupling
  • max: "12"
4Errors Error
NPathComplexity4Errors Error
RedundantImport0Warnings Warning
UnusedImports14Warnings Warning
RedundantModifier1Warnings Warning
RedundantThrows10Warnings Warning
FileLength0Errors Error
NewlineAtEndOfFile14Warnings Warning

Details

org/deegree/services/csw/AbstractCSWKVPAdapter.java

ViolationMessageLine
WarningsUnused import - javax.xml.XMLConstants.41
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.72
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.141

org/deegree/services/csw/AbstractCSWRequest.java

ViolationMessageLine
WarningsFile does not end with a newline.0

org/deegree/services/csw/AbstractCSWRequestXMLAdapter.java

ViolationMessageLine
WarningsFile does not end with a newline.0

org/deegree/services/csw/CSWController.java

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.protocol.csw.CSWConstants.85
WarningsUnused import - org.deegree.services.controller.OGCFrontController.93
ErrorsClass 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
ErrorsClass Fan-Out Complexity is 66 (max allowed is 20).152
ErrorsCyclomatic Complexity is 18 (max allowed is 10).185
ErrorsNPath Complexity is 8,064 (max allowed is 200).185
ErrorsCyclomatic Complexity is 17 (max allowed is 10).279
WarningsRedundant throws: 'SecurityException' is unchecked exception.365
WarningsRedundant throws: 'OMException' is unchecked exception.393
WarningsRedundant throws: 'OMException' is unchecked exception.645

org/deegree/services/csw/CSWProvider.java

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsUnused import - org.deegree.commons.utils.kvp.InvalidParameterValueException.40

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

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

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.services.csw.getrecords.GetRecords.100
ErrorsClass 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
ErrorsClass Fan-Out Complexity is 55 (max allowed is 20).114
ErrorsCyclomatic Complexity is 29 (max allowed is 10).206

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

ViolationMessageLine
WarningsUnused import - org.deegree.services.csw.CSWController.61

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

ViolationMessageLine
WarningsUnused import - org.deegree.metadata.persistence.MetadataStore.51

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

ViolationMessageLine
ErrorsCyclomatic Complexity is 13 (max allowed is 10).285

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

ViolationMessageLine
ErrorsCyclomatic Complexity is 17 (max allowed is 10).348

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - java.sql.SQLException.51
WarningsUnused import - org.deegree.services.csw.CSWController.86
ErrorsClass Data Abstraction Coupling is 13 (max allowed is 12) classes [AdhocQueryAnalyzer, ArrayList, ByteArrayInputStream, Date, InvalidParameterValueException, JsonXMLOutputFactory, MetadataQuery, OWSException, QName, SchemaLocationXMLStreamWriter, StringReader, StringWriter, TrimmingXMLStreamWriter].105
ErrorsClass Fan-Out Complexity is 36 (max allowed is 20).105
ErrorsCyclomatic Complexity is 22 (max allowed is 10).249
ErrorsNPath Complexity is 5,408 (max allowed is 200).249

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).76
ErrorsCyclomatic Complexity is 13 (max allowed is 10).149

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

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

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsRedundant 'public' modifier.28
WarningsRedundant throws: 'InvalidParameterValueException' is unchecked exception.30

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.protocol.csw.MetadataStoreException.50

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).80
ErrorsCyclomatic Complexity is 18 (max allowed is 10).116
ErrorsNPath Complexity is 600 (max allowed is 200).116

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

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

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).82

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

ViolationMessageLine
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).82

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

ViolationMessageLine
WarningsUnused import - org.deegree.services.csw.describerecord.DescribeRecord.53
WarningsUnused import - org.deegree.services.csw.exporthandling.GetCapabilitiesHandler.55
WarningsUnused import - org.deegree.services.csw.getrecordbyid.GetRecordById.56

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

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

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

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.csw.MetadataStoreException.66
ErrorsClass Data Abstraction Coupling is 13 (max allowed is 12) classes [ArrayList, DeleteOperation, InsertOperation, InvalidParameterValueException, MetadataProperty, QName, Transaction, UpdateOperation, ValueReference, Version, XMLParsingException, XMLStreamReaderWrapper, XPath].80
ErrorsClass Fan-Out Complexity is 21 (max allowed is 20).80
ErrorsCyclomatic Complexity is 21 (max allowed is 10).117
ErrorsNPath Complexity is 773 (max allowed is 200).117