Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
58 0 64 73

Files

Files Infos Warnings Errors
org/deegree/feature/persistence/sql/FeatureBuilder.java 0 3 0
org/deegree/feature/persistence/sql/FeatureTypeMapping.java 0 2 0
org/deegree/feature/persistence/sql/GeometryStorageParams.java 0 1 0
org/deegree/feature/persistence/sql/MappedAppSchema.java 0 2 0
org/deegree/feature/persistence/sql/SQLFeatureStore.java 0 0 14
org/deegree/feature/persistence/sql/SQLFeatureStoreProvider.java 0 2 0
org/deegree/feature/persistence/sql/SQLFeatureStoreTransaction.java 0 0 8
org/deegree/feature/persistence/sql/blob/BlobCodec.java 0 5 1
org/deegree/feature/persistence/sql/blob/BlobMapping.java 0 4 0
org/deegree/feature/persistence/sql/blob/FeatureBuilderBlob.java 0 1 0
org/deegree/feature/persistence/sql/config/AbstractMappedSchemaBuilder.java 0 1 2
org/deegree/feature/persistence/sql/config/MappedSchemaBuilderGML.java 0 0 4
org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTable.java 0 1 7
org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTableOld.java 0 1 7
org/deegree/feature/persistence/sql/config/SQLFeatureStoreConfigWriter.java 0 1 2
org/deegree/feature/persistence/sql/converter/CustomParticleConverter.java 0 2 0
org/deegree/feature/persistence/sql/converter/FeatureParticleConverter.java 0 1 0
org/deegree/feature/persistence/sql/ddl/DDLCreator.java 0 1 2
org/deegree/feature/persistence/sql/ddl/MSSQLDDLCreator.java 0 1 0
org/deegree/feature/persistence/sql/ddl/OracleDDLCreator.java 0 1 0
org/deegree/feature/persistence/sql/ddl/PostGISDDLCreator.java 0 1 0
org/deegree/feature/persistence/sql/id/AutoIDGenerator.java 0 1 0
org/deegree/feature/persistence/sql/id/FIDMapping.java 0 2 0
org/deegree/feature/persistence/sql/id/IDGenerator.java 0 1 0
org/deegree/feature/persistence/sql/id/IdAnalysis.java 0 2 0
org/deegree/feature/persistence/sql/id/IdAnalyzer.java 0 1 0
org/deegree/feature/persistence/sql/id/SequenceIDGenerator.java 0 1 0
org/deegree/feature/persistence/sql/id/TableDependencies.java 0 1 0
org/deegree/feature/persistence/sql/id/UUIDGenerator.java 0 1 0
org/deegree/feature/persistence/sql/insert/FeatureRow.java 0 1 0
org/deegree/feature/persistence/sql/insert/InsertRow.java 0 0 3
org/deegree/feature/persistence/sql/insert/InsertRowManager.java 0 1 3
org/deegree/feature/persistence/sql/mapper/AppSchemaMapper.java 0 1 7
org/deegree/feature/persistence/sql/mapper/MappingContext.java 0 2 0
org/deegree/feature/persistence/sql/mapper/MappingContextManager.java 0 1 0
org/deegree/feature/persistence/sql/mapper/XPathSchemaWalker.java 0 1 3
org/deegree/feature/persistence/sql/rules/CompoundMapping.java 0 1 0
org/deegree/feature/persistence/sql/rules/ConstantMapping.java 0 1 0
org/deegree/feature/persistence/sql/rules/FeatureBuilderRelational.java 0 1 6
org/deegree/feature/persistence/sql/rules/FeatureMapping.java 0 2 0
org/deegree/feature/persistence/sql/rules/GeometryMapping.java 0 2 0
org/deegree/feature/persistence/sql/rules/Mapping.java 0 1 0
org/deegree/feature/persistence/sql/rules/Mappings.java 0 4 0
org/deegree/feature/persistence/sql/rules/PrimitiveMapping.java 0 2 0
org/deegree/feature/persistence/sql/xpath/MappableNameStep.java 0 1 0
org/deegree/feature/persistence/sql/xpath/MappableStep.java 0 1 1
org/deegree/feature/persistence/sql/xpath/MappedXPath.java 0 0 3

Rules

Rules Violations Severity
EmptyStatement 0 Warnings Warning
CyclomaticComplexity 32 Errors Error
ClassFanOutComplexity 15 Errors Error
CovariantEquals 0 Errors Error
ClassDataAbstractionCoupling
  • max: "12"
8 Errors Error
NPathComplexity 18 Errors Error
RedundantImport 0 Warnings Warning
UnusedImports 14 Warnings Warning
RedundantModifier 3 Warnings Warning
RedundantThrows 9 Warnings Warning
FileLength 0 Errors Error
NewlineAtEndOfFile 38 Warnings Warning

