Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
99 0 51 60

Files

Files Infos Warnings Errors
org/deegree/tools/binding/CityGMLImporterGenerator.java 0 2 0
org/deegree/tools/binding/FeatureClass.java 0 0 1
org/deegree/tools/binding/FeatureTypeInstanceWriter.java 0 0 1
org/deegree/tools/binding/ModelClass.java 0 0 2
org/deegree/tools/crs/georeferencing/application/ApplicationState.java 0 0 2
org/deegree/tools/crs/georeferencing/application/Controller.java 0 1 2
org/deegree/tools/crs/georeferencing/application/TransformationPoints.java 0 1 3
org/deegree/tools/crs/georeferencing/application/handler/JCheckboxHandler.java 0 0 2
org/deegree/tools/crs/georeferencing/application/listeners/ButtonListener.java 0 0 3
org/deegree/tools/crs/georeferencing/application/listeners/FootprintMouseListener.java 0 0 1
org/deegree/tools/crs/georeferencing/application/listeners/Scene2DMouseListener.java 0 0 1
org/deegree/tools/crs/georeferencing/application/transformation/Polynomial.java 0 0 1
org/deegree/tools/crs/georeferencing/communication/DefaultGRViewerGUI.java 0 0 2
org/deegree/tools/crs/georeferencing/communication/GRViewerGUI.java 0 9 0
org/deegree/tools/crs/georeferencing/communication/PointTableFrame.java 0 1 0
org/deegree/tools/crs/georeferencing/communication/dialog/coordinatejump/CoordinateJumperTextfieldDialog.java 0 0 2
org/deegree/tools/crs/georeferencing/communication/dialog/menuitem/WMSParameterChooser.java 0 1 0
org/deegree/tools/crs/georeferencing/communication/panel2D/Scene2DPanel.java 0 1 0
org/deegree/tools/crs/georeferencing/model/points/FootprintPoint.java 0 1 0
org/deegree/tools/crs/georeferencing/model/points/GeoReferencedPoint.java 0 1 0
org/deegree/tools/rendering/FlightControls.java 0 0 1
org/deegree/tools/rendering/InteractiveWPVS.java 0 3 8
org/deegree/tools/rendering/dem/builder/DEMDatasetGenerator.java 0 1 2
org/deegree/tools/rendering/dem/builder/PatchManager.java 0 3 0
org/deegree/tools/rendering/dem/builder/dag/DAGBuilder.java 0 0 1
org/deegree/tools/rendering/dem/filtering/DEMRasterFilterer.java 0 0 3
org/deegree/tools/rendering/dem/filtering/filters/DEMFilter.java 0 2 0
org/deegree/tools/rendering/manager/DataManager.java 0 3 4
org/deegree/tools/rendering/manager/ModelGeneralizor.java 0 3 1
org/deegree/tools/rendering/manager/ModelManager.java 0 1 0
org/deegree/tools/rendering/manager/PrototypeAssigner.java 0 3 1
org/deegree/tools/rendering/manager/buildings/BuildingManager.java 0 2 0
org/deegree/tools/rendering/manager/buildings/PrototypeManager.java 0 2 0
org/deegree/tools/rendering/manager/buildings/importers/CityGMLImporter.java 0 3 4
org/deegree/tools/rendering/manager/buildings/importers/ModelImporter.java 0 1 0
org/deegree/tools/rendering/manager/buildings/importers/VRMLImporter.java 0 0 5
org/deegree/tools/rendering/manager/stage/StageManager.java 0 1 2
org/deegree/tools/rendering/manager/trees/TreeManager.java 0 1 1
org/deegree/tools/rendering/viewer/Export3DFile.java 0 0 2
org/deegree/tools/rendering/viewer/GLViewer.java 0 0 2
org/deegree/tools/rendering/viewer/J3DExporter.java 0 4 0

Rules

Rules Violations Severity
EmptyStatement 0 Warnings Warning
CyclomaticComplexity 19 Errors Error
ClassFanOutComplexity 20 Errors Error
CovariantEquals 0 Errors Error
ClassDataAbstractionCoupling
  • max: "12"
14 Errors Error
NPathComplexity 7 Errors Error
RedundantImport 0 Warnings Warning
UnusedImports 9 Warnings Warning
RedundantModifier 15 Warnings Warning
RedundantThrows 22 Warnings Warning
FileLength 0 Errors Error
NewlineAtEndOfFile 5 Warnings Warning

Details

org/deegree/tools/binding/CityGMLImporterGenerator.java

Violation Message Line
Warnings Unused import - org.deegree.tools.rendering.manager.buildings.importers.ModelImporter. 52
Warnings Redundant throws: 'ClassCastException' is unchecked exception. 70

org/deegree/tools/binding/FeatureClass.java

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

