Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
5806573

Files

FilesInfosWarningsErrors
org/deegree/feature/persistence/sql/FeatureBuilder.java030
org/deegree/feature/persistence/sql/FeatureTypeMapping.java020
org/deegree/feature/persistence/sql/GeometryStorageParams.java010
org/deegree/feature/persistence/sql/MappedAppSchema.java020
org/deegree/feature/persistence/sql/SQLFeatureStore.java0114
org/deegree/feature/persistence/sql/SQLFeatureStoreProvider.java020
org/deegree/feature/persistence/sql/SQLFeatureStoreTransaction.java008
org/deegree/feature/persistence/sql/blob/BlobCodec.java051
org/deegree/feature/persistence/sql/blob/BlobMapping.java040
org/deegree/feature/persistence/sql/blob/FeatureBuilderBlob.java010
org/deegree/feature/persistence/sql/config/AbstractMappedSchemaBuilder.java012
org/deegree/feature/persistence/sql/config/MappedSchemaBuilderGML.java004
org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTable.java017
org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTableOld.java017
org/deegree/feature/persistence/sql/config/SQLFeatureStoreConfigWriter.java012
org/deegree/feature/persistence/sql/converter/CustomParticleConverter.java020
org/deegree/feature/persistence/sql/converter/FeatureParticleConverter.java010
org/deegree/feature/persistence/sql/ddl/DDLCreator.java012
org/deegree/feature/persistence/sql/ddl/MSSQLDDLCreator.java010
org/deegree/feature/persistence/sql/ddl/OracleDDLCreator.java010
org/deegree/feature/persistence/sql/ddl/PostGISDDLCreator.java010
org/deegree/feature/persistence/sql/id/AutoIDGenerator.java010
org/deegree/feature/persistence/sql/id/FIDMapping.java020
org/deegree/feature/persistence/sql/id/IDGenerator.java010
org/deegree/feature/persistence/sql/id/IdAnalysis.java020
org/deegree/feature/persistence/sql/id/IdAnalyzer.java010
org/deegree/feature/persistence/sql/id/SequenceIDGenerator.java010
org/deegree/feature/persistence/sql/id/TableDependencies.java010
org/deegree/feature/persistence/sql/id/UUIDGenerator.java010
org/deegree/feature/persistence/sql/insert/FeatureRow.java010
org/deegree/feature/persistence/sql/insert/InsertRow.java003
org/deegree/feature/persistence/sql/insert/InsertRowManager.java013
org/deegree/feature/persistence/sql/mapper/AppSchemaMapper.java017
org/deegree/feature/persistence/sql/mapper/MappingContext.java020
org/deegree/feature/persistence/sql/mapper/MappingContextManager.java010
org/deegree/feature/persistence/sql/mapper/XPathSchemaWalker.java013
org/deegree/feature/persistence/sql/rules/CompoundMapping.java010
org/deegree/feature/persistence/sql/rules/ConstantMapping.java010
org/deegree/feature/persistence/sql/rules/FeatureBuilderRelational.java016
org/deegree/feature/persistence/sql/rules/FeatureMapping.java020
org/deegree/feature/persistence/sql/rules/GeometryMapping.java020
org/deegree/feature/persistence/sql/rules/Mapping.java010
org/deegree/feature/persistence/sql/rules/Mappings.java040
org/deegree/feature/persistence/sql/rules/PrimitiveMapping.java020
org/deegree/feature/persistence/sql/xpath/MappableNameStep.java010
org/deegree/feature/persistence/sql/xpath/MappableStep.java011
org/deegree/feature/persistence/sql/xpath/MappedXPath.java003

Rules

RulesViolationsSeverity
EmptyStatement0Warnings Warning
CyclomaticComplexity32Errors Error
ClassFanOutComplexity15Errors Error
CovariantEquals0Errors Error
ClassDataAbstractionCoupling
  • max: "12"
8Errors Error
NPathComplexity18Errors Error
RedundantImport0Warnings Warning
UnusedImports14Warnings Warning
RedundantModifier3Warnings Warning
RedundantThrows9Warnings Warning
FileLength0Errors Error
NewlineAtEndOfFile39Warnings Warning

Details

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsRedundant 'public' modifier.59
WarningsRedundant 'public' modifier.69

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.feature.types.FeatureType.52

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsUnused import - org.deegree.feature.types.AppSchema.51
WarningsRedundant throws: 'IllegalArgumentException' is unchecked exception.254

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass 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
ErrorsClass Fan-Out Complexity is 94 (max allowed is 20).152
ErrorsCyclomatic Complexity is 14 (max allowed is 10).225
ErrorsNPath Complexity is 384 (max allowed is 200).225
ErrorsCyclomatic Complexity is 11 (max allowed is 10).323
ErrorsCyclomatic Complexity is 13 (max allowed is 10).716
ErrorsNPath Complexity is 236 (max allowed is 200).716
ErrorsCyclomatic Complexity is 13 (max allowed is 10).1074
ErrorsNPath Complexity is 344 (max allowed is 200).1074
ErrorsCyclomatic Complexity is 14 (max allowed is 10).1182
ErrorsNPath Complexity is 1,540 (max allowed is 200).1182
ErrorsCyclomatic Complexity is 16 (max allowed is 10).1326
ErrorsNPath Complexity is 5,200 (max allowed is 200).1326
ErrorsCyclomatic Complexity is 12 (max allowed is 10).1440

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.sqldialect.SQLDialectProvider.52

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