Details

org/deegree/feature/persistence/sql/FeatureBuilder.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Redundant 'public' modifier. 59
Warnings Redundant 'public' modifier. 69

org/deegree/feature/persistence/sql/FeatureTypeMapping.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.feature.types.FeatureType. 52

org/deegree/feature/persistence/sql/GeometryStorageParams.java

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

org/deegree/feature/persistence/sql/MappedAppSchema.java

Violation Message Line
Warnings Unused import - org.deegree.feature.types.AppSchema. 51
Warnings Redundant throws: 'IllegalArgumentException' is unchecked exception. 254

org/deegree/feature/persistence/sql/SQLFeatureStore.java

Violation Message Line
Errors Class Data Abstraction Coupling is 35 (max allowed is 12) classes [ArrayList, BBOX, CombinedFeatureInputStream, CombinedReferenceResolver, DBField, DefaultLockManager, FeatureBuilderBlob, FeatureBuilderRelational, FeatureParticleConverter, FeatureResultSetIterator, FeatureStoreException, FeatureStoreGMLIdResolver, FilterEvaluationException, FilteredFeatureInputStream, GeometryMapping, GeometryStorageParams, GeometryTransformer, HashMap, IdFilter, Iterator, IteratorFeatureInputStream, LinkedHashMap, MemoryFeatureInputStream, NoSuchElementException, OperatorFilter, PrimitiveType, PrimitiveValue, PropertyNameMapper, PropertyNameMapping, ResourceInitException, SQLFeatureStoreTransaction, SQLIdentifier, SQLPropertyNameMapper, SimpleFeatureStoreCache, StringBuilder]. 152
Errors Class Fan-Out Complexity is 94 (max allowed is 20). 152
Errors Cyclomatic Complexity is 14 (max allowed is 10). 225
Errors NPath Complexity is 384 (max allowed is 200). 225
Errors Cyclomatic Complexity is 11 (max allowed is 10). 323
Errors Cyclomatic Complexity is 13 (max allowed is 10). 717
Errors NPath Complexity is 236 (max allowed is 200). 717
Errors Cyclomatic Complexity is 13 (max allowed is 10). 1076
Errors NPath Complexity is 344 (max allowed is 200). 1076
Errors Cyclomatic Complexity is 14 (max allowed is 10). 1185
Errors NPath Complexity is 1,540 (max allowed is 200). 1185
Errors Cyclomatic Complexity is 16 (max allowed is 10). 1329
Errors NPath Complexity is 5,200 (max allowed is 200). 1329
Errors Cyclomatic Complexity is 12 (max allowed is 10). 1443

org/deegree/feature/persistence/sql/SQLFeatureStoreProvider.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.sqldialect.SQLDialectProvider. 52

org/deegree/feature/persistence/sql/SQLFeatureStoreTransaction.java

Violation Message Line
Errors Class Data Abstraction Coupling is 18 (max allowed is 12) classes [ArrayList, BBoxTracker, ByteArrayOutputStream, DBField, FeatureStoreException, GenericFeatureCollection, GeometryMapping, GeometryStorageParams, HashMap, HashSet, IdFilter, InsertRowManager, LinkedHashSet, PrimitiveType, PrimitiveValue, Query, SQLException, StringBuilder]. 122
Errors Class Fan-Out Complexity is 64 (max allowed is 20). 122
Errors Cyclomatic Complexity is 15 (max allowed is 10). 407
Errors NPath Complexity is 224 (max allowed is 200). 407
Errors Cyclomatic Complexity is 26 (max allowed is 10). 540
Errors NPath Complexity is 5,046 (max allowed is 200). 540
Errors Cyclomatic Complexity is 12 (max allowed is 10). 827
Errors Cyclomatic Complexity is 13 (max allowed is 10). 876

org/deegree/feature/persistence/sql/blob/BlobCodec.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Fan-Out Complexity is 33 (max allowed is 20). 91
Warnings Redundant throws: 'FactoryConfigurationError' is unchecked exception. 141
Warnings Redundant throws: 'XMLParsingException' is unchecked exception. 210
Warnings Redundant throws: 'FactoryConfigurationError' is unchecked exception. 211
Warnings Redundant throws: 'IllegalArgumentException' is unchecked exception. 312

org/deegree/feature/persistence/sql/blob/BlobMapping.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.cs.coordinatesystems.CRS. 39
Warnings Unused import - org.deegree.feature.persistence.sql.FeatureTypeMapping. 41
Warnings Unused import - org.deegree.feature.persistence.sql.MappedAppSchema. 42

org/deegree/feature/persistence/sql/blob/FeatureBuilderBlob.java

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