org/deegree/tools/binding/FeatureTypeInstanceWriter.java

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

org/deegree/tools/binding/ModelClass.java

Violation Message Line
Errors Cyclomatic Complexity is 11 (max allowed is 10). 373
Errors Cyclomatic Complexity is 51 (max allowed is 10). 558

org/deegree/tools/crs/georeferencing/application/ApplicationState.java

Violation Message Line
Errors Class Data Abstraction Coupling is 20 (max allowed is 12) classes [AffineTransformation, ArrayList, FeatureLayer, Footprint, FootprintMouseListener, FootprintMouseModel, GeoReferencedMouseModel, GeometryFactory, Helmert4Transform, LinkedList, MapService, MouseAdapter, PointsList, Polynomial, Rectangle, RequestableLayer, Scene2DMouseListener, Scene2DMouseMotionListener, Scene2DMouseWheelListener, StreamSource]. 104
Errors Class Fan-Out Complexity is 54 (max allowed is 20). 104

org/deegree/tools/crs/georeferencing/application/Controller.java

Violation Message Line
Warnings Unused import - javax.swing.JFrame. 48
Errors Class Data Abstraction Coupling is 13 (max allowed is 12) classes [ButtonListener, CheckBoxListModel, CheckboxListTransformation, ControllerModel, FootprintPoint, GeoReferencedPoint, GeometryFactory, HoleWindowListener, OptionDialogModel, Point4Values, PointTableFrame, Scene2DValues, TableChangedEventListener]. 80
Errors Class Fan-Out Complexity is 23 (max allowed is 20). 80

org/deegree/tools/crs/georeferencing/application/TransformationPoints.java

Violation Message Line
Warnings Unused import - org.deegree.gml.GMLVersion.GML_31. 40
Errors Class Data Abstraction Coupling is 24 (max allowed is 12) classes [ActionEvent, ArrayList, ByteArrayInputStream, DefaultPoint, FeatureLayer, FileInputHandler, FootprintPoint, GenericFeatureCollection, GenericProperty, GeometryFactory, HashMap, HashSet, IdFilter, LinkedList, Not, OperatorFilter, Point4Values, PropertyIsNull, RequestableLayer, ScaleDenominatorsType, Triple, ValueReference, Vector, VectorTransformer]. 98
Errors Class Fan-Out Complexity is 46 (max allowed is 20). 98
Errors Cyclomatic Complexity is 13 (max allowed is 10). 239

org/deegree/tools/crs/georeferencing/application/handler/JCheckboxHandler.java

Violation Message Line
Errors Cyclomatic Complexity is 12 (max allowed is 10). 57
Errors NPath Complexity is 768 (max allowed is 200). 57

org/deegree/tools/crs/georeferencing/application/listeners/ButtonListener.java

Violation Message Line
Errors Class Data Abstraction Coupling is 25 (max allowed is 12) classes [ArrayList, Color, DefaultMutableTreeNode, ErrorDialog, FeatureLayer, File, FileChooser, FileOutputHandler, FileOutputStream, GeometryTransformer, HashMap, JCheckboxHandler, LayerOptions, LinkedList, MapController, NavigationTreeSelectionListener, OpenWMS, OptionDialog, Pair, RemoteWMSLayer, RemoteWMSStore, Style, TransformationPoints, WMSParameterChooser, XMLTransformer]. 111
Errors Class Fan-Out Complexity is 50 (max allowed is 20). 111
Errors Cyclomatic Complexity is 67 (max allowed is 10). 130

org/deegree/tools/crs/georeferencing/application/listeners/FootprintMouseListener.java

Violation Message Line
Errors Cyclomatic Complexity is 20 (max allowed is 10). 91

org/deegree/tools/crs/georeferencing/application/listeners/Scene2DMouseListener.java

Violation Message Line
Errors Cyclomatic Complexity is 18 (max allowed is 10). 88

org/deegree/tools/crs/georeferencing/application/transformation/Polynomial.java

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

org/deegree/tools/crs/georeferencing/communication/DefaultGRViewerGUI.java

Violation Message Line
Errors Class Data Abstraction Coupling is 19 (max allowed is 12) classes [BuildingFootprintPanel, ButtonGroup, Dimension, GLCanvas, GLCapabilities, GridBagLayout, ImageIcon, Insets, JButton, JMenu, JMenuBar, JMenuItem, JPanel, JSplitPane, JToggleButton, JToolBar, OpenGLEventHandler, Scene2DPanel, ToolbarListener]. 83
Errors Class Fan-Out Complexity is 28 (max allowed is 20). 83

org/deegree/tools/crs/georeferencing/communication/GRViewerGUI.java

