AI Slop Code Risk Monitor

OSGeo/gdal

SlopCodeMonitor badge for OSGeo/gdal Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for OSGeo/gdal, a C++ project with 6,130 GitHub stars. SynthScan examined 2,899,636 lines of code across 5083 source files, recording 9808 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 4.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
6.1K
Stars
C++
Language
2.9M
Lines of Code
5.1K
Files
9.8K
Pattern Hits
2026-10-31
Scan Date
0.09
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 13.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 8846 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.5/100 · LOW

Are imports declared and package/API names verified? 343 finding(s).

Agent Over-Engineering Ratio 10.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 6293 finding(s).

PR Review Velocity Impact 20.3/100 · LOW

Which changes need focused human review? 9808 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 467MEDIUM 512LOW 8829

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 9808 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers5645 hits · 4748 pts
SeverityFileLineSnippetContext
LOWogr/ogrspatialreference.cpp908 * The C function OSRDestroySpatialReference() does the same thing as thisCOMMENT
LOWogr/ogrspatialreference.cpp12495 * This method is the same as the C function EPSGTreatsAsNorthingEasting().COMMENT
LOWogr/ogrspatialreference.cpp12868 * This is the same as the C function OSRSetDataAxisToSRSAxisMapping().COMMENT
LOWogr/ogrct.cpp1008 * This is the same as the C function OCTNewCoordinateTransformation().COMMENT
LOWogr/ogrct.cpp1038 * This is the same as the C function OCTNewCoordinateTransformationEx().COMMENT
LOWogr/ogrct.cpp1133 * This is the same as the C++ function OGRCreateCoordinateTransformation(constCOMMENT
LOWogr/ogrct.cpp1169 * This is the same as the C++ function OGRCreateCoordinateTransformation(constCOMMENT
LOWogr/ogr_fromepsg.cpp108 * This method is the same as the C function OSRSetStatePlaneWithUnits().COMMENT
LOWogr/ogrsf_frmts/dgn/dgnwrite.cpp1915 * Generally speaking the function DGNCreateCellHeaderFromGroup() shouldCOMMENT
LOWswig/python/osgeo/gdal_fsspec.py227def register_vsi_implementations():CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py312def _build_layer_name_non_single_mode(CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py414def _gpkg_get_estimated_final_size(CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py638 def get_normalized_field_names(ds, lyr):CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py908 def get_vector_file_in_update_no_exception(filename):CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1103def add_gdal_warp_options_to_string(vrt_string, warp_options):CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1171def add_alpha_band_to_string_vrt(vrt_string: str) -> str:CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1228def update_alpha_value_for_non_alpha_inputs(CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1661def group_overview_base_tiles(CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3708 function fromMercatorPixelToLatLng(pixel, zoom)CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py208 def _check_gpkg_spatial_ref_sys(self, c):CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py494 def _check_user_table_content(self, c, table_name, cols):CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py1198 def _check_attribute_user_table(self, c, table_name):CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py1624 def _check_tiled_gridded_coverage_data(self, c):CODE
LOW…n/gdal-utils/osgeo_utils/samples/build_jp2_from_xml.py84def write_hexstring_as_binary(hex_binary_content, out_f):CODE
LOW…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py356 def _check_data_with_high_level_ogr_api(self, lyr, columns):CODE
LOW…ig/python/gdal-utils/osgeo_utils/auxiliary/osr_util.py68def get_axis_order_from_gis_order(gis_order: Optional[bool]):CODE
LOW…ig/python/gdal-utils/osgeo_utils/auxiliary/osr_util.py80def get_gis_order_from_axis_order(axis_order: Optional[OAMS_AXIS_ORDER]):CODE
LOW…thon/gdal-utils/osgeo_utils/auxiliary/color_palette.py69 def replace_absolute_values_with_percent(self, ndv=True):CODE
LOW…thon/gdal-utils/osgeo_utils/auxiliary/color_palette.py136 def get_supported_extenstions() -> Sequence[str]:CODE
LOWswig/python/gdal-utils/osgeo_utils/auxiliary/util.py42 def enable_exceptions_wrapper(*args, **kwargs):CODE
LOWswig/python/gdal-utils/osgeo_utils/auxiliary/util.py140def get_sizes_factors_resolutions(CODE
LOWswig/python/gdal-utils/osgeo_utils/auxiliary/util.py169def get_best_ovr_by_resolutions(requested_res: Real, resolutions: Sequence[Real]):CODE
LOWswig/python/gdal-utils/osgeo_utils/auxiliary/util.py384def get_image_structure_metadata(CODE
LOWswig/python/gdal-utils/osgeo_utils/auxiliary/util.py392def get_bigtiff_creation_option_value(big_tiff: OptionalBoolStr):CODE
LOW…python/gdal-utils/osgeo_utils/auxiliary/color_table.py31def get_color_table_from_raster(path_or_ds: PathOrDS) -> Optional[gdal.ColorTable]:CODE
LOW…python/gdal-utils/osgeo_utils/auxiliary/color_table.py41def color_table_from_color_palette(CODE
LOW…python/gdal-utils/osgeo_utils/auxiliary/color_table.py119def write_color_table_to_file(CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py160 def from_geotransform_and_size(cls, gt, size):CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py182 def from_geotransform_and_size_to_pix(cls, gt, size):CODE
LOW…ig/python/gdal-utils/osgeo_utils/auxiliary/progress.py48def get_py_term_progress_callback():CODE
LOW…python/gdal-utils/osgeo_utils/auxiliary/extent_util.py88def calc_geotransform_and_dimensions(CODE
LOW…on/gdal-utils/osgeo_utils/auxiliary/raster_creation.py131def copy_raster_and_add_overviews(CODE
LOWautotest/conftest.py151def _get_check_no_unintended_files():CODE
LOWautotest/conftest.py160def check_no_unintended_files_session(request):CODE
LOWautotest/conftest.py180def check_no_unintended_files_function(request):CODE
LOWautotest/conftest.py208def pytest_collection_modifyitems(config, items):CODE
LOWautotest/conftest.py440 def test_with_benchmark_fixture(*args, **kwargs):CODE
LOWautotest/benchmark/test_ogr_gpkg.py56def test_ogr_gpkg_spatial_index(source_file):CODE
LOWautotest/benchmark/test_gtiff.py37def test_gtiff_multithread_write(with_optim):CODE
LOWautotest/benchmark/test_gtiff.py158def test_gtiff_build_overviews(tmp_vsimem, source_ds_2048x2048_filename, ovr_alg):CODE
LOWautotest/gnm/gnm_test.py30def test_gnm_filenetwork_create():CODE
LOWautotest/gnm/gnm_test.py64def test_gnm_filenetwork_open():CODE
LOWautotest/gnm/gnm_test.py172def test_gnm_graph_connectedcomponents():CODE
LOWautotest/ogr/ogr_esrijson.py72def test_ogr_esrijson_read_point():CODE
LOWautotest/ogr/ogr_esrijson.py155def test_ogr_esrijson_read_linestring():CODE
LOWautotest/ogr/ogr_esrijson.py201def test_ogr_esrijson_read_polygon():CODE
LOWautotest/ogr/ogr_esrijson.py240def test_ogr_esrijson_read_multipoint():CODE
LOWautotest/ogr/ogr_esrijson.py265def test_ogr_esrijson_read_pointz():CODE
LOWautotest/ogr/ogr_esrijson.py312def test_ogr_esrijson_read_linestringz():CODE
LOWautotest/ogr/ogr_esrijson.py338def test_ogr_esrijson_read_multipointz():CODE
5585 more matches not shown…
Over-Commented Block2511 hits · 2334 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt181 CACHE CMAKE_FIND_FRAMEWORKCOMMENT
LOW.cmake-format.py161 # Regular expression to match preformat fences in comments default=COMMENT
LOWgnm/gnm_priv.h41#define GNM_VERSION "1.0"COMMENT
LOWgnm/gnm_priv.h61#define GNM_SYSFIELD_GFID "gnm_fid"COMMENT
LOWgnm/gnm_priv.h81// Other string constants.COMMENT
LOWgnm/gnm.h41 // network data.COMMENT
LOWgnm/gnmgraph.cpp301 aoRootPath.assign(A[k].begin(), itAk);COMMENT
LOWgnm/gnmgraph.cpp401COMMENT
LOWgnm/gnm_frmts/gnmregisterall.cpp41#endifCOMMENT
LOWogr/ogr_recordbatch.h1// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWogr/ogr_recordbatch.h81#define ARROW_C_STREAM_INTERFACECOMMENT
LOWogr/ogr_recordbatch.h101 // Callback to get optional detailed error information.COMMENT
LOWogr/ogr_xerces_headers.h21#include <xercesc/framework/MemoryManager.hpp>COMMENT
LOWogr/ogr_geocoding.cpp21#include "cpl_error.h"COMMENT
LOWogr/swq.cpp21COMMENT
LOWogr/ogrmitabspatialref.cpp1// SPDX-License-Identifier: MITCOMMENT
LOWogr/gml2ogrgeometry.cpp21 * compromising the system.COMMENT
LOWogr/gml2ogrgeometry.cpp3321 // if( poFaceGeom == NULL )COMMENT
LOWogr/ogr2gmlgeometry.cpp21 * come from a potentially hostile source, but through a trusted OGR importerCOMMENT
LOWogr/ogr_srs_cf1.cpp821 // Multiple mappings to LAT_PROJ_ORIGINCOMMENT
LOWogr/ogr_srs_cf1.cpp841// * false_northingCOMMENT
LOWogr/ogr_srs_cf1.cpp861// * false_eastingCOMMENT
LOWogr/ogr_srs_cf1.cpp881// * false_northingCOMMENT
LOWogr/ogr_srs_cf1.cpp941//COMMENT
LOWogr/ogr_srs_cf1.cpp961//COMMENT
LOWogr/ogr_srs_cf1.cpp1001// grid_mapping_name = orthographicCOMMENT
LOWogr/ogr_srs_cf1.cpp1021// WKT: Polar_StereographicCOMMENT
LOWogr/ogr_srs_cf1.cpp1041// grid_mapping_name = rotated_latitude_longitudeCOMMENT
LOWogr/ogr_srs_cf1.cpp1061// * scale_factor_at_projection_originCOMMENT
LOWogr/ogr_srs_cf1.cpp1081//COMMENT
LOWogr/swq_expr_node.cpp21#include <cctype>COMMENT
LOWogr/ogr_srs_esri.cpp21#include <cstddef>COMMENT
LOWogr/ogr_srs_esri.cpp421 // https://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Lambert_Azimuthal_Equal_AreaCOMMENT
LOWogr/ogrspatialreference.cpp21#include <cstring>COMMENT
LOWogr/ogrspatialreference.cpp41#include "ogr_srs_api.h"COMMENT
LOWogr/ogrfeaturestyle.cpp1781COMMENT
LOWogr/ogr_srs_cf1.h21/* mapping & projection - see http://cf-pcmdi.llnl.gov/ */COMMENT
LOWogr/ogr_srs_cf1.h41#define CF_PT_MERCATOR "mercator"COMMENT
LOWogr/ogr_srs_cf1.h61/* scale_factor is not CF, there are two possible translations */COMMENT
LOWogr/ogr_srs_isis.cpp281 // ObliqueCylindricalCOMMENT
LOWogr/ogr_srs_isis.cpp381 GetISISMappingDouble(oMapping, "PoleLongitude") *COMMENT
LOWogr/ogrgeojsonwriter.cpp21#include "ogrlibjsonutils.h"COMMENT
LOWogr/ogr_swq.h21#ifndef SWQ_H_INCLUDED_COMMENT
LOWogr/ogrutils.cpp21#include <cstddef>COMMENT
LOWogr/ogrct.cpp21#include <limits>COMMENT
LOWogr/swq_op_general.cpp21#include <climits>COMMENT
LOWogr/swq_parser.cpp121# endifCOMMENT
LOWogr/swq_parser.cpp281typedef unsigned char yytype_uint8;COMMENT
LOWogr/swq_parser.cpp301# elif defined PTRDIFF_MAXCOMMENT
LOWogr/swq_parser.cpp341#ifndef YY_COMMENT
LOWogr/swq_parser.cpp361COMMENT
LOWogr/swq_parser.cpp381 _Pragma ("GCC diagnostic push") \COMMENT
LOWogr/swq_parser.cpp421# ifdef YYSTACK_USE_ALLOCACOMMENT
LOWogr/swq_parser.cpp441# endifCOMMENT
LOWogr/swq_parser.cpp461# if (defined __cplusplus && ! defined EXIT_SUCCESS \COMMENT
LOWogr/ogrgeometry.cpp21#include <cstdlib>COMMENT
LOWogr/ogrgeometry.cpp41#include "ogr_srs_api.h"COMMENT
LOWogr/ogr_libs.h21#ifndef HAVE_SFCGALCOMMENT
LOWogr/ogr_libs.h41 UNUSED_IF_NO_GEOS // SFCGAL yes and GEOS no - SFCGAL methods always workCOMMENT
LOWogr/ogr_srs_usgs.cpp61constexpr long WAGIV = 28L; // Wagner IVCOMMENT
2451 more matches not shown…
Cross-Language Confusion297 hits · 1395 pts
SeverityFileLineSnippetContext
HIGHswig/python/gdal-utils/osgeo_utils/gdal_edit.py373 "Dataset SRS is undefined, cannot set epoch. See the -a_srs option.",CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal_edit.py383 print("Dataset SRS is undefined, with no epoch specified.", file=sys.stderr)CODE
HIGH⚡swig/python/gdal-utils/osgeo_utils/gdal2tiles.py3181 (minX < maxX && (tileX >= minX && tileX <= maxX))CODE
HIGH⚡swig/python/gdal-utils/osgeo_utils/gdal2tiles.py3182 || (minX > maxX && ((tileX >= minX && tileX <= (Math.pow(2, zoom) - 1)) || (tileX >= 0 && tileX <= maxX)CODE
HIGH⚡swig/python/gdal-utils/osgeo_utils/gdal2tiles.py3184 && (tileY >= minY && tileY <= maxY)CODE
HIGH⚡swig/python/gdal-utils/osgeo_utils/gdal2tiles.py3186 tilesToKeep.push(this.tiles[i]);CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3154 this.tiles.push(tile)CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3212 if (x < 0 || x >= tileRange) {CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3266 tile = null;CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3487 currentX_ = currentY_ = null;CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3651 if (document.documentElement && document.documentElement.clientHeight)CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3659 if (document.documentElement && document.documentElement.clientWidth)CODE
HIGH…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py280 f"For column {column_name}, GeoParquet CRS is null, but parquet_crs = '{parquet_crs}' (diffeCODE
HIGH…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py293 f"For column {column_name}, GeoParquet CRS is not null, but parquet_crs = '{parquet_crs}' anCODE
HIGH…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py302 f"For column {column_name}, GeoParquet CRS is null, but parquet_crs = '{parquet_crs}'"CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/ogrinfo.py461 line = line + "(null)"CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/gdalinfo.py441 line = line + "(null)"CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/gdalinfo.py457 line = line + "(null)"CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/gdalinfo.py491 line = line + "(null)"CODE
HIGHautotest/ogr/ogr_esrijson.py635 "geometry": null,CODE
HIGH⚡autotest/ogr/ogr_parquet.py363 assert f["list_struct"] == """[{"a":1,"b":2.5,"c":null},{"a":3,"b":null,"c":4.5}]"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py364 assert f["map_boolean"] == '{"x":null,"y":true}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py365 assert f["map_uint8"] == '{"x":1,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py366 assert f["map_int8"] == '{"x":1,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py367 assert f["map_uint16"] == '{"x":1,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py368 assert f["map_int16"] == '{"x":1,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py369 assert f["map_uint32"] == '{"x":4000000000,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py370 assert f["map_int32"] == '{"x":2000000000,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py371 assert f["map_uint64"] == '{"x":4000000000000,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py372 assert f["map_int64"] == '{"x":-2000000000000,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py373 assert f["map_float32"] == '{"x":1.5,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py374 assert f["map_float64"] == '{"x":1.5,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py375 assert f["map_decimal128"] == '{"x":1234.567,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py376 assert f["map_decimal256"] == '{"x":1234.567,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py377 assert f["map_string"] == '{"x":"x_val","y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py378 assert f["map_large_string"] == '{"x":"x_val","y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py379 assert f["map_list_string"] == '{"x":["x_val"],"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py380 assert f["map_large_list_string"] == '{"x":["x_val"],"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py381 assert f["map_fixed_size_list_string"] == '{"x":["x_val",null],"y":[null,null]}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py387 assert f["map_float16"] == '{"x":1.5,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py397 assert f["list_list_float16"] == "[null]"CODE
HIGH⚡autotest/ogr/ogr_parquet.py492 assert f["map_uint8"] == '{"x":1,"y":null}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py502 assert f["map_boolean"] == '{"x":null,"y":true}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py512 assert f["map_boolean"] == '{"x":null,"y":true}'CODE
HIGH⚡autotest/ogr/ogr_parquet.py3144 assert f["map_map_bool"] == """{"a":{"b":true,"c":null,"d":null},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3145 assert f["map_map_uint8"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3146 assert f["map_map_int8"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3147 assert f["map_map_uint16"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3148 assert f["map_map_int16"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3149 assert f["map_map_uint32"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3150 assert f["map_map_int32"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3151 assert f["map_map_uint64"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3152 assert f["map_map_int64"] == """{"a":{"b":1,"c":null,"d":2},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3153 assert f["map_map_float32"] == """{"a":{"b":1.0,"c":null,"d":2.0},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3154 assert f["map_map_float64"] == """{"a":{"b":1.0,"c":null,"d":2.0},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3155 assert f["map_map_string"] == """{"a":{"b":"c","d":null},"e":null}"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3156 assert f["list_list_bool"] == """[[true],null,[false,null,true]]"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3157 assert f["list_list_uint8"] == """[[1],null,[2,null,3]]"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3158 assert f["list_list_int8"] == """[[1],null,[-2,null,3]]"""CODE
HIGH⚡autotest/ogr/ogr_parquet.py3159 assert f["list_list_uint16"] == """[[1],null,[2,null,3]]"""CODE
237 more matches not shown…
Decorative Section Separators228 hits · 733 pts
SeverityFileLineSnippetContext
MEDIUM.cmake-format.py1# ----------------------------------COMMENT
MEDIUM.cmake-format.py3# ----------------------------------COMMENT
MEDIUM.cmake-format.py59# -----------------------------COMMENT
MEDIUM.cmake-format.py61# -----------------------------COMMENT
MEDIUM.cmake-format.py141# ------------------------------------------------COMMENT
MEDIUM.cmake-format.py143# ------------------------------------------------COMMENT
MEDIUM.cmake-format.py185# ----------------------------COMMENT
MEDIUM.cmake-format.py187# ----------------------------COMMENT
MEDIUM.cmake-format.py238# -------------------------------COMMENT
MEDIUM.cmake-format.py240# -------------------------------COMMENT
MEDIUM.cmake-format.py253# -------------------------------------COMMENT
MEDIUM.cmake-format.py255# -------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py53# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py55# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py61# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py64# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py79# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py91# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/setup_fallback_mingw.py93# ---------------------------------------------------------------------------COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_proximity.py160 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_proximity.py162 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_proximity.py173 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_proximity.py175 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_proximity.py187 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_proximity.py189 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_proximity.py209 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_proximity.py211 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_merge.py44# =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_merge.py123# =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_merge.py161# =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_merge.py196# =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_merge.py365# =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_retile.py944# =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_polygonize.py56 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_polygonize.py58 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py85 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py87 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py125 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py127 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py137 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py139 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_polygonize.py180 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_polygonize.py182 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py53 # ----------------------------------------------------------------------------COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py63 # ----------------------------------------------------------------------------COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py92 # ----------------------------------------------------------------------------COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py106 # ----------------------------------------------------------------------------COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py114 # ----------------------------------------------------------------------------COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py129 # ----------------------------------------------------------------------------COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_sieve.py124 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_sieve.py126 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_sieve.py136 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_sieve.py138 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_sieve.py159 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_sieve.py161 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_sieve.py185 # =============================================================================COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_sieve.py187 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_fillnodata.py54 # =============================================================================COMMENT
MEDIUM⚡swig/python/gdal-utils/osgeo_utils/gdal_fillnodata.py56 # =============================================================================COMMENT
168 more matches not shown…
Empty Error Handlers140 hits · 700 pts
SeverityFileLineSnippetContext
HIGHswig/python/setup_fallback_mingw.py161except Exception:CODE
HIGHswig/python/setup_fallback_mingw.py169except Exception:CODE
HIGHswig/python/osgeo/gdal_fsspec.py173except Exception:CODE
HIGHswig/python/osgeo/gdal_fsspec.py187except Exception:CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py278except ValueError:CODE
HIGHswig/python/gdal-utils/osgeo_utils/gdal_calc.py743except argparse.ArgumentError:CODE
HIGHswig/python/gdal-utils/osgeo_utils/ogrmerge.py429except Exception:CODE
HIGHswig/python/gdal-utils/osgeo_utils/ogrmerge.py1050except AttributeError:CODE
HIGHswig/python/gdal-utils/osgeo_utils/ogrmerge.py1133except AttributeError:CODE
HIGH…/python/gdal-utils/osgeo_utils/samples/crs2crs2grid.py379except OSError:CODE
HIGH…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py710except Exception:CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/ogr2vrt.py317except AttributeError: # if run with GDAL < 3.2CODE
HIGH…/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py63except Exception:CODE
HIGH…g/python/gdal-utils/osgeo_utils/samples/mkgraticule.py125except Exception:CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/load2odbc.py93except Exception:CODE
HIGH…/python/gdal-utils/osgeo_utils/samples/validate_jp2.py1721except OSError:CODE
HIGHswig/python/gdal-utils/osgeo_utils/samples/epsg_tr.py108except Exception:CODE
HIGH…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py55except OSError:CODE
HIGH…/python/gdal-utils/osgeo_utils/auxiliary/array_util.py40except ImportError:CODE
HIGHautotest/gnm/gnm_test.py34except OSError:CODE
HIGHautotest/ogr/ogr_basic_test.py698except Exception:CODE
HIGHautotest/ogr/ogr_basic_test.py707except Exception:CODE
HIGHautotest/ogr/ogr_fgdb.py467except OSError:CODE
HIGHautotest/ogr/ogr_openfilegdb.py192except OSError:CODE
HIGHautotest/ogr/ogr_openfilegdb.py2032except OSError:CODE
HIGHautotest/ogr/ogr_geom.py770except Exception:CODE
HIGHautotest/ogr/ogr_geom.py784except Exception:CODE
HIGHautotest/ogr/ogr_gpkg.py7134except Exception:CODE
HIGHautotest/ogr/ogr_shape.py2885except OSError:CODE
HIGHautotest/ogr/ogr_mvt.py1007except Exception:CODE
HIGHautotest/ogr/ogr_nas.py63except OSError:CODE
HIGHautotest/ogr/ogr_nas.py126except OSError:CODE
HIGHautotest/ogr/ogr_openfilegdb_write.py4487except ValueError:CODE
HIGHautotest/ogr/ogr_openfilegdb_write.py4544except ValueError:CODE
HIGHautotest/ogr/ogr_gmlas.py979except IOError:CODE
HIGHautotest/ogr/ogr_ngw.py258except Exception:CODE
HIGHautotest/ogr/ogr_ngw.py329except Exception:CODE
HIGHautotest/ogr/ogr_ngw.py340except Exception:CODE
HIGHautotest/ogr/ogr_ngw.py479except Exception:CODE
HIGHautotest/ogr/ogr_wfs.py488except IOError:CODE
HIGHautotest/ogr/ogr_adbc.py56except Exception:CODE
HIGHautotest/ogr/ogr_osm.py421except (OSError, AttributeError):CODE
HIGHautotest/ogr/ogr_georss.py43except Exception:CODE
HIGHautotest/ogr/ogr_georss.py249except OSError:CODE
HIGHautotest/ogr/ogr_oci.py58except Exception:CODE
HIGHautotest/ogr/ogr_vrt.py298except OSError:CODE
HIGHautotest/ogr/ogr_vrt.py2947except OSError:CODE
HIGHautotest/ogr/ogr_vrt.py2985except OSError:CODE
HIGHautotest/ogr/ogr_vrt.py3043except OSError:CODE
HIGHautotest/ogr/ogr_pg.py535except Exception:CODE
HIGHautotest/ogr/ogr_pg.py1851except Exception:CODE
HIGHautotest/ogr/ogr_pg.py1862except Exception:CODE
HIGHautotest/ogr/ogr_sql_sqlite.py1328except IOError:CODE
HIGHautotest/ogr/ogr_gml.py1448except OSError:CODE
HIGHautotest/ogr/ogr_flatgeobuf.py497except IOError:CODE
HIGHautotest/pymod/test_py_scripts.py47except OSError:CODE
HIGHautotest/pymod/webserver.py519except IOError:CODE
HIGHautotest/pymod/webserver.py570except Exception:CODE
HIGHautotest/pymod/webserver.py208except Exception:CODE
HIGHautotest/pymod/gdaltest.py1763except OSError:CODE
80 more matches not shown…
Self-Referential Comments228 hits · 641 pts
SeverityFileLineSnippetContext
MEDIUMogr/ograpispy.cpp205 "# This file is generated by the OGR_API_SPY mechanism.\n");CODE
MEDIUMdocker/build-all.sh2# This file is available at the option of the licensee under:COMMENT
MEDIUMdocker/util.sh2# This file is available at the option of the licensee under:COMMENT
MEDIUMdocker/alpine-normal/build.sh2# This file is available at the option of the licensee under:COMMENT
MEDIUMdocker/alpine-small/build.sh2# This file is available at the option of the licensee under:COMMENT
MEDIUMdocker/ubuntu-full/build.sh2# This file is available at the option of the licensee under:COMMENT
MEDIUMdocker/ubuntu-small/build.sh2# This file is available at the option of the licensee under:COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py93 # Create the working file.COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/rgb2pct.py73 # Create the working file. We have to use TIFF since there are few formatsCOMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1408 # Create a KML file for this tile.COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1635 # Create a KML file for this tile.COMMENT
MEDIUMswig/python/gdal-utils/osgeo_utils/gdalattachpct.py129 # Create a MEM clone of the source file.COMMENT
MEDIUM…ig/python/gdal-utils/osgeo_utils/samples/get_soundg.py43 # Create the output shapefile.COMMENT
MEDIUM⚡…ig/python/gdal-utils/osgeo_utils/samples/gdalfilter.py101 # Create a virtual file in memory only which matches the configuration ofCOMMENT
MEDIUMswig/java/make_doc.sh24# Create a zip with the JavadocCOMMENT
MEDIUMautotest/ogr/ogr_mysql.py625 # Create a layer with a single feature through SQLCOMMENT
MEDIUM⚡autotest/ogr/ogr_mssqlspatial.py284 # Create a feature that specifies a spatial-reference systemCOMMENT
MEDIUM⚡autotest/ogr/ogr_mssqlspatial.py293 # Create a table that includes a geometry column but is not registered inCOMMENT
MEDIUM⚡autotest/ogr/ogr_mssqlspatial.py303 # Create a new MSSQLSpatial data source, one that will find the table justCOMMENT
MEDIUMautotest/ogr/ogr_mongodbv3.py474 # Create a feature only from its _json content and do not store any ogr metadata related to the layerCOMMENT
MEDIUMautotest/ogr/ogr_mongodbv3.py864 # Create a layerCOMMENT
MEDIUMautotest/ogr/ogr_mongodbv3.py877 # Create a feature with some dataCOMMENT
MEDIUMautotest/ogr/ogr_mongodbv3.py916 # Create a layerCOMMENT
MEDIUMautotest/ogr/ogr_mongodbv3.py929 # Create a feature with some dataCOMMENT
MEDIUMautotest/ogr/ogr_gpkg.py294# Create a fresh database.COMMENT
MEDIUMautotest/ogr/ogr_gpkg.py319# Create a layerCOMMENT
MEDIUMautotest/ogr/ogr_gpkg.py10040 # Create a feature without geometryCOMMENT
MEDIUMautotest/ogr/ogr_gpkg.py10099 # Create a feature with a geometryCOMMENT
MEDIUMautotest/ogr/ogr_gpkg.py10111 # Create a feature with a empty geometryCOMMENT
MEDIUMautotest/ogr/ogr_gpkg.py11655 # Create a UNIQUE constraint on int_fieldCOMMENT
MEDIUMautotest/ogr/ogr_sqlite.py88# Create a fresh database.COMMENT
MEDIUMautotest/ogr/ogr_sqlite.py950# Create a layer with a non EPSG SRS into a SPATIALITE DB (#3506)COMMENT
MEDIUMautotest/ogr/ogr_sqlite.py984# Create a SpatiaLite DB with INIT_WITH_EPSG=YESCOMMENT
MEDIUMautotest/ogr/ogr_sqlite.py1015# Create a SpatiaLite DB with INIT_WITH_EPSG=NOCOMMENT
MEDIUMautotest/ogr/ogr_sqlite.py1045# Create a regular DB with INIT_WITH_EPSG=YESCOMMENT
MEDIUMautotest/ogr/ogr_dxf.py2851# Create a blocks layer onlyCOMMENT
MEDIUMautotest/ogr/ogr_elasticsearch.py3418 # Create a layer that will not bulk upsert.COMMENT
MEDIUMautotest/ogr/ogr_elasticsearch.py3444 # Create a layer that will bulk upsert.COMMENT
MEDIUMautotest/ogr/ogr_feature.py21# Create a destination feature type with one field for each field in the sourceCOMMENT
MEDIUMautotest/ogr/ogr_feature.py39# Create a source featureCOMMENT
MEDIUMautotest/ogr/ogr_shape.py608 # Create a featureCOMMENT
MEDIUMautotest/ogr/ogr_shape.py642 # Create a layerCOMMENT
MEDIUMautotest/ogr/ogr_shape.py684 # Create a layerCOMMENT
MEDIUMautotest/ogr/ogr_shape.py1311 # Create a layerCOMMENT
MEDIUMautotest/ogr/ogr_shape.py2104 # Create a fieldCOMMENT
MEDIUMautotest/ogr/ogr_shape.py4811 # Create a shapeCOMMENT
MEDIUMautotest/ogr/ogr_shape.py4845 # Create a shapeCOMMENT
MEDIUMautotest/ogr/ogr_shape.py4896 # Create a shapeCOMMENT
MEDIUMautotest/ogr/ogr_shape.py4915 # Create a shapeCOMMENT
MEDIUMautotest/ogr/ogr_shape.py5644 # Create a shapeCOMMENT
MEDIUM⚡autotest/ogr/ogr_mem.py1416 # Create a memory layerCOMMENT
MEDIUM⚡autotest/ogr/ogr_mem.py1422 # Create a feature with some dataCOMMENT
MEDIUM⚡autotest/ogr/ogr_mem.py1454 # Create a memory layerCOMMENT
MEDIUM⚡autotest/ogr/ogr_mem.py1460 # Create a feature with some dataCOMMENT
MEDIUMautotest/ogr/ogr_mem.py531 # Create a field so as to test OGRMemLayerIteratorMapCOMMENT
MEDIUMautotest/ogr/ogr_csv.py898 # Create an invalid CSV fileSTRING
MEDIUMautotest/ogr/ogr_vdv.py139# Create a VDV fileCOMMENT
MEDIUMautotest/ogr/ogr_as_sqlite_extension.py15# This file is meant at being run by ogr_virtualogr_3()COMMENT
MEDIUMautotest/ogr/ogr_hana.py1250# Create a table from data/poly.shpCOMMENT
MEDIUMautotest/ogr/ogr_virtualogr.py332 # Create a CSV with duplicate column nameCOMMENT
168 more matches not shown…
Deep Nesting338 hits · 288 pts
SeverityFileLineSnippetContext
LOWswig/python/trimmedsysconfig.py33CODE
LOWswig/python/setup_fallback_mingw.py234CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py55CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py148CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_proximity.py41CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_merge.py399CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_retile.py314CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_retile.py965CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_polygonize.py27CODE
LOWswig/python/gdal-utils/osgeo_utils/ogr_layer_algebra.py51CODE
LOWswig/python/gdal-utils/osgeo_utils/ogr_layer_algebra.py159CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_calc.py98CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_calc.py881CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2xyz.py39CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2xyz.py342CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_sieve.py35CODE
LOWswig/python/gdal-utils/osgeo_utils/gdalmove.py231CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_edit.py74CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py159CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py312CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py414CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py500CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py841CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py919CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py838CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py935CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1033CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1278CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1466CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py2020CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py4411CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py4619CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py2239CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py2676CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py2801CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3012CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py3995CODE
LOWswig/python/gdal-utils/osgeo_utils/gdalcompare.py31CODE
LOWswig/python/gdal-utils/osgeo_utils/gdalcompare.py402CODE
LOWswig/python/gdal-utils/osgeo_utils/gdalcompare.py493CODE
LOWswig/python/gdal-utils/osgeo_utils/gdalattachpct.py38CODE
LOW…l-utils/osgeo_utils/samples/tile_extent_from_raster.py26CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/gcps2vec.py25CODE
LOW…thon/gdal-utils/osgeo_utils/samples/gdal_create_pdf.py24CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/tolatlong.py35CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/gdal_rm.py24CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/gdal_rm.py59CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/dump_jp2.py64CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/dump_jp2.py92CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/dump_jp2.py155CODE
LOW…gdal-utils/osgeo_utils/samples/jpeg_in_tiff_extract.py160CODE
LOW…/python/gdal-utils/osgeo_utils/samples/crs2crs2grid.py245CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py2994CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py494CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py662CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py1624CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py2702CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py2837CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/ogr2vrt.py77CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s102.py2201CODE
278 more matches not shown…
Excessive Try-Catch Wrapping221 hits · 240 pts
SeverityFileLineSnippetContext
LOWswig/python/setup_fallback_mingw.py161 except Exception:CODE
LOWswig/python/setup_fallback_mingw.py169 except Exception:CODE
LOWswig/python/setup_fallback_mingw.py185 except Exception:CODE
LOWswig/python/osgeo/gdal_fsspec.py173 except Exception:CODE
LOWswig/python/osgeo/gdal_fsspec.py187 except Exception:CODE
LOWswig/python/osgeo/gdal_fsspec.py204 except Exception:CODE
LOWswig/python/osgeo/gdal_fsspec.py221 except Exception:CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/gdal_proximity.py184 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_merge.py553 except Exception:CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_retile.py68 print("Error opening: %s" % NameError, file=sys.stderr)CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/gdal_retile.py1135 print("Error building tile index", file=sys.stderr)CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py93 except Exception:CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py96 except Exception:CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py116 except Exception:CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/gdal_polygonize.py142 except Exception:CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/ogr_layer_algebra.py556 print("An error occurred during %s operation" % op_str, file=sys.stderr)CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_calc.py624 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/pct2rgb.py146 except Exception:CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/pct2rgb.py142def doit(**kwargs):CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_edit.py155 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_edit.py331 except Exception as e:CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/ogrmerge.py376def _gpkg_get_src_table_size(src_ds, table_name):CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/ogrmerge.py222 except Exception:CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/ogrmerge.py230 except Exception:CODE
LOW⚡swig/python/gdal-utils/osgeo_utils/ogrmerge.py238 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py83 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py383 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py429 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/rgb2pct.py138 except Exception:CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/rgb2pct.py134def doit(**kwargs):CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py256 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py266 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py1990 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/tigerpoly.py213 except Exception:CODE
MEDIUM…/python/gdal-utils/osgeo_utils/samples/crs2crs2grid.py72 print("Error - did not find results for every point in the input grid.")CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py710 except Exception:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py2905 except Exception:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s102.py287 except Exception as e:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s102.py429 except Exception:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s102.py1991 except Exception:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s102.py2035 except Exception:CODE
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s102.py283def check(self):CODE
LOW…/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py63 except Exception:CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/gdal_lut.py183 except Exception:STRING
LOW…g/python/gdal-utils/osgeo_utils/samples/mkgraticule.py125 except Exception:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s104.py297 except Exception as e:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s104.py543 except Exception:CODE
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s104.py293def check(self):CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/load2odbc.py93 except Exception:CODE
MEDIUMswig/python/gdal-utils/osgeo_utils/samples/esri2wkt.py41 print("Error = %d" % err)CODE
LOW…/python/gdal-utils/osgeo_utils/samples/assemblepoly.py88 except Exception:CODE
LOW…/python/gdal-utils/osgeo_utils/samples/assemblepoly.py100 except Exception:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s111.py297 except Exception as e:CODE
LOW…python/gdal-utils/osgeo_utils/samples/validate_s111.py556 except Exception:CODE
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s111.py293def check(self):CODE
LOWswig/python/gdal-utils/osgeo_utils/samples/epsg_tr.py108 except Exception:CODE
LOW…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py157 except Exception as e:CODE
LOW…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py167 except Exception as e:CODE
LOW⚡…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py208 except Exception as e:CODE
LOW⚡…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py215 except Exception as e:CODE
161 more matches not shown…
Cross-File Repetition29 hits · 145 pts
SeverityFileLineSnippetContext
HIGH…python/gdal-utils/osgeo_utils/samples/validate_s102.py0check specified filename and return a tuple (errors, warnings, checks_done)STRING
HIGH…python/gdal-utils/osgeo_utils/samples/validate_s104.py0check specified filename and return a tuple (errors, warnings, checks_done)STRING
HIGH…python/gdal-utils/osgeo_utils/samples/validate_s111.py0check specified filename and return a tuple (errors, warnings, checks_done)STRING
HIGHautotest/ogr/data/testograpispy.py0geogcs["wgs 84",datum["wgs_1984",spheroid["wgs 84",6378137,298.257223563,authority["epsg","7030"]],authority["epsg","632STRING
HIGHautotest/utilities/test_gdalsrsinfo.py0geogcs["wgs 84",datum["wgs_1984",spheroid["wgs 84",6378137,298.257223563,authority["epsg","7030"]],authority["epsg","632STRING
HIGHautotest/osr/osr_cf1.py0geogcs["wgs 84",datum["wgs_1984",spheroid["wgs 84",6378137,298.257223563,authority["epsg","7030"]],authority["epsg","632STRING
HIGHautotest/gcore/vsigs.py0<?xml version="1.0" encoding="utf-8"?> <listallmybucketsresult> <buckets> <bucket> <name>mybucket</name> </bucket> </bucSTRING
HIGHautotest/gcore/vsis3.py0<?xml version="1.0" encoding="utf-8"?> <listallmybucketsresult> <buckets> <bucket> <name>mybucket</name> </bucket> </bucSTRING
HIGHautotest/gcore/vsioss.py0<?xml version="1.0" encoding="utf-8"?> <listallmybucketsresult> <buckets> <bucket> <name>mybucket</name> </bucket> </bucSTRING
HIGHautotest/utilities/test_gdalalg_raster_contour.py0ncols 2 nrows 2 xllcorner 0 yllcorner 0 cellsize 1 4 15 25 36STRING
HIGHautotest/utilities/test_gdal_contour_lib.py0ncols 2 nrows 2 xllcorner 0 yllcorner 0 cellsize 1 4 15 25 36STRING
HIGHautotest/alg/contour.py0ncols 2 nrows 2 xllcorner 0 yllcorner 0 cellsize 1 4 15 25 36STRING
HIGHautotest/gdrivers/mrsid.py0projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9STRING
HIGHautotest/gdrivers/jp2openjpeg.py0projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9STRING
HIGHautotest/gdrivers/jp2grok.py0projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9STRING
HIGHautotest/gdrivers/ecw.py0projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9STRING
HIGHautotest/gdrivers/netcdf.py0projcs["nad27 / utm zone 11n", geogcs["nad27", datum["north_american_datum_1927", spheroid["clarke 1866",6378206.4,294.9STRING
HIGHautotest/gdrivers/jp2openjpeg.py0projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6STRING
HIGHautotest/gdrivers/jp2kak.py0projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6STRING
HIGHautotest/gdrivers/ecw.py0projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6STRING
HIGHautotest/osr/osr_xml.py0projcrs["africa_albers_equal_area_conic", basegeogcrs["wgs 84", datum["world geodetic system 1984", ellipsoid["wgs 84",6STRING
HIGHautotest/gdrivers/isce.py0geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg",STRING
HIGHautotest/gdrivers/ace2.py0geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg",STRING
HIGHautotest/gdrivers/snodas.py0geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg",STRING
HIGHautotest/gdrivers/roipac.py0geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg",STRING
HIGHautotest/osr/osr_proj4.py0geogcs["wgs 84", datum["wgs_1984", spheroid["wgs 84",6378137,298.257223563, authority["epsg","7030"]], authority["epsg",STRING
HIGHautotest/osr/osr_micoordsys.py0projcs["unnamed",geogcs["nad27",\ datum["north_american_datum_1927",\ spheroid["clarke 1866",6378206.4,294.9786982139006STRING
HIGHautotest/osr/osr_usgs.py0projcs["unnamed",geogcs["nad27",\ datum["north_american_datum_1927",\ spheroid["clarke 1866",6378206.4,294.9786982139006STRING
HIGHautotest/osr/osr_pci.py0projcs["unnamed",geogcs["nad27",\ datum["north_american_datum_1927",\ spheroid["clarke 1866",6378206.4,294.9786982139006STRING
AI Slop Vocabulary29 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUMogr/ogrpgeogeometry.cpp360 // that form a TIN. And be robust to consecutive duplicated triangles !COMMENT
MEDIUMogr/ogrsf_frmts/pmtiles/ogrpmtilestileiterator.cpp315 // do not allow this to be more robust against hostile filesCOMMENT
MEDIUMogr/ogrsf_frmts/carto/ogrcartotablelayer.cpp234 // by doing that here, we are somewhat robust toCOMMENT
MEDIUMogr/ogrsf_frmts/filegdb/FGdbUtils.cpp483 // "Essentially, eliminate anything that is not alphanumeric or anCOMMENT
MEDIUM…/ogrsf_frmts/openfilegdb/ogropenfilegdblayer_write.cpp89 // "Essentially, eliminate anything that is not alphanumeric or anCOMMENT
MEDIUMogr/ogrsf_frmts/openfilegdb/filegdb_gdbtoogrfieldtype.h23// We could make this function far more robust by doing automatic coercion ofCOMMENT
LOW⚡swig/python/gdal-utils/osgeo_utils/gdalmove.py96 # we just use the top left, top right, and bottom left to produce theCOMMENT
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s104.py1027 # Cf Table 12-2 - Feature Type metadata, pertaining to the WaterLevel feature typeCOMMENT
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s104.py1331 # Cf Table 12-3 - Feature Instance metadata, pertaining to the feature instanceCOMMENT
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s111.py1068 # Cf Table 12-2 - Feature Type metadata, pertaining to the SurfaceCurrent feature typeCOMMENT
MEDIUM…python/gdal-utils/osgeo_utils/samples/validate_s111.py1409 # Cf Table 12-3 - Feature Instance metadata, pertaining to the feature instanceCOMMENT
LOW…/gdal-utils/osgeo_utils/samples/validate_geoparquet.py439 # For non-WKB encoding, just use the high level OGR APICOMMENT
MEDIUMautotest/ogr/ogr_dxf.py579 # changes are made to the aforementioned items. Ideally, one would testCOMMENT
MEDIUMautotest/ogr/ogr_vdv.py506 # Test we are robust against missing end;STRING
MEDIUMautotest/ogr/ogr_gml.py3500# Test we are robust to content of XML elements bigger than 2 GBCOMMENT
MEDIUMautotest/gcore/tiff_read.py2844# Test that we are at least robust to wrong number of ExtraSamples and warnCOMMENT
MEDIUMautotest/cpp/main_gtest.cpp26 // Use a potentially non-C locale to make sure we are robustCOMMENT
MEDIUMautotest/gdrivers/mbtiles.py485# Test we are robust to invalid boundsCOMMENT
LOWautotest/gdrivers/jpeg_profile.py128 # We will simply use the same profile multiple times.COMMENT
MEDIUMautotest/gdrivers/zarr_driver.py8491# round-trip, and multiscales metadata in one comprehensive test.COMMENT
MEDIUMgcore/gdalrasterband.cpp7199 // to compute standard deviation in a more numerically robust way thanCOMMENT
MEDIUMgcore/multidim/gdalmultidim_array_gridded.cpp254 // GCC 13.1 warns here. Definitely a false positive.COMMENT
MEDIUMthird_party/flatbuffers/vector_downward.h31// Essentially, this supports 2 std::vectors in a single buffer.COMMENT
MEDIUMfrmts/ngsgeoid/ngsgeoiddataset.cpp267 // Test written that way to be robust to NaN valuesCOMMENT
MEDIUMfrmts/msg/msgdataset.cpp771 // this is to utilize i to get iColCOMMENT
MEDIUMfrmts/pcidsk/sdk/segment/cpcidskvectorsegment.h89 // Essentially internal stuff.COMMENT
MEDIUMfrmts/vrt/vrtsourcedrasterband.cpp1666 // which is more numerically robustCOMMENT
MEDIUMfrmts/grib/degrib/g2clib/aecunpack.c58 // Note: libaec doesn't seem to be very robust to invalid inputs...COMMENT
MEDIUMport/cpl_odbc.h202 // Essentially internal.COMMENT
Redundant / Tautological Comments34 hits · 49 pts
SeverityFileLineSnippetContext
LOW⚡swig/python/gdal-utils/osgeo_utils/gdalmove.py44 # Open the file.COMMENT
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py2080 # Output the resultsCOMMENT
LOW…python/gdal-utils/osgeo_utils/samples/validate_gpkg.py715 # Check if we must set PRAGMA trusted_schema = ONCOMMENT
LOW…/gdal-utils/osgeo_utils/samples/gdal_remove_towgs84.py66 # Check if listgeo is recent enoughCOMMENT
LOW…sgeo_utils/samples/validate_cloud_optimized_geotiff.py232 # Check if there is GDAL hidden structural metadataCOMMENT
LOWautotest/gnm/gnm_test.py61# Open file base networkCOMMENT
LOWautotest/ogr/ogr_parquet.py4474# Write file using Parquet geo typesCOMMENT
LOWautotest/ogr/ogr_gpkg.py4630 # Check if spatial index is recognizedCOMMENT
LOWautotest/ogr/ogr_vfk.py44# Open file, check number of layers, get first layer,COMMENT
LOWautotest/ogr/ogr_openfilegdb_write.py3901 # Set SRS to NoneCOMMENT
LOWautotest/ogr/ogr_openfilegdb_write.py3923 # Set SRS to EPSG:4326COMMENT
LOWautotest/ogr/ogr_openfilegdb_write.py3948 # Set SRS to EPSG:4269COMMENT
LOWautotest/ogr/ogr_csv.py648 # Close the file and check againCOMMENT
LOWautotest/ogr/ogr_mitab.py97 # Close file.COMMENT
LOWautotest/ogr/ogr_mitab.py284 # Check if the width and precision are as preserved.COMMENT
LOWautotest/ogr/ogr_pg.py1210# Check if the sub geometries of TIN and POLYHEDRALSURFACE are validCOMMENT
LOWautotest/ogr/ogr_pg.py1256# Check if the 3d geometries of TIN, Triangle and POLYHEDRALSURFACE are validCOMMENT
LOWautotest/ogr/ogr_pg.py2465 # Check if the layer is listedCOMMENT
LOWautotest/ogr/ogr_sql_sqlite.py2137 # Check if MakeValid() is availableCOMMENT
LOWautotest/gcore/tiff_ovr.py126 # Open file and verify some characteristics of the overviews.COMMENT
LOWautotest/utilities/test_gdal_rasterize.py97 # Close fileCOMMENT
LOWautotest/utilities/test_gdalalg_raster_sieve.py66 # Check if the output is TILEDCOMMENT
LOWautotest/gdrivers/nitf.py1666 # Check if JPEG driver supports 12bit JPEG reading/writingCOMMENT
LOWautotest/gdrivers/nitf.py1684 # Check if JPEG driver supports 12bit JPEG reading/writingCOMMENT
LOWautotest/gdrivers/nitf.py1708 # Check if JPEG driver supports 12bit JPEG reading/writingCOMMENT
LOWautotest/gdrivers/nitf.py6516 # Check if JPEG driver supports 12bit JPEG reading/writingSTRING
LOWautotest/gdrivers/jpeg.py359 # Check if JPEG driver supports 12bit JPEG reading/writingCOMMENT
LOWautotest/gdrivers/jpeg.py382 # Check if JPEG driver supports 12bit JPEG reading/writingCOMMENT
LOWautotest/gdrivers/jpeg.py451 # Check if JPEG driver supports 12bit JPEG reading/writingCOMMENT
LOWautotest/gdrivers/ogcapi.py31# Set RECORD to TRUE to recreate test data from the https://maps.gnosis.earth/ogcapi serverCOMMENT
LOW.github/workflows/asan/test.sh74# Check if the tests failed and error out.COMMENT
LOWfrmts/pcraster/doxygen.cfg272# Set it to YES to include the internal documentation.COMMENT
LOWdoc/source/conf.py119# Read the file of substitutions and append it to the beginning of each file.COMMENT
LOWdoc/source/_extensions/doctestplus_gdal.py23 # Check if there is any valid argument, and skip it. Currently onlyCOMMENT
Unused Imports39 hits · 36 pts
SeverityFileLineSnippetContext
LOWswig/python/osgeo/gdalnumeric.py1CODE
LOWswig/python/osgeo/gdalnumeric.py2CODE
LOWswig/python/gdal-utils/scripts/gdal_pansharpen.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_proximity.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_merge.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_retile.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_polygonize.py8CODE
LOWswig/python/gdal-utils/scripts/ogr_layer_algebra.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_calc.py8CODE
LOWswig/python/gdal-utils/scripts/pct2rgb.py8CODE
LOWswig/python/gdal-utils/scripts/gdal2xyz.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_sieve.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_fillnodata.py8CODE
LOWswig/python/gdal-utils/scripts/gdalmove.py8CODE
LOWswig/python/gdal-utils/scripts/gdal_edit.py8CODE
LOWswig/python/gdal-utils/scripts/ogrmerge.py8CODE
LOWswig/python/gdal-utils/scripts/rgb2pct.py8CODE
LOWswig/python/gdal-utils/scripts/gdal2tiles.py11CODE
LOWswig/python/gdal-utils/scripts/gdalcompare.py8CODE
LOWswig/python/gdal-utils/scripts/gdalattachpct.py8CODE
LOWautotest/conftest.py22CODE
LOWautotest/conftest.py27CODE
LOWautotest/conftest.py27CODE
LOWautotest/conftest.py27CODE
LOWautotest/conftest.py27CODE
LOWautotest/conftest.py27CODE
LOWautotest/ogr/ogr_geojson.py4695CODE
LOWautotest/ogr/ogr_geojson.py4741CODE
LOWautotest/ogr/ogr_geojson.py4787CODE
LOWautotest/pyscripts/test_gdal2tiles.py75CODE
LOWautotest/pyscripts/test_gdal2tiles.py76CODE
LOWautotest/pyscripts/test_gdal2tiles.py78CODE
LOWautotest/gcore/test_gdal_fsspec.py21CODE
LOWautotest/gcore/gdal_stats.py1518CODE
LOWautotest/gcore/multidim.py1673CODE
LOWautotest/utilities/test_gdalalg_raster_zonal_stats.py156CODE
LOW…source/_extensions/sphinxcontrib_programoutput_gdal.py39CODE
LOW…source/_extensions/sphinxcontrib_programoutput_gdal.py39CODE
LOW…source/_extensions/sphinxcontrib_programoutput_gdal.py39CODE
AI Structural Patterns29 hits · 27 pts
SeverityFileLineSnippetContext
LOWswig/python/gdal-utils/osgeo_utils/gdal_pansharpen.py148CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_proximity.py148CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_polygonize.py27CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_calc.py98CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal2xyz.py39CODE
LOWswig/python/gdal-utils/osgeo_utils/gdal_fillnodata.py35CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py500CODE
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py841CODE
LOW…hon/gdal-utils/osgeo_utils/samples/gdallocationinfo.py66CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py101CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py107CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py113CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py119CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py125CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py131CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py137CODE
LOW…g/python/gdal-utils/osgeo_utils/auxiliary/rectangle.py148CODE
LOW…on/gdal-utils/osgeo_utils/auxiliary/raster_creation.py31CODE
LOWautotest/ogr/ogr_mitab.py1483CODE
LOWautotest/pyscripts/test_gdal_calc.py590CODE
LOWautotest/pyscripts/test_gdal_calc.py622CODE
LOWautotest/pymod/webserver.py42CODE
LOWautotest/pymod/webserver.py296CODE
LOWautotest/pymod/webserver.py350CODE
LOWautotest/pymod/gdaltest.py80CODE
LOWautotest/pymod/gdaltest.py134CODE
LOWautotest/pymod/gdaltest.py373CODE
LOW…otest/utilities/test_gdalalg_raster_shift_longitude.py30CODE
LOWautotest/gdrivers/vrtderived.py935CODE
Slop Phrases12 hits · 26 pts
SeverityFileLineSnippetContext
LOWogr/ogrsf_frmts/geojson/libjson/json_object.h418 * ownership through json_object_get (& don't forget to do a json_object_putCOMMENT
LOWogr/ogrsf_frmts/osm/data/osmconf.ini77# Note for GDAL developers: if we change the below formula, make sure to edit ogrosmlayer.cpp since it has a hardcoded oCOMMENT
LOWswig/python/gdal-utils/osgeo_utils/ogrmerge.py183 # WARNING: if adding a new option, make sure to update _gpkg_ogrmerge()COMMENT
LOWthird_party/LercLib/BitStuffer2.cpp34// if you change Encode(...) / Decode(...), don't forget to update ComputeNumBytesNeeded(...)COMMENT
LOWthird_party/LercLib/BitStuffer2.cpp157// if you change Encode(...) / Decode(...), don't forget to update ComputeNumBytesNeeded(...)COMMENT
MEDIUM.github/workflows/linux_build.yml525 # you can replace JXL_TREEISH=main by JXL_TREEISH=sha1_of_known_working_commitCOMMENT
MEDIUM⚡frmts/pcraster/doxygen.cfg428# If the value of the INPUT tag contains directories, you can use theCOMMENT
MEDIUMfrmts/pcraster/doxygen.cfg454# If the value of the INPUT tag contains directories, you can use theCOMMENT
MEDIUMfrmts/pcraster/doxygen.cfg466# If the value of the EXAMPLE_PATH tag contains directories, you can use theCOMMENT
LOWfrmts/pcraster/libcsf/putattr.c33 * string field. Don't forget to pad aCOMMENT
LOWfrmts/pcraster/libcsf/putattr.c74 * string field. Don't forget to pad aCOMMENT
LOWfrmts/mrf/LERCV1/Lerc1Image.cpp345// if you change the file format, don't forget to update not only write andCOMMENT
Verbosity Indicators10 hits · 19 pts
SeverityFileLineSnippetContext
LOWogr/ogrsf_frmts/geojson/libjson/arraylist.c193 // Because put_idx can skip entries, we need to check ifCOMMENT
LOW⚡gcore/sse2neon.h5552 // Step 1: Extract MSB of each byte (vshr #7: 0x80->1, 0x7F->0)COMMENT
LOW⚡gcore/sse2neon.h5555 // Step 2: Shift each byte left by its bit position (0-7 per half)COMMENT
LOW⚡gcore/sse2neon.h5571 // Step 3: Sum each half -> bits [7:0] and [15:8]COMMENT
LOW⚡gcore/sse2neon.h5577 // Step 1: Extract MSB of each byteCOMMENT
LOW⚡gcore/sse2neon.h5581 // Step 2: Parallel bit collection via shift-right-accumulateCOMMENT
LOWgcore/sse2neon.h5599 // Step 3: Extract packed result from byte 0 of each halfCOMMENT
LOWfrmts/ceos2/ceosrecipe.c543 /* First, we need to check if the "SAR Data Format Type */COMMENT
LOWfrmts/ceos2/ceosrecipe.c610 /* First, we need to check if the "SAR Data Format Type */COMMENT
LOWfrmts/map/mapdataset.cpp275 /* First, we need to check if it is necessary to define a neatline */COMMENT
Structural Annotation Overuse6 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡gcore/sse2neon.h5552 // Step 1: Extract MSB of each byte (vshr #7: 0x80->1, 0x7F->0)COMMENT
LOW⚡gcore/sse2neon.h5555 // Step 2: Shift each byte left by its bit position (0-7 per half)COMMENT
LOW⚡gcore/sse2neon.h5571 // Step 3: Sum each half -> bits [7:0] and [15:8]COMMENT
LOW⚡gcore/sse2neon.h5577 // Step 1: Extract MSB of each byteCOMMENT
LOW⚡gcore/sse2neon.h5581 // Step 2: Parallel bit collection via shift-right-accumulateCOMMENT
LOWgcore/sse2neon.h5599 // Step 3: Extract packed result from byte 0 of each halfCOMMENT
Fake / Example Data7 hits · 6 pts
SeverityFileLineSnippetContext
LOWautotest/ogr/ogr_elasticsearch.py3090 "key": "dummy_key",CODE
LOWautotest/ogr/ogr_elasticsearch.py3126 assert f["key"] == "dummy_key"CODE
LOWautotest/ogr/ogr_elasticsearch.py3190 "key": "dummy_key",CODE
LOWautotest/ogr/ogr_elasticsearch.py3222 assert f["key"] == "dummy_key"CODE
LOWautotest/gcore/data/text.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOWautotest/gcore/data/text.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOWdoc/source/_extensions/cli_example.py36 nodes.Text("placeholder"),CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…sgeo_utils/samples/validate_cloud_optimized_geotiff.py171Check if a file is a (Geo)TIFF with cloud optimized compatible structure. Args: ds: GDAL Dataset for the fileSTRING
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWautotest/ogr/ogr_gml.py304# TODO: Add test for other data types as they are added to the driver.COMMENT
LOWthird_party/flatbuffers/flexbuffers.h127// TODO: implement proper support for 8/16bit floats, or decide not toCOMMENT
LOWfrmts/netcdf/netcdfdataset.cpp12203// TODO: implement support of relative paths.COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWswig/python/gdal-utils/osgeo_utils/gdal2tiles.py703def set_cache_max(cache_in_bytes: int) -> None:CODE