org/deegree/feature/persistence/sql/config/AbstractMappedSchemaBuilder.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Data Abstraction Coupling is 13 (max allowed is 12) classes [ANTLRStringStream, AutoIDGenerator, CommonTokenStream, FMLLexer, FMLParser, HashMap, MappedSchemaBuilderGML, MappedSchemaBuilderTable, MappedSchemaBuilderTableOld, SQLIdentifier, SequenceIDGenerator, TableJoin, UUIDGenerator]. 94
Errors Class Fan-Out Complexity is 37 (max allowed is 20). 94

org/deegree/feature/persistence/sql/config/MappedSchemaBuilderGML.java

Violation Message Line
Errors Class Data Abstraction Coupling is 29 (max allowed is 12) classes [ArrayList, BBoxTableMapping, BlobCodec, BlobMapping, CompoundMapping, ConstantMapping, FIDMapping, FeatureMapping, FeatureStoreException, FeatureTypeMapping, File, GMLAppSchemaReader, GeometryMapping, GeometryStorageParams, HashMap, MappedAppSchema, NamespaceBindings, Pair, PrimitiveMapping, PrimitiveType, PrimitiveValue, QName, SQLIdentifier, TableName, URL, ValueReference, XMLAdapter, XPathSchemaWalker, org.deegree.feature.persistence.sql.FeatureTypeMapping]. 127
Errors Class Fan-Out Complexity is 66 (max allowed is 20). 127
Errors Cyclomatic Complexity is 20 (max allowed is 10). 181
Errors NPath Complexity is 513 (max allowed is 200). 181

org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTable.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Data Abstraction Coupling is 23 (max allowed is 12) classes [ArrayList, ColumnMetadata, DBField, FIDMapping, FeatureStoreException, FeatureType, FeatureTypeMapping, GenericFeatureType, GeometryMapping, GeometryPropertyType, GeometryStorageParams, HashMap, HashSet, LinkedHashMap, MappedAppSchema, Pair, PrimitiveMapping, PrimitiveType, QName, SQLIdentifier, SimplePropertyType, TableName, ValueReference]. 111
Errors Class Fan-Out Complexity is 54 (max allowed is 20). 111
Errors Cyclomatic Complexity is 21 (max allowed is 10). 281
Errors NPath Complexity is 10,944 (max allowed is 200). 281
Errors Cyclomatic Complexity is 15 (max allowed is 10). 383
Errors NPath Complexity is 432 (max allowed is 200). 383
Errors Cyclomatic Complexity is 14 (max allowed is 10). 464

org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTableOld.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Data Abstraction Coupling is 23 (max allowed is 12) classes [ArrayList, ColumnMetadataOld, DBField, FIDMapping, FeatureStoreException, FeatureType, FeatureTypeMapping, GenericFeatureType, GeometryMapping, GeometryPropertyType, GeometryStorageParams, HashMap, HashSet, LinkedHashMap, MappedAppSchema, Pair, PrimitiveMapping, PrimitiveType, QName, SQLIdentifier, SimplePropertyType, TableName, ValueReference]. 115
Errors Class Fan-Out Complexity is 54 (max allowed is 20). 115
Errors Cyclomatic Complexity is 15 (max allowed is 10). 285
Errors NPath Complexity is 1,824 (max allowed is 200). 285
Errors Cyclomatic Complexity is 15 (max allowed is 10). 369
Errors NPath Complexity is 432 (max allowed is 200). 369
Errors Cyclomatic Complexity is 14 (max allowed is 10). 450

org/deegree/feature/persistence/sql/config/SQLFeatureStoreConfigWriter.java

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

org/deegree/feature/persistence/sql/converter/CustomParticleConverter.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Redundant 'public' modifier. 61

org/deegree/feature/persistence/sql/converter/FeatureParticleConverter.java

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

org/deegree/feature/persistence/sql/ddl/DDLCreator.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Fan-Out Complexity is 22 (max allowed is 20). 68
Errors Cyclomatic Complexity is 12 (max allowed is 10). 196

org/deegree/feature/persistence/sql/ddl/MSSQLDDLCreator.java

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

org/deegree/feature/persistence/sql/ddl/OracleDDLCreator.java

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

org/deegree/feature/persistence/sql/ddl/PostGISDDLCreator.java

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

org/deegree/feature/persistence/sql/id/AutoIDGenerator.java

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

org/deegree/feature/persistence/sql/id/FIDMapping.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.feature.persistence.sql.FeatureTypeMapping. 43

org/deegree/feature/persistence/sql/id/IDGenerator.java

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

org/deegree/feature/persistence/sql/id/IdAnalysis.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Redundant throws: 'IllegalArgumentException' is unchecked exception. 58

org/deegree/feature/persistence/sql/id/IdAnalyzer.java

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

org/deegree/feature/persistence/sql/id/SequenceIDGenerator.java

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