Violation Message Line
Warnings Redundant 'public' modifier. 60
Warnings Redundant 'public' modifier. 67
Warnings Redundant 'public' modifier. 73
Warnings Redundant 'public' modifier. 75
Warnings Redundant 'public' modifier. 77
Warnings Redundant 'public' modifier. 79
Warnings Redundant 'public' modifier. 87
Warnings Redundant 'public' modifier. 89
Warnings Redundant 'public' modifier. 91

org/deegree/tools/crs/georeferencing/communication/PointTableFrame.java

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

org/deegree/tools/crs/georeferencing/communication/dialog/coordinatejump/CoordinateJumperTextfieldDialog.java

Violation Message Line
Errors Cyclomatic Complexity is 15 (max allowed is 10). 113
Errors NPath Complexity is 579 (max allowed is 200). 113

org/deegree/tools/crs/georeferencing/communication/dialog/menuitem/WMSParameterChooser.java

Violation Message Line
Warnings Redundant throws: 'NullPointerException' is unchecked exception. 95

org/deegree/tools/crs/georeferencing/communication/panel2D/Scene2DPanel.java

Violation Message Line
Warnings Unused import - javax.swing.JPanel. 48

org/deegree/tools/crs/georeferencing/model/points/FootprintPoint.java

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

org/deegree/tools/crs/georeferencing/model/points/GeoReferencedPoint.java

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

org/deegree/tools/rendering/FlightControls.java

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

org/deegree/tools/rendering/InteractiveWPVS.java

Violation Message Line
Errors Class Data Abstraction Coupling is 25 (max allowed is 12) classes [ArrayList, ConfiguredOpenGLInitValues, DefaultJDBCParams, Dimension, File, FileNotFoundException, FlightControls, GLU, GLUT, GregorianCalendar, HashMap, JFrame, LODAnalyzer, Option, Options, Pair, Point3d, PosixParser, RenderContext, ServiceInitException, StringBuilder, SunInfo, TextureManager, Vector3d, ViewParams]. 125
Errors Class Fan-Out Complexity is 59 (max allowed is 20). 125
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 219
Errors Cyclomatic Complexity is 15 (max allowed is 10). 323
Errors NPath Complexity is 768 (max allowed is 200). 323
Errors Cyclomatic Complexity is 45 (max allowed is 10). 643
Errors NPath Complexity is 2,480,061 (max allowed is 200). 643
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 849
Errors Cyclomatic Complexity is 15 (max allowed is 10). 894
Errors NPath Complexity is 1,152 (max allowed is 200). 894
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 895

org/deegree/tools/rendering/dem/builder/DEMDatasetGenerator.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 [DAGBuilder, File, FileBlob, GridFileReader, GridWriter, Option, Options, PatchManager, Point2f, PosixParser, RasterGeoReference, RasterRect, Worker]. 96
Errors Class Fan-Out Complexity is 29 (max allowed is 20). 96

org/deegree/tools/rendering/dem/builder/PatchManager.java

Violation Message Line
Warnings Unused import - org.deegree.rendering.r3d.multiresolution.MultiresolutionMesh. 50
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 118
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 125

org/deegree/tools/rendering/dem/builder/dag/DAGBuilder.java

Violation Message Line
Errors Cyclomatic Complexity is 16 (max allowed is 10). 418

org/deegree/tools/rendering/dem/filtering/DEMRasterFilterer.java

Violation Message Line
Errors Class Data Abstraction Coupling is 15 (max allowed is 12) classes [File, FilteredResultWiter, GridFileReader, GridWriter, IOException, Option, Options, PosixParser, RasterComparator, RasterFilterer, RasterIOOptions, RasterRect, Stack, StringBuilder, Thread]. 90
Errors Class Fan-Out Complexity is 31 (max allowed is 20). 90
Errors Cyclomatic Complexity is 11 (max allowed is 10). 161

org/deegree/tools/rendering/dem/filtering/filters/DEMFilter.java

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

org/deegree/tools/rendering/manager/DataManager.java

Violation Message Line
Errors Class Data Abstraction Coupling is 13 (max allowed is 12) classes [BuildingManager, DefaultJDBCParams, File, FileBackend, MissingFormatArgumentException, NumberFormatException, Option, Options, PosixParser, PrototypeManager, StageManager, StringBuilder, TreeManager]. 84
Errors Class Fan-Out Complexity is 27 (max allowed is 20). 84
Errors Cyclomatic Complexity is 16 (max allowed is 10). 226
Errors NPath Complexity is 240 (max allowed is 200). 226
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 227
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 227
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 308

org/deegree/tools/rendering/manager/ModelGeneralizor.java

Violation Message Line
Errors Class Fan-Out Complexity is 21 (max allowed is 20). 75
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 132
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 132
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 203

org/deegree/tools/rendering/manager/ModelManager.java

Violation Message Line
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 136

