PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/cs/CRSIdentifiable.java

Violation Line
These nested if statements could be combined 502 - 515

org/deegree/cs/components/Unit.java

Violation Line
Unnecessary final modifier in final class 264 - 272
Unnecessary final modifier in final class 281 - 286
Unnecessary final modifier in final class 342 - 344
Unnecessary final modifier in final class 349 - 351

org/deegree/cs/configuration/resources/XMLFileResource.java

Violation Line
These nested if statements could be combined 93 - 96
These nested if statements could be combined 99 - 103

org/deegree/cs/configuration/wkt/WKTParser.java

Violation Line
Too many static imports may lead to messy code 37 - 1216

org/deegree/cs/coordinatesystems/CRS.java

Violation Line
These nested if statements could be combined 468 - 470
These nested if statements could be combined 487 - 490
Avoid empty catch blocks 514 - 516

org/deegree/cs/io/deegree/CRSExporter.java

Violation Line
Too many static imports may lead to messy code 39 - 1475
These nested if statements could be combined 226 - 235
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 297
Avoid empty catch blocks 320 - 322
Avoid empty catch blocks 341 - 343
These nested if statements could be combined 367 - 393
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 442
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 518
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 569

org/deegree/cs/io/deegree/CRSExporterBase.java

Violation Line
These nested if statements could be combined 536 - 563

org/deegree/cs/persistence/CRSManager.java

Violation Line
Avoid empty catch blocks 530 - 532
Avoid empty catch blocks 564 - 566
Avoid unused method parameters such as 'forceXY'. 636 - 652

org/deegree/cs/persistence/deegree/d3/parsers/DefinitionParser.java

Violation Line
These nested if statements could be combined 130 - 144

org/deegree/cs/persistence/deegree/d3/parsers/EllipsoidParser.java

Violation Line
Too many static imports may lead to messy code 39 - 175

org/deegree/cs/persistence/deegree/d3/parsers/TransformationParser.java

Violation Line
Avoid unused imports such as 'org.deegree.cs.coordinatesystems.CRS' 66
Avoid unused method parameters such as 'identifiable'. 301 - 349

org/deegree/cs/persistence/gml/GMLCRSStore.java

Violation Line
Too many static imports may lead to messy code 37 - 1552
Avoid empty catch blocks 1362 - 1364

org/deegree/cs/persistence/proj4/PROJ4CRSStore.java

Violation Line
Avoid empty if statements 915 - 916
Avoid empty if statements 916 - 917
Avoid empty if statements 917 - 918
Avoid empty if statements 918 - 919
Avoid empty if statements 919 - 920
Avoid empty if statements 920 - 921
Avoid empty if statements 921 - 922
Avoid empty if statements 922 - 923
Avoid empty if statements 923 - 924
Avoid empty if statements 924 - 925
Avoid empty if statements 925 - 926
Avoid empty if statements 926 - 927
Avoid empty if statements 927 - 928
Avoid empty if statements 928 - 929
Avoid empty if statements 929 - 930
Avoid empty if statements 930 - 931
Avoid empty if statements 931 - 932
Avoid empty if statements 932 - 933
Avoid empty if statements 933 - 934
Avoid empty if statements 934 - 935
Avoid empty if statements 935 - 936
Avoid empty if statements 936 - 937
Avoid empty if statements 937 - 938
Avoid empty if statements 938 - 939
Avoid empty if statements 939 - 940
Avoid empty if statements 940 - 941
Avoid empty if statements 941 - 942
Avoid empty if statements 942 - 943
Avoid empty if statements 943 - 944
Avoid empty if statements 944 - 945
Avoid empty if statements 945 - 946
Avoid empty if statements 946 - 947
Avoid empty if statements 947 - 948
Avoid empty if statements 948 - 949
Avoid empty if statements 949 - 950
Avoid empty if statements 950 - 951
Avoid empty if statements 951 - 952
Avoid empty if statements 952 - 953
Avoid empty if statements 953 - 954
Avoid empty if statements 954 - 955
Avoid empty if statements 955 - 956
Avoid empty if statements 956 - 957
Avoid empty if statements 957 - 958
Avoid empty if statements 960 - 961
Avoid empty if statements 961 - 962
Avoid empty if statements 962 - 963
Avoid empty if statements 963 - 964
Avoid empty if statements 967 - 968
Avoid empty if statements 968 - 969
Avoid empty if statements 969 - 970
Avoid empty if statements 970 - 971
Avoid empty if statements 971 - 972
Avoid empty if statements 972 - 973
Avoid empty if statements 973 - 974
Avoid empty if statements 974 - 975
Avoid empty if statements 975 - 976
Avoid empty if statements 976 - 977
Avoid empty if statements 977 - 978
Avoid empty if statements 978 - 979
Avoid empty if statements 979 - 980
Avoid empty if statements 980 - 981
Avoid empty if statements 981 - 982
Avoid empty if statements 982 - 983
Avoid empty if statements 983 - 984
Avoid empty if statements 984 - 985
Avoid empty if statements 985 - 986
Avoid empty if statements 986 - 987
Avoid empty if statements 987 - 988
Avoid empty if statements 988 - 989
Avoid empty if statements 989 - 990
Avoid empty if statements 990 - 991
Avoid empty if statements 991 - 992
Avoid empty if statements 992 - 993
Avoid empty if statements 993 - 994
Avoid empty if statements 994 - 995
Avoid empty if statements 995 - 996
Avoid empty if statements 996 - 997
Avoid empty if statements 997 - 998
Avoid empty if statements 998 - 999
Avoid empty if statements 999 - 1000
Avoid empty if statements 1000 - 1001
Avoid empty if statements 1001 - 1002
Avoid empty if statements 1002 - 1003
Avoid empty if statements 1003 - 1004
Avoid empty if statements 1004 - 1005
Avoid empty if statements 1005 - 1006
Avoid empty if statements 1006 - 1007
Avoid empty if statements 1007 - 1008
Avoid empty if statements 1008 - 1009
Avoid empty if statements 1009 - 1010
Avoid empty if statements 1010 - 1011
Avoid empty if statements 1016 - 1017
Avoid empty if statements 1017 - 1018
Avoid empty if statements 1018 - 1019
Avoid empty if statements 1030 - 1031
Avoid empty if statements 1031 - 1032
Avoid empty if statements 1032 - 1033
Avoid empty if statements 1033 - 1034
Avoid empty if statements 1034 - 1035
Avoid empty if statements 1035 - 1036
Avoid empty if statements 1036 - 1037
Avoid empty if statements 1037 - 1038
Avoid empty if statements 1038 - 1039
Avoid empty if statements 1039 - 1040
Avoid empty if statements 1040 - 1041
Avoid empty if statements 1041 - 1042
Avoid empty if statements 1042 - 1043
Avoid empty if statements 1043 - 1044
Avoid empty if statements 1044 - 1045
Avoid empty if statements 1045 - 1046
Avoid empty if statements 1046 - 1047
Avoid empty if statements 1047 - 1048
Avoid empty if statements 1048 - 1049
Avoid empty if statements 1049 - 1050
Avoid empty if statements 1050 - 1051
Avoid empty if statements 1051 - 1052