org/deegree/feature/persistence/sql/id/TableDependencies.java

Violation Message Line
Warnings Unused import - org.deegree.feature.persistence.sql.MappedAppSchema. 51

org/deegree/feature/persistence/sql/id/UUIDGenerator.java

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

org/deegree/feature/persistence/sql/insert/FeatureRow.java

Violation Message Line
Warnings Unused import - org.deegree.protocol.wfs.transaction.action.IDGenMode. 54

org/deegree/feature/persistence/sql/insert/InsertRow.java

Violation Message Line
Errors Class Fan-Out Complexity is 23 (max allowed is 20). 71
Errors Cyclomatic Complexity is 12 (max allowed is 10). 190
Errors NPath Complexity is 256 (max allowed is 200). 190

org/deegree/feature/persistence/sql/insert/InsertRowManager.java

Violation Message Line
Warnings Unused import - org.deegree.feature.persistence.sql.SQLFeatureStoreTransaction. 64
Errors Class Fan-Out Complexity is 46 (max allowed is 20). 103
Errors Cyclomatic Complexity is 31 (max allowed is 10). 300
Errors NPath Complexity is 2,073 (max allowed is 200). 300

org/deegree/feature/persistence/sql/mapper/AppSchemaMapper.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Data Abstraction Coupling is 24 (max allowed is 12) classes [ArrayList, AutoIDGenerator, BBoxTableMapping, BlobCodec, BlobMapping, CompoundMapping, DBField, FIDMapping, FeatureMapping, FeatureType, FeatureTypeMapping, GeometryMapping, HashMap, MappedAppSchema, MappingContextManager, Pair, PrimitiveMapping, PrimitiveType, QName, SQLIdentifier, TableJoin, TableName, UUIDGenerator, ValueReference]. 115
Errors Class Fan-Out Complexity is 55 (max allowed is 20). 115
Errors Cyclomatic Complexity is 15 (max allowed is 10). 260
Errors Cyclomatic Complexity is 15 (max allowed is 10). 510
Errors NPath Complexity is 300 (max allowed is 200). 510
Errors Cyclomatic Complexity is 13 (max allowed is 10). 705
Errors NPath Complexity is 288 (max allowed is 200). 705

org/deegree/feature/persistence/sql/mapper/MappingContext.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.feature.types.FeatureType. 38

org/deegree/feature/persistence/sql/mapper/MappingContextManager.java

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

org/deegree/feature/persistence/sql/mapper/XPathSchemaWalker.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Fan-Out Complexity is 24 (max allowed is 20). 82
Errors Cyclomatic Complexity is 16 (max allowed is 10). 145
Errors Cyclomatic Complexity is 11 (max allowed is 10). 261

org/deegree/feature/persistence/sql/rules/CompoundMapping.java

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

org/deegree/feature/persistence/sql/rules/ConstantMapping.java

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

org/deegree/feature/persistence/sql/rules/FeatureBuilderRelational.java

Violation Message Line
Warnings File does not end with a newline. 0
Errors Class Data Abstraction Coupling is 13 (max allowed is 12) classes [ArrayList, CurveSegment, GenericProperty, GenericXMLElement, GeometryFactory, HashMap, LinkedHashMap, NamespaceBindings, Pair, PrimitiveValue, QName, SQLException, StringBuilder]. 109
Errors Class Fan-Out Complexity is 55 (max allowed is 20). 109
Errors Cyclomatic Complexity is 15 (max allowed is 10). 189
Errors Cyclomatic Complexity is 49 (max allowed is 10). 353
Errors NPath Complexity is 64,912 (max allowed is 200). 353
Errors Cyclomatic Complexity is 12 (max allowed is 10). 641

org/deegree/feature/persistence/sql/rules/FeatureMapping.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.feature.Feature. 42

org/deegree/feature/persistence/sql/rules/GeometryMapping.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.geometry.Geometry. 46

org/deegree/feature/persistence/sql/rules/Mapping.java

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

org/deegree/feature/persistence/sql/rules/Mappings.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 70
Warnings Redundant throws: 'IllegalArgumentException' is unchecked exception. 70
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 79

org/deegree/feature/persistence/sql/rules/PrimitiveMapping.java

Violation Message Line
Warnings File does not end with a newline. 0
Warnings Unused import - org.deegree.commons.tom.primitive.PrimitiveValue. 41

org/deegree/feature/persistence/sql/xpath/MappableNameStep.java

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

org/deegree/feature/persistence/sql/xpath/MappableStep.java

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

org/deegree/feature/persistence/sql/xpath/MappedXPath.java

Violation Message Line
Errors Class Fan-Out Complexity is 30 (max allowed is 20). 77
Errors Cyclomatic Complexity is 25 (max allowed is 10). 142
Errors NPath Complexity is 600 (max allowed is 200). 142