PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/cs/CRSIdentifiable.java

ViolationLine
These nested if statements could be combined502 - 515

org/deegree/cs/components/Unit.java

ViolationLine
Unnecessary final modifier in final class264 - 272
Unnecessary final modifier in final class281 - 286
Unnecessary final modifier in final class342 - 344
Unnecessary final modifier in final class349 - 351

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

ViolationLine
These nested if statements could be combined93 - 96
These nested if statements could be combined99 - 103

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

ViolationLine
Too many static imports may lead to messy code37 - 1216

org/deegree/cs/coordinatesystems/CRS.java

ViolationLine
These nested if statements could be combined468 - 470
These nested if statements could be combined487 - 490
Avoid empty catch blocks514 - 516

org/deegree/cs/i18n/Messages.java

ViolationLine
Avoid unused private methods such as 'get(Properties,String,Object...)'.137

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

ViolationLine
Too many static imports may lead to messy code39 - 1463
These nested if statements could be combined218 - 227
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.288
Avoid empty catch blocks311 - 313
Avoid empty catch blocks332 - 334
These nested if statements could be combined358 - 384
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.432
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.507
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.557

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

ViolationLine
These nested if statements could be combined536 - 563

org/deegree/cs/persistence/CRSManager.java

ViolationLine
Avoid empty catch blocks530 - 532
Avoid empty catch blocks564 - 566
Avoid unused method parameters such as 'forceXY'.636 - 652

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

ViolationLine
Too many static imports may lead to messy code39 - 348
These nested if statements could be combined131 - 145

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

ViolationLine
Too many static imports may lead to messy code39 - 174

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

ViolationLine
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

ViolationLine
Too many static imports may lead to messy code37 - 1552
Avoid empty catch blocks1362 - 1364

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