ViolationMessageLine
ErrorsClass Data Abstraction Coupling is 17 (max allowed is 12) classes [ArrayList, BBoxTracker, ByteArrayOutputStream, DBField, FeatureStoreException, GeometryMapping, GeometryStorageParams, HashMap, HashSet, IdFilter, InsertRowManager, LinkedHashSet, PrimitiveType, PrimitiveValue, Query, SQLException, StringBuilder].120
ErrorsClass Fan-Out Complexity is 63 (max allowed is 20).120
ErrorsCyclomatic Complexity is 15 (max allowed is 10).405
ErrorsNPath Complexity is 224 (max allowed is 200).405
ErrorsCyclomatic Complexity is 26 (max allowed is 10).538
ErrorsNPath Complexity is 5,046 (max allowed is 200).538
ErrorsCyclomatic Complexity is 11 (max allowed is 10).825
ErrorsCyclomatic Complexity is 13 (max allowed is 10).870

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Fan-Out Complexity is 33 (max allowed is 20).91
WarningsRedundant throws: 'FactoryConfigurationError' is unchecked exception.141
WarningsRedundant throws: 'XMLParsingException' is unchecked exception.210
WarningsRedundant throws: 'FactoryConfigurationError' is unchecked exception.211
WarningsRedundant throws: 'IllegalArgumentException' is unchecked exception.312

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.cs.coordinatesystems.CRS.39
WarningsUnused import - org.deegree.feature.persistence.sql.FeatureTypeMapping.41
WarningsUnused import - org.deegree.feature.persistence.sql.MappedAppSchema.42

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

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

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

ViolationMessageLine
ErrorsClass 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
ErrorsClass Fan-Out Complexity is 66 (max allowed is 20).127
ErrorsCyclomatic Complexity is 20 (max allowed is 10).181
ErrorsNPath Complexity is 513 (max allowed is 200).181

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass 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
ErrorsClass Fan-Out Complexity is 54 (max allowed is 20).111
ErrorsCyclomatic Complexity is 21 (max allowed is 10).281
ErrorsNPath Complexity is 10,944 (max allowed is 200).281
ErrorsCyclomatic Complexity is 15 (max allowed is 10).383
ErrorsNPath Complexity is 432 (max allowed is 200).383
ErrorsCyclomatic Complexity is 14 (max allowed is 10).464

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass 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
ErrorsClass Fan-Out Complexity is 54 (max allowed is 20).115
ErrorsCyclomatic Complexity is 15 (max allowed is 10).285
ErrorsNPath Complexity is 1,824 (max allowed is 200).285
ErrorsCyclomatic Complexity is 15 (max allowed is 10).369
ErrorsNPath Complexity is 432 (max allowed is 200).369
ErrorsCyclomatic Complexity is 14 (max allowed is 10).450

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

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

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsRedundant 'public' modifier.61

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Fan-Out Complexity is 22 (max allowed is 20).68
ErrorsCyclomatic Complexity is 12 (max allowed is 10).196

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.feature.persistence.sql.FeatureTypeMapping.43

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsRedundant throws: 'IllegalArgumentException' is unchecked exception.58

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsUnused import - org.deegree.feature.persistence.sql.MappedAppSchema.51

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsUnused import - org.deegree.protocol.wfs.transaction.action.IDGenMode.54

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

ViolationMessageLine
ErrorsClass Fan-Out Complexity is 23 (max allowed is 20).71
ErrorsCyclomatic Complexity is 12 (max allowed is 10).190
ErrorsNPath Complexity is 256 (max allowed is 200).190

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

ViolationMessageLine
WarningsUnused import - org.deegree.feature.persistence.sql.SQLFeatureStoreTransaction.64
ErrorsClass Fan-Out Complexity is 46 (max allowed is 20).103
ErrorsCyclomatic Complexity is 30 (max allowed is 10).300
ErrorsNPath Complexity is 1,353 (max allowed is 200).300

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass 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].116
ErrorsClass Fan-Out Complexity is 56 (max allowed is 20).116
ErrorsCyclomatic Complexity is 15 (max allowed is 10).261
ErrorsCyclomatic Complexity is 15 (max allowed is 10).511
ErrorsNPath Complexity is 300 (max allowed is 200).511
ErrorsCyclomatic Complexity is 13 (max allowed is 10).710
ErrorsNPath Complexity is 288 (max allowed is 200).710

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.feature.types.FeatureType.38

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Fan-Out Complexity is 24 (max allowed is 20).82
ErrorsCyclomatic Complexity is 16 (max allowed is 10).145
ErrorsCyclomatic Complexity is 11 (max allowed is 10).261

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
ErrorsClass Data Abstraction Coupling is 13 (max allowed is 12) classes [ArrayList, CurveSegment, GenericProperty, GenericXMLElement, GeometryFactory, HashMap, LinkedHashMap, NamespaceBindings, Pair, PrimitiveValue, QName, SQLException, StringBuilder].108
ErrorsClass Fan-Out Complexity is 55 (max allowed is 20).108
ErrorsCyclomatic Complexity is 15 (max allowed is 10).188
ErrorsCyclomatic Complexity is 49 (max allowed is 10).349
ErrorsNPath Complexity is 64,912 (max allowed is 200).349
ErrorsCyclomatic Complexity is 12 (max allowed is 10).637

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.feature.Feature.42

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.geometry.Geometry.46

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsRedundant throws: 'UnsupportedOperationException' is unchecked exception.70
WarningsRedundant throws: 'IllegalArgumentException' is unchecked exception.70
WarningsRedundant throws: 'UnsupportedOperationException' is unchecked exception.79

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

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsUnused import - org.deegree.commons.tom.primitive.PrimitiveValue.41

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

ViolationMessageLine
WarningsFile does not end with a newline.0

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

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

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

ViolationMessageLine
ErrorsClass Fan-Out Complexity is 30 (max allowed is 20).77
ErrorsCyclomatic Complexity is 25 (max allowed is 10).142
ErrorsNPath Complexity is 600 (max allowed is 200).142