org/deegree/tools/rendering/manager/PrototypeAssigner.java

Violation Message Line
Errors Class Fan-Out Complexity is 22 (max allowed is 20). 76
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 146
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 146
Warnings Redundant throws: 'UnsupportedOperationException' is unchecked exception. 217

org/deegree/tools/rendering/manager/buildings/BuildingManager.java

Violation Message Line
Warnings Unused import - java.sql.SQLException. 43
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 119

org/deegree/tools/rendering/manager/buildings/PrototypeManager.java

Violation Message Line
Warnings Unused import - java.sql.SQLException. 43
Warnings Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 86

org/deegree/tools/rendering/manager/buildings/importers/CityGMLImporter.java

Violation Message Line
Errors Class Data Abstraction Coupling is 18 (max allowed is 12) classes [ArrayList, File, GMLAppSchemaReader, GeometryFactory, GeometryQualityModel, HashMap, IOException, LinkedList, NamespaceBindings, QName, SimpleAccessGeometry, SimpleGeometryStyle, Tesselator, Timestamp, TypedObjectNodeXPathEvaluator, URL, ValueReference, WorldRenderableObject]. 109
Errors Class Fan-Out Complexity is 49 (max allowed is 20). 109
Errors Cyclomatic Complexity is 12 (max allowed is 10). 151
Errors NPath Complexity is 576 (max allowed is 200). 151
Warnings Redundant throws: 'FactoryConfigurationError' is unchecked exception. 226
Warnings Redundant throws: 'XMLParsingException' is unchecked exception. 226
Warnings Redundant throws: 'ReferenceResolvingException' is unchecked exception. 227

org/deegree/tools/rendering/manager/buildings/importers/ModelImporter.java

Violation Message Line
Warnings Redundant 'public' modifier. 65

org/deegree/tools/rendering/manager/buildings/importers/VRMLImporter.java

Violation Message Line
Errors Class Data Abstraction Coupling is 24 (max allowed is 12) classes [AffineTransform, ArrayList, AxisAngle4d, BufferedImage, Color3f, File, GeometryFactory, GeometryInfo, HashMap, IOException, LinkedList, Matrix3d, NormalGenerator, Pair, Point3d, RenderableGeometry, RenderableQualityModel, RenderableTexturedGeometry, SimpleGeometryStyle, Timestamp, Transform3D, Vector3d, VrmlLoader, WorldRenderableObject]. 114
Errors Class Fan-Out Complexity is 55 (max allowed is 20). 114
Errors Cyclomatic Complexity is 11 (max allowed is 10). 180
Errors Cyclomatic Complexity is 14 (max allowed is 10). 253
Errors Cyclomatic Complexity is 16 (max allowed is 10). 461

org/deegree/tools/rendering/manager/stage/StageManager.java

Violation Message Line
Warnings Unused import - java.sql.SQLException. 44
Errors Class Data Abstraction Coupling is 14 (max allowed is 12) classes [CSVReader, DataObjectInfo, File, FileNotFoundException, FileReader, FileWriter, GeometryFactory, HashMap, HashSet, LinkedList, PrototypeReference, RenderableQualityModel, StringBuilder, WorldRenderableObject]. 75
Errors Class Fan-Out Complexity is 25 (max allowed is 20). 75

org/deegree/tools/rendering/manager/trees/TreeManager.java

Violation Message Line
Warnings Unused import - java.sql.SQLException. 43
Errors Class Fan-Out Complexity is 22 (max allowed is 20). 72

org/deegree/tools/rendering/viewer/Export3DFile.java

Violation Message Line
Errors Class Data Abstraction Coupling is 14 (max allowed is 12) classes [ActionListener, ButtonGroup, FlowLayout, GridBagConstraints, GridBagLayout, HashMap, JButton, JCheckBox, JDialog, JLabel, JPanel, JRadioButton, JTextField, StringBuilder]. 72
Errors Class Fan-Out Complexity is 23 (max allowed is 20). 72

org/deegree/tools/rendering/viewer/GLViewer.java

Violation Message Line
Errors Class Data Abstraction Coupling is 17 (max allowed is 12) classes [ActionListener, ArrayList, BorderLayout, Dimension, File, GLCanvas, GLCapabilities, GridBagConstraints, GridBagLayout, Insets, JButton, JFileChooser, JLabel, JPanel, JRadioButton, OpenGLEventHandler, ViewerFileFilter]. 80
Errors Class Fan-Out Complexity is 24 (max allowed is 20). 80

org/deegree/tools/rendering/viewer/J3DExporter.java

Violation Message Line
Warnings Redundant 'public' modifier. 64
Warnings Redundant 'public' modifier. 69
Warnings Redundant 'public' modifier. 74
Warnings Redundant 'public' modifier. 83