Skip to content

ExcessiveMethodLength PMD assessment GeoTools

Gabriel Roldan edited this page Mar 10, 2021 · 1 revision

ExcessiveMethodLength PMD rule GeoTools assessment

Reference: main at 64e0026c

mvn clean install -o -Dqa -DskipTests --fail-never

Methods with > 500 lines of code

Lines of code Lines Method
978 30262-31240 org.geotools.gml3.GMLSchema:GMLSchema() (*)
970 126-1096 org.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerTest:contrastEnhancementMethods()
618 245-863 org.geotools.coverage.processing.operation.Resampler2D:reproject(...)
597 955-1552 org.geotools.gce.imagemosaic.GranuleDescriptor:loadRaster()

* file too long to be displayed by GitHub

Modules with methods with > 100 lines of code

Module # of violations
gt-xsd-gml3 332
gt-main 57
gt-coverage 47
gt-render 41
gt-imagemosaic 38
gt-referencing 35
gt-netcdf 28
gt-xml 25
gt-process-raster 18
gt-app-schema 17
gt-jdbc 10
gt-shapefile 10
gt-process-feature 9
gt-graph 9
gt-metadata 7
gt-xsd-core 7
gt-imageio-ext-gdal 6
gt-wfs-ng 6
gt-wms 6
gt-grassraster 5
gt-imagemosaic-jdbc 5
gt-wmts 5
gt-jdbc-postgis 4
gt-jdbc-oracle 4
gt-geotiff 4
gt-jp2k 4
gt-complex 4
gt-swing 4
gt-epsg-hsql 3
gt-jdbc-teradata 3
gt-postgis-raster 3
gt-cql 3
gt-imagepyramid 3
gt-coverage-api 3
gt-geopkg 3
gt-mbstyle 3
gt-ysld 3
gt-vpf 2
gt-arcgrid 2
gt-image 2
gt-jdbc-hana 2
gt-process 2
gt-ogr-core 2
gt-opengis 1
gt-xsd-fes 2
gt-xsd-filter 2
gt-grid 1
gt-jdbc-mysql 1
gt-jdbc-h2 1
gt-jdbc-sqlserver 1
gt-jdbc-db2 1
gt-tpk 1
gt-cql-json 1
gt-property 1
gt-brewer 1
gt-xsd-kml 1
gt-xsd-gml2 1
gt-geojsondatastore 1
gt-feature-pregeneralized 1
gt-xsd-ows 1
gt-xsd-wmts 1
gt-xsd-csw 1
gt-xsd-wfs 1
gt-xsd-wps 1
gt-mongodb 1
gt-tile-client 1
gt-mbtiles 1