Open Source Routing Engine for OpenStreetMap
This report summarizes scanner evidence for valhalla/valhalla, a C++ project with 6,391 GitHub stars. SynthScan examined 606,294 lines of code across 796 source files, recording 315 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 234 finding(s).
Are imports declared and package/API names verified? 43 finding(s).
Are wrappers, guards, and repeated structures necessary? 123 finding(s).
Which changes need focused human review? 315 finding(s).
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.
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.
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.
The scanner identified 315 distinct pattern matches across 14 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test.h | 1 | // -*- mode: c++ -*- | COMMENT |
| LOW | .github/workflows/windows.yml | 201 | # - cdb (preinstalled SDK kit) first-chance AV stack traces + minidump | COMMENT |
| LOW | .github/workflows/windows.yml | 221 | # | COMMENT |
| LOW | .github/workflows/windows.yml | 241 | # # plain run first: exit code + output up to the crash | COMMENT |
| LOW | .github/workflows/windows.yml | 261 | # wbundle=$(grep -oiE 'https://[^"]+\.msixbundle' "${ws}/windbg.appinstaller" | head -1 || true) | COMMENT |
| LOW | .github/workflows/windows.yml | 281 | # # a write breakpoint on the faulting slot (adapt @rsp+0x38 to the bad operand), then | COMMENT |
| LOW | .github/workflows/check_compilers.yml | 101 | COMMENT | |
| LOW | run_route_scripts/perf_test/wrk-bench.sh | 1 | #! /usr/bin/env bash | COMMENT |
| LOW | valhalla/config.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/worker.h | 1 | #ifndef __VALHALLA_WORKER_H__ | COMMENT |
| LOW | valhalla/valhalla.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/proto_conversions.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/filesystem_utils.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/loki/reach.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/loki/reach.h | 21 | // returns. Which expansion do you keep around for performing the intersections. Surely not all of | COMMENT |
| LOW | valhalla/loki/tiles.h | 1 | #ifndef __VALHALLA_LOKI_TILES_H__ | COMMENT |
| LOW | valhalla/loki/worker.h | 1 | #ifndef __VALHALLA_LOKI_SERVICE_H__ | COMMENT |
| LOW | valhalla/thor/bidirectional_astar.h | 1 | #ifndef VALHALLA_THOR_BIDIRECTIONAL_ASTAR_H_ | COMMENT |
| LOW | valhalla/thor/bidirectional_astar.h | 241 | * destination - along with travel modes and elapsed time. | COMMENT |
| LOW | valhalla/thor/bidirectional_astar.h | 261 | // form a "patch" path. The vias that were tracked earlier are then compared | COMMENT |
| LOW | valhalla/thor/multimodal_transit.h | 1 | #ifndef VALHALLA_THOR_MULTIMODAL_H_ | COMMENT |
| LOW | valhalla/thor/timedistancematrix.h | 1 | #ifndef VALHALLA_THOR_TIMEDISTANCEMATRIX_H_ | COMMENT |
| LOW | valhalla/thor/unidirectional_astar.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/thor/costmatrix.h | 1 | #ifndef VALHALLA_THOR_COSTMATRIX_H_ | COMMENT |
| LOW | valhalla/thor/dijkstras.h | 1 | #ifndef VALHALLA_THOR_Dijkstras_H_ | COMMENT |
| LOW | valhalla/thor/worker.h | 1 | #ifndef __VALHALLA_THOR_SERVICE_H__ | COMMENT |
| LOW | valhalla/thor/optimizer.h | 1 | #ifndef VALHALLA_THOR_OPTIMIZER_H_ | COMMENT |
| LOW | valhalla/thor/triplegbuilder.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/thor/timedistancebssmatrix.h | 1 | #ifndef VALHALLA_THOR_TIMEDISTANCEBSSMATRIX_H_ | COMMENT |
| LOW | valhalla/thor/matrixalgorithm.h | 1 | #ifndef __VALHALLA_THOR_MATRIXALGORITHM_H__ | COMMENT |
| LOW | valhalla/thor/multimodal_astar.h | 1 | #ifndef VALHALLA_THOR_MULTIMODAL_ASTAR_H | COMMENT |
| LOW | valhalla/meili/match_result.h | 1 | // -*- mode: c++ -*- | COMMENT |
| LOW | valhalla/meili/match_result.h | 21 | // Coordinate of the match point | COMMENT |
| LOW | valhalla/meili/map_matcher.h | 1 | // -*- mode: c++ -*- | COMMENT |
| LOW | valhalla/meili/candidate_search.h | 1 | // -*- mode: c++ -*- | COMMENT |
| LOW | valhalla/meili/grid_range_query.h | 1 | // -*- mode: c++ -*- | COMMENT |
| LOW | valhalla/meili/routing.h | 1 | // -*- mode: c++ -*- | COMMENT |
| LOW | valhalla/sif/dynamiccost.h | 1 | #ifndef VALHALLA_SIF_DYNAMICCOST_H_ | COMMENT |
| LOW | valhalla/sif/dynamiccost.h | 621 | [&edgestatus](const EdgeIdsInComplexRestriction& edge_ids_in_complex_restriction) { | COMMENT |
| LOW | valhalla/sif/hierarchylimits.h | 1 | #ifndef VALHALLA_SIF_HIERARCHYLIMITS_H_ | COMMENT |
| LOW | valhalla/sif/costfactory.h | 1 | #ifndef VALHALLA_SIF_COSTFACTORY_H_ | COMMENT |
| LOW | valhalla/mjolnir/graphbuilder.h | 1 | #ifndef VALHALLA_MJOLNIR_GRAPHBUILDER_H | COMMENT |
| LOW | valhalla/mjolnir/graphtilebuilder.h | 1 | #ifndef VALHALLA_MJOLNIR_GRAPHTILEBUILDER_H_ | COMMENT |
| LOW | valhalla/mjolnir/ferry_connections.h | 1 | #ifndef VALHALLA_MJOLNIR_FERRY_CONNECTIONS_H_ | COMMENT |
| LOW | valhalla/mjolnir/util.h | 1 | #ifndef VALHALLA_MJOLNIR_UTIL_H_ | COMMENT |
| LOW | valhalla/mjolnir/util.h | 401 | // { | COMMENT |
| LOW | valhalla/mjolnir/osmway.h | 1 | #ifndef VALHALLA_MJOLNIR_PBFGRAPHBUILDER_OSMWAY_H | COMMENT |
| LOW | valhalla/mjolnir/osmdata.h | 1 | #ifndef VALHALLA_MJOLNIR_OSMDATA_H | COMMENT |
| LOW | valhalla/midgard/gridded_data.h | 1 | #ifndef VALHALLA_MIDGARD_GRIDDEDDATA_H_ | COMMENT |
| LOW | valhalla/midgard/gridded_data.h | 121 | // on some platforms the intersection arithmetic for adjacent cells results in floating point | COMMENT |
| LOW | valhalla/midgard/point_tile_index.h | 41 | // Get all the points roughly within the "tile_width_degrees" of the given pt. | COMMENT |
| LOW | valhalla/midgard/logging.h | 1 | #ifndef VALHALLA_MIDGARD_LOGGING_H_ | COMMENT |
| LOW | valhalla/midgard/logging.h | 61 | Logger& GetLogger(const LoggingConfig& config = {{"type", "std_out"}, {"color", "true"}}); | COMMENT |
| LOW | valhalla/midgard/logging.h | 81 | #ifndef LOG_TRACE | COMMENT |
| LOW | valhalla/midgard/logging.h | 101 | #ifndef LOGGING_LEVEL_NONE | COMMENT |
| LOW | valhalla/midgard/logging.h | 161 | #define LOGLN_ERROR(...) | COMMENT |
| LOW | valhalla/midgard/logging.h | 181 | ::valhalla::midgard::logging::LogLevel::LogInfo) | COMMENT |
| LOW | valhalla/midgard/encoded.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/midgard/sequence.h | 1 | #pragma once | COMMENT |
| LOW | valhalla/midgard/sequence.h | 21 | #include <io.h> | COMMENT |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/scripts/test_valhalla_build_config.py | 129 | def test_merge_preserves_old_values(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 156 | def test_merge_keeps_old_keys_by_default(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 168 | def test_merge_removes_all_old_keys_with_empty_list(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 179 | def test_merge_nested_objects(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 206 | def test_merge_preserves_key_order(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 220 | def test_merge_report_tracks_added(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 232 | def test_merge_report_tracks_removed(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 244 | def test_merge_with_empty_old(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 255 | def test_merge_with_empty_new(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 271 | def test_merge_type_change_dict_to_scalar(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 282 | def test_merge_type_change_scalar_to_dict(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 304 | def test_merge_realistic_valhalla_config(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 348 | def test_merge_removes_specific_keys_only(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 376 | def test_merge_removes_nested_subtree(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 396 | def test_merge_remove_keys_does_not_affect_existing_in_new(self): | CODE |
| LOW⚡ | test/scripts/test_valhalla_build_config.py | 417 | def test_none_removes_nothing(self): | CODE |
| LOW⚡ | test/scripts/test_valhalla_build_config.py | 421 | def test_empty_list_removes_all(self): | CODE |
| LOW⚡ | test/scripts/test_valhalla_build_config.py | 431 | def test_child_of_specified_path(self): | CODE |
| LOW | test/scripts/test_valhalla_build_config.py | 445 | def test_partial_match_not_removed(self): | CODE |
| LOW | test/scripts/test_valhalla_build_elevation.py | 20 | def test_get_tiles_with_graph(self): | CODE |
| LOW | test/scripts/test_valhalla_build_elevation.py | 25 | def test_get_tiles_with_geojson(self): | CODE |
| LOW | test/scripts/test_valhalla_build_extract.py | 52 | def test_tile_intersects_bbox(self): | CODE |
| LOW | test/scripts/test_valhalla_build_extract.py | 92 | def test_tile_intersects_geojson(self): | CODE |
| LOW | test/scripts/test_valhalla_build_extract.py | 277 | def test_find_by_name_case_insensitive(self): | CODE |
| LOW | test/scripts/test_valhalla_build_extract.py | 285 | def test_find_not_found_exits(self): | CODE |
| LOW | test/scripts/test_valhalla_build_extract.py | 326 | def test_tiles_with_multiple_regions(self): | CODE |
| LOW | test/scripts/test_valhalla_build_extract.py | 344 | def test_polygon_geometry_type(self): | CODE |
| LOW | test/scripts/valhalla_build_extract.py | 281 | def _intersect_tiles_with_polygons(tile_resolver_: TileResolver, polygons): | CODE |
| LOW | test/scripts/valhalla_build_extract.py | 292 | def _polygons_from_geojson_geometry(geometry: dict): | CODE |
| LOW⚡ | test/bindings/python/test_graph_utils.py | 237 | def test_tile_header_tile_checksum(self): | CODE |
| LOW⚡ | test/bindings/python/test_graph_utils.py | 247 | def test_tile_header_build_id(self): | CODE |
| LOW⚡ | test/bindings/python/test_graph_utils.py | 257 | def test_graphutils_dict_config(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 91 | def test_get_tile_base_lon_lat_and_reverse(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 113 | def test_get_tile_ids_from_bbox(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 193 | def test_get_graph_tile_header(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 274 | def test_graphutils_path_config(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 290 | def test_graphutils_file_path_string(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 306 | def test_graphutils_invalid_config_type(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 317 | def test_graphutils_missing_tile_data(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 330 | def test_graphutils_missing_mjolnir_config(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 338 | def test_get_tile_ids_from_ring_rectangle(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 350 | def test_get_tile_ids_from_ring_triangle(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 364 | def test_get_tile_ids_from_ring_diamond(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 378 | def test_get_tile_ids_from_ring_orientation(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 391 | def test_get_tile_ids_from_ring_auto_close(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 404 | def test_get_tile_ids_from_ring_default_levels(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 419 | def test_get_tile_ids_from_ring_w_shape(self): | CODE |
| LOW | test/bindings/python/test_graph_utils.py | 467 | def test_get_tile_ids_from_ring_errors(self): | CODE |
| LOW | test/bindings/python/test_actor.py | 35 | def test_version_python_package_constant(self): | CODE |
| LOW | test/bindings/python/test_actor.py | 66 | def test_endpoints_are_callable(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 32 | def test_default_constructible_and_mutable(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 43 | def test_checksum_convenience_setters_keep_the_other_half(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 56 | def test_checksum_setters_range_checked(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 65 | def test_everything_else_stays_read_only(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 90 | def test_from_bytes_accepts_a_whole_tile_buffer(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 97 | def test_file_roundtrip_touches_only_the_header(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 119 | def test_short_buffer_refused(self): | CODE |
| LOW | test/bindings/python/test_graph_tile_header.py | 123 | def test_short_or_missing_file_refused(self): | CODE |
| LOW⚡ | test/bindings/python/test_mjolnir_utils.py | 26 | def test_small_sums_fold_to_themselves(self): | CODE |
| LOW⚡ | test/bindings/python/test_mjolnir_utils.py | 32 | def test_matches_known_real_fold(self): | CODE |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/docs/api/openapi.yaml | 334 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 336 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 423 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 425 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 605 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 607 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 620 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 622 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 642 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 644 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 704 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 706 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 1576 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 1578 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 1659 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/docs/api/openapi.yaml | 1661 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/windows.yml | 196 | # ------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/windows.yml | 210 | # ------------------------------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | locales/po_tools.py | 30 | CODE | |
| LOW | test/scripts/test_valhalla_build_extract.py | 18 | CODE | |
| LOW | src/bindings/python/valhalla/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/__init__.py | 4 | CODE | |
| LOW | src/bindings/python/valhalla/__init__.py | 5 | CODE | |
| LOW | src/bindings/python/valhalla/__init__.py | 5 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 9 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 10 | CODE | |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 25 | CODE | |
| LOW | src/bindings/python/valhalla/mjolnir/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/mjolnir/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/midgard/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 3 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 17 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 18 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 18 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 18 | CODE | |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 18 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | locales/po_tools.py | 129 | CODE | |
| LOW | locales/po_tools.py | 379 | CODE | |
| LOW | locales/po_tools.py | 456 | CODE | |
| LOW | locales/po_tools.py | 140 | CODE | |
| LOW | test/scripts/valhalla_build_elevation.py | 166 | CODE | |
| LOW | test/scripts/valhalla_build_elevation.py | 247 | CODE | |
| LOW | test/scripts/valhalla_build_elevation.py | 326 | CODE | |
| LOW | test/scripts/valhalla_build_elevation.py | 181 | CODE | |
| LOW | test/scripts/valhalla_build_config.py | 823 | CODE | |
| LOW | scripts/warnings_overview.py | 54 | CODE | |
| LOW | scripts/list_tiles.py | 103 | CODE | |
| LOW | run_route_scripts/run_with_server.py | 36 | CODE | |
| LOW | run_route_scripts/results/combine_route_stats.py | 11 | CODE | |
| LOW | src/bindings/nodejs/scripts/bundle.py | 127 | CODE | |
| LOW | src/bindings/python/scripts/auditwheel_patch.py | 37 | CODE | |
| LOW | src/bindings/python/valhalla/config.py | 62 | CODE | |
| LOW | src/bindings/python/valhalla/valhalla_build_config.py | 823 | CODE | |
| LOW | src/bindings/python/valhalla/__main__.py | 36 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/bindings/python/test_graph_utils.py | 270 | except RuntimeError: | CODE |
| HIGH | test/bindings/python/test_graph_utils.py | 287 | except RuntimeError: | CODE |
| HIGH | test/bindings/python/test_graph_utils.py | 303 | except RuntimeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/CMakeLists.txt | 482 | # Step 1: Find ASan library (try Clang naming, then GCC naming on Linux) | COMMENT |
| LOW | test/CMakeLists.txt | 502 | # Step 2: On Linux, also find C++ standard library (libstdc++ or libc++) | COMMENT |
| LOW | src/bindings/nodejs/scripts/create-package.sh | 5 | # Step 1: Set version | COMMENT |
| LOW | src/bindings/nodejs/scripts/create-package.sh | 36 | # Step 2: Create NPM package structure | COMMENT |
| LOW | src/bindings/python/valhalla/config.py | 77 | # Step 1: Parse config into a file path | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 109 | # Step 2: Load and validate config structure | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 117 | # Step 3: Validate mjolnir configuration | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 127 | # Step 4: Validate tile data exists on disk | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | valhalla/thor/multimodal_transit.h | 192 | * TODO - once auto/bicycle are allowed modes we need to check if parking | COMMENT |
| LOW | src/bindings/nodejs/scripts/create-package.sh | 5 | # Step 1: Set version | COMMENT |
| LOW | src/bindings/nodejs/scripts/create-package.sh | 36 | # Step 2: Create NPM package structure | COMMENT |
| LOW | src/bindings/python/valhalla/config.py | 77 | # Step 1: Parse config into a file path | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 109 | # Step 2: Load and validate config structure | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 117 | # Step 3: Validate mjolnir configuration | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 127 | # Step 4: Validate tile data exists on disk | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker/test.sh | 167 | #### Create a tar ball #### | COMMENT |
| MEDIUM | docker/test.sh | 178 | #### Create a new container with same config #### | COMMENT |
| MEDIUM | .github/workflows/no_git_blame.yml | 59 | # Create the file if missing, or update it | COMMENT |
| MEDIUM | run_route_scripts/results/total_multi_run_stats.sh | 32 | # Initialize sum variables | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/scripts/valhalla_build_elevation.py | 274 | except Exception as e: | CODE |
| MEDIUM | test/scripts/valhalla_build_config.py | 931 | print(f"Error: Config file not found: {args.merge_config}", file=sys.stderr) | CODE |
| MEDIUM | test/scripts/valhalla_build_config.py | 934 | print(f"Error: Invalid JSON in config: {e}", file=sys.stderr) | CODE |
| LOW | run_route_scripts/run_with_server_matrix.py | 48 | except Exception as e: | CODE |
| LOW | run_route_scripts/run_with_server.py | 46 | except Exception as e: | CODE |
| LOW | run_route_scripts/run_with_server.py | 78 | except Exception as e: | CODE |
| MEDIUM | src/bindings/python/valhalla/valhalla_build_config.py | 931 | print(f"Error: Config file not found: {args.merge_config}", file=sys.stderr) | CODE |
| MEDIUM | src/bindings/python/valhalla/valhalla_build_config.py | 934 | print(f"Error: Invalid JSON in config: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/bindings/nodejs/tests.js | 121 | // we utilize NodeJS's thread pool to process requests in parallel, this test verifies there are no race conditions | COMMENT |
| MEDIUM | valhalla/sif/dynamiccost.h | 1383 | // percentage of allowing probable restriction a 0 probability means do not utilize them | COMMENT |
| MEDIUM | src/thor/triplegbuilder_utils.h | 296 | // TODO: do (optional) seconds resolution for the input & output so that this becomes robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/bindings/python/valhalla/config.py | 10 | __all__ = ["get_help", "get_config", "parse_and_validate_config"] | CODE |
| LOW | src/bindings/python/valhalla/__init__.py | 19 | __all__ = ["Actor", "ValhallaError", "get_config", "get_help", "__version__"] | CODE |
| LOW | src/bindings/python/valhalla/actor.py | 8 | __all__ = ["Actor"] | CODE |
| LOW | src/bindings/python/valhalla/utils/__init__.py | 34 | __all__ = [ | CODE |
| LOW | src/bindings/python/valhalla/mjolnir/__init__.py | 5 | __all__ = ["compute_tileset_build_id", "set_tileset_build_id"] | CODE |
| LOW | src/bindings/python/valhalla/midgard/utils/__init__.py | 5 | __all__ = ["decode_polyline"] | CODE |
| LOW | src/bindings/python/valhalla/baldr/__init__.py | 5 | __all__ = ["GraphId", "GraphTileHeader"] | CODE |
| LOW | src/bindings/python/valhalla/baldr/utils/graph_utils.py | 9 | __all__ = ["GraphUtils"] | CODE |
| LOW | src/bindings/python/valhalla/baldr/utils/__init__.py | 20 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/scripts/valhalla_build_config.py | 45 | # Check if key_path matches or is a child of any specified path | COMMENT |
| LOW⚡ | src/bindings/python/valhalla/config.py | 102 | # Check if file exists before resolving | COMMENT |
| LOW | src/bindings/python/valhalla/valhalla_build_config.py | 45 | # Check if key_path matches or is a child of any specified path | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_route_scripts/perf_test/wrk-bench.sh | 10 | # Usage: | COMMENT |