ViolationLine
Avoid empty if statements915 - 916
Avoid empty if statements916 - 917
Avoid empty if statements917 - 918
Avoid empty if statements918 - 919
Avoid empty if statements919 - 920
Avoid empty if statements920 - 921
Avoid empty if statements921 - 922
Avoid empty if statements922 - 923
Avoid empty if statements923 - 924
Avoid empty if statements924 - 925
Avoid empty if statements925 - 926
Avoid empty if statements926 - 927
Avoid empty if statements927 - 928
Avoid empty if statements928 - 929
Avoid empty if statements929 - 930
Avoid empty if statements930 - 931
Avoid empty if statements931 - 932
Avoid empty if statements932 - 933
Avoid empty if statements933 - 934
Avoid empty if statements934 - 935
Avoid empty if statements935 - 936
Avoid empty if statements936 - 937
Avoid empty if statements937 - 938
Avoid empty if statements938 - 939
Avoid empty if statements939 - 940
Avoid empty if statements940 - 941
Avoid empty if statements941 - 942
Avoid empty if statements942 - 943
Avoid empty if statements943 - 944
Avoid empty if statements944 - 945
Avoid empty if statements945 - 946
Avoid empty if statements946 - 947
Avoid empty if statements947 - 948
Avoid empty if statements948 - 949
Avoid empty if statements949 - 950
Avoid empty if statements950 - 951
Avoid empty if statements951 - 952
Avoid empty if statements952 - 953
Avoid empty if statements953 - 954
Avoid empty if statements954 - 955
Avoid empty if statements955 - 956
Avoid empty if statements956 - 957
Avoid empty if statements957 - 958
Avoid empty if statements960 - 961
Avoid empty if statements961 - 962
Avoid empty if statements962 - 963
Avoid empty if statements963 - 964
Avoid empty if statements967 - 968
Avoid empty if statements968 - 969
Avoid empty if statements969 - 970
Avoid empty if statements970 - 971
Avoid empty if statements971 - 972
Avoid empty if statements972 - 973
Avoid empty if statements973 - 974
Avoid empty if statements974 - 975
Avoid empty if statements975 - 976
Avoid empty if statements976 - 977
Avoid empty if statements977 - 978
Avoid empty if statements978 - 979
Avoid empty if statements979 - 980
Avoid empty if statements980 - 981
Avoid empty if statements981 - 982
Avoid empty if statements982 - 983
Avoid empty if statements983 - 984
Avoid empty if statements984 - 985
Avoid empty if statements985 - 986
Avoid empty if statements986 - 987
Avoid empty if statements987 - 988
Avoid empty if statements988 - 989
Avoid empty if statements989 - 990
Avoid empty if statements990 - 991
Avoid empty if statements991 - 992
Avoid empty if statements992 - 993
Avoid empty if statements993 - 994
Avoid empty if statements994 - 995
Avoid empty if statements995 - 996
Avoid empty if statements996 - 997
Avoid empty if statements997 - 998
Avoid empty if statements998 - 999
Avoid empty if statements999 - 1000
Avoid empty if statements1000 - 1001
Avoid empty if statements1001 - 1002
Avoid empty if statements1002 - 1003
Avoid empty if statements1003 - 1004
Avoid empty if statements1004 - 1005
Avoid empty if statements1005 - 1006
Avoid empty if statements1006 - 1007
Avoid empty if statements1007 - 1008
Avoid empty if statements1008 - 1009
Avoid empty if statements1009 - 1010
Avoid empty if statements1010 - 1011
Avoid empty if statements1016 - 1017
Avoid empty if statements1017 - 1018
Avoid empty if statements1018 - 1019
Avoid empty if statements1030 - 1031
Avoid empty if statements1031 - 1032
Avoid empty if statements1032 - 1033
Avoid empty if statements1033 - 1034
Avoid empty if statements1034 - 1035
Avoid empty if statements1035 - 1036
Avoid empty if statements1036 - 1037
Avoid empty if statements1037 - 1038
Avoid empty if statements1038 - 1039
Avoid empty if statements1039 - 1040
Avoid empty if statements1040 - 1041
Avoid empty if statements1041 - 1042
Avoid empty if statements1042 - 1043
Avoid empty if statements1043 - 1044
Avoid empty if statements1044 - 1045
Avoid empty if statements1045 - 1046
Avoid empty if statements1046 - 1047
Avoid empty if statements1047 - 1048
Avoid empty if statements1048 - 1049
Avoid empty if statements1049 - 1050
Avoid empty if statements1050 - 1051
Avoid empty if statements1051 - 1052

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

ViolationLine
Ensure you override both equals() and hashCode()147

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

ViolationLine
Too many static imports may lead to messy code37 - 517

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

ViolationLine
Too many static imports may lead to messy code37 - 548

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

ViolationLine
Too many static imports may lead to messy code37 - 408

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

ViolationLine
Too many static imports may lead to messy code37 - 452

org/deegree/cs/refs/CRSResourceRef.java

ViolationLine
Ensure you override both equals() and hashCode()156

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

ViolationLine
Ensure you override both equals() and hashCode()67

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

ViolationLine
Ensure you override both equals() and hashCode()108

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

ViolationLine
Ensure you override both equals() and hashCode()74

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

ViolationLine
Ensure you override both equals() and hashCode()74

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

ViolationLine
Ensure you override both equals() and hashCode()97

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

ViolationLine
Ensure you override both equals() and hashCode()84

org/deegree/cs/transformations/Transformation.java

ViolationLine
Ensure you override both equals() and hashCode()418

org/deegree/cs/transformations/TransformationFactory.java

ViolationLine
Too many static imports may lead to messy code36 - 1351
These nested if statements could be combined265 - 270
These nested if statements could be combined420 - 422
These nested if statements could be combined651 - 654
These nested if statements could be combined657 - 659
These nested if statements could be combined862 - 905

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

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

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

ViolationLine
These nested if statements could be combined107 - 113

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

ViolationLine
Too many static imports may lead to messy code36 - 566

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

ViolationLine
Too many static imports may lead to messy code39 - 350
These nested if statements could be combined217 - 223