org/deegree/cs/projections/azimuthal/AzimuthalProjection.java

Violation Line
Ensure you override both equals() and hashCode() 147

org/deegree/cs/projections/azimuthal/LambertAzimuthalEqualArea.java

Violation Line
Too many static imports may lead to messy code 37 - 517

org/deegree/cs/projections/azimuthal/StereographicAzimuthal.java

Violation Line
Too many static imports may lead to messy code 37 - 548

org/deegree/cs/projections/conic/LambertConformalConic.java

Violation Line
Too many static imports may lead to messy code 37 - 408

org/deegree/cs/projections/cylindric/TransverseMercator.java

Violation Line
Too many static imports may lead to messy code 37 - 452

org/deegree/cs/refs/CRSResourceRef.java

Violation Line
Ensure you override both equals() and hashCode() 156

org/deegree/cs/refs/components/DatumRef.java

Violation Line
Ensure you override both equals() and hashCode() 67

org/deegree/cs/refs/coordinatesystem/CompoundCRSRef.java

Violation Line
Ensure you override both equals() and hashCode() 108

org/deegree/cs/refs/coordinatesystem/GeocentricCRSRef.java

Violation Line
Ensure you override both equals() and hashCode() 74

org/deegree/cs/refs/coordinatesystem/GeographicCRSRef.java

Violation Line
Ensure you override both equals() and hashCode() 74

org/deegree/cs/refs/coordinatesystem/ProjectedCRSRef.java

Violation Line
Ensure you override both equals() and hashCode() 97

org/deegree/cs/refs/coordinatesystem/VerticalCRSRef.java

Violation Line
Ensure you override both equals() and hashCode() 84

org/deegree/cs/transformations/Transformation.java

Violation Line
Ensure you override both equals() and hashCode() 418

org/deegree/cs/transformations/TransformationFactory.java

Violation Line
Too many static imports may lead to messy code 36 - 1351
These nested if statements could be combined 265 - 270
These nested if statements could be combined 420 - 422
These nested if statements could be combined 651 - 654
These nested if statements could be combined 657 - 659
These nested if statements could be combined 862 - 905

org/deegree/cs/transformations/coordinate/MatrixTransform.java

Violation Line
Avoid unused constructor parameters such as 'transformationName'. 267 - 271

org/deegree/cs/transformations/coordinate/ProjectionTransform.java

Violation Line
These nested if statements could be combined 107 - 113

org/deegree/cs/transformations/helmert/Helmert.java

Violation Line
Too many static imports may lead to messy code 36 - 566

org/deegree/cs/transformations/ntv2/NTv2Transformation.java

Violation Line
Too many static imports may lead to messy code 39 - 350
These nested if statements could be combined 217 - 223