Repository Analysis

carla-simulator/carla

Open-source simulator for autonomous driving research.

15.0 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of carla-simulator/carla, a C++ project with 14,167 GitHub stars. SynthScan v2.0 examined 275,917 lines of code across 1458 source files, recording 2597 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 15.0 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

15.0
Adjusted Score
15.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
14.2K
Stars
C++
Language
275.9K
Lines of Code
1.5K
Files
2.6K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 7MEDIUM 906LOW 1684

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2597 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators894 hits · 2593 pts
SeverityFileLineSnippetContext
MEDIUMUtil/ImportAssets.sh3# ==============================================================================COMMENT
MEDIUMUtil/ImportAssets.sh5# ==============================================================================COMMENT
MEDIUMUtil/Tools/Plugins.sh1# ==============================================================================COMMENT
MEDIUMUtil/Tools/Plugins.sh3# ==============================================================================COMMENT
MEDIUMUtil/Tools/Plugins.sh26# ==============================================================================COMMENT
MEDIUMUtil/Tools/Plugins.sh28# ==============================================================================COMMENT
MEDIUMUtil/Tools/Import.sh3# ==============================================================================COMMENT
MEDIUMUtil/Tools/Import.sh5# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh3# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh5# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh102# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh104# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh124# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh126# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh168# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh170# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh198# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh200# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh234# ==============================================================================COMMENT
MEDIUMUtil/Tools/Check.sh236# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh3# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh5# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh9# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh11# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh53# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh55# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh105# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh107# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh137# ==============================================================================COMMENT
MEDIUMUtil/Tools/Prettify.sh139# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh5# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh7# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh14# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh16# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh78# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh80# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh87# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh89# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh101# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh103# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh128# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh130# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh138# ==============================================================================COMMENT
MEDIUMUtil/Tools/Deploy.sh140# ==============================================================================COMMENT
MEDIUMPythonAPI/test/smoke/test_determinism.py98 # --------------COMMENT
MEDIUMPythonAPI/test/smoke/test_determinism.py100 # --------------COMMENT
MEDIUMPythonAPI/test/API/prop_control.py56# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py58# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py60# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py62# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py127# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py129# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py168# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py170# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py323# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py325# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py435# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py437# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py554# ==============================================================================COMMENT
MEDIUMPythonAPI/test/API/prop_control.py556# ==============================================================================COMMENT
834 more matches not shown…
Over-Commented Block1397 hits · 1179 pts
SeverityFileLineSnippetContext
LOWUtil/Tools/uncrustify.cfg561COMMENT
LOWUtil/Tools/uncrustify.cfg861COMMENT
LOWUtil/Tools/uncrustify.cfg1061# 0 = No change (default).COMMENT
LOWUtil/Tools/uncrustify.cfg1561COMMENT
LOWUtil/Tools/uncrustify.cfg1641COMMENT
LOWUtil/Tools/uncrustify.cfg1781COMMENT
LOWUtil/Tools/uncrustify.cfg1861# If True, always align with the first parameter, even if it is too short.COMMENT
LOWUtil/Tools/uncrustify.cfg1921# For multi-line comments with a '*' lead, remove leading spaces if the first and last lines ofCOMMENT
LOWUtil/Tools/uncrustify.cfg1941COMMENT
LOWUtil/Tools/uncrustify.cfg2141COMMENT
LOWUtil/Tools/uncrustify.cfg2161# at the function call (if present)COMMENT
LOWUtil/Tools/uncrustify.cfg2181#COMMENT
LOWUtil/Tools/uncrustify.cfg2201# 'CT_' prefix: 'CT_BOOL' -> 'BOOL'COMMENT
LOWUtil/Tools/uncrustify.cfg2221# Example:COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg561COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg861COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1061# 0 = No change (default).COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1561COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1641COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1781COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1861# If True, always align with the first parameter, even if it is too short.COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1921# For multi-line comments with a '*' lead, remove leading spaces if the first and last lines ofCOMMENT
LOWUtil/Tools/uncrustify-ue4.cfg1941COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg2141COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg2161# at the function call (if present)COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg2181#COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg2201# 'CT_' prefix: 'CT_BOOL' -> 'BOOL'COMMENT
LOWUtil/Tools/uncrustify-ue4.cfg2221# Example:COMMENT
LOWUtil/Tools/Deploy.sh101# ==============================================================================COMMENT
LOWPythonAPI/docs/light_manager.yml1---COMMENT
LOWPythonAPI/docs/light_manager.yml21 # - var_name: OtherCOMMENT
LOWPythonAPI/docs/light_manager.yml41 # type: carla.LightGroupCOMMENT
LOWPythonAPI/docs/light_manager.yml61 # type: carla.ColorCOMMENT
LOWPythonAPI/docs/light_manager.yml81 # doc: >COMMENT
LOWPythonAPI/docs/light_manager.yml101 # Intensity of the light.COMMENT
LOWPythonAPI/docs/light_manager.yml121 # doc: >COMMENT
LOWPythonAPI/docs/light_manager.yml141 # doc: >COMMENT
LOWPythonAPI/docs/light_manager.yml161 # # --------------------------------------COMMENT
LOWPythonAPI/docs/light_manager.yml181 # # --------------------------------------COMMENT
LOWPythonAPI/docs/light_manager.yml201 # doc: >COMMENT
LOWPythonAPI/docs/light_manager.yml221 # - def_name: get_intensityCOMMENT
LOWPythonAPI/docs/light_manager.yml241 # # --------------------------------------COMMENT
LOWPythonAPI/docs/light_manager.yml261 # # --------------------------------------COMMENT
LOWPythonAPI/docs/light_manager.yml281 # type: list(bool)COMMENT
LOWPythonAPI/docs/light_manager.yml301 # params:COMMENT
LOWPythonAPI/docs/light_manager.yml321 # param_units: lumensCOMMENT
LOWPythonAPI/docs/light_manager.yml341 # Changes the group of every element in `lights` to `light_group`. COMMENT
LOWPythonAPI/docs/light_manager.yml361 # type: list(carla.LightGroup)COMMENT
LOWPythonAPI/docs/light_manager.yml381 # params:COMMENT
LOWPythonAPI/examples/no_rendering_mode.py681 pygame.draw.lines(surface, trigger_color, True, corners, 2)COMMENT
LOWPythonAPI/examples/manual_control_fisheye.py1121COMMENT
LOWPythonAPI/carla/include/PythonAPI.h1#pragma onceCOMMENT
LOWPythonAPI/carla/include/PythonAPI.h21#include <carla/rpc/VehicleAckermannControl.h>COMMENT
LOWPythonAPI/carla/include/PythonAPI.h41#include <carla/client/Walker.h>COMMENT
LOWPythonAPI/carla/include/PythonAPI.h61#include <carla/Logging.h>COMMENT
LOWPythonAPI/carla/include/PythonAPI.h81COMMENT
LOWPythonAPI/carla/include/PythonAPI.h141// Convenient for requests with 5 arguments.COMMENT
LOWPythonAPI/carla/include/carla/PythonUtil.h1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat AutonomaCOMMENT
LOWPythonAPI/carla/src/AdRss.cpp1// Copyright (c) 2019-2020 Intel CorporationCOMMENT
LOWPythonAPI/carla/src/Geometry.cpp1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat AutonomaCOMMENT
1337 more matches not shown…
Hyper-Verbose Identifiers102 hits · 102 pts
SeverityFileLineSnippetContext
LOWUtil/download_from_gdrive.py34def download_file_from_google_drive(id, destination):CODE
LOWUtil/Tools/Import.py212def generate_import_setting_file(package_name, json_dirname, props, maps, do_tiles, tile_size):CODE
LOWUtil/Tools/Import.py320def copy_roadpainter_config_files(package_name):CODE
LOWUtil/Tools/Import.py418def import_assets_from_json_list(json_list, batch_size):CODE
LOWUtil/Tools/Import.py463def load_asset_materials_commandlet(package_name):CODE
LOWUtil/Tools/Import.py468def prepare_maps_commandlet_for_cooking(package_name, only_prepare_maps):CODE
LOWUtil/Tools/Import.py487def build_binary_for_navigation(package_name, dirname, maps):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py30 def _assert_geolocation_close(self, a, b, latlon_tol=0.00001, alt_tol=0.01):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py67 def test_location_to_geo_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py79 def test_geo_to_location_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py106 def test_relative_offset_preserved(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py120 def test_tm_location_to_geo_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py132 def test_tm_geo_to_location_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py144 def test_utm_north_location_to_geo_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py156 def test_utm_north_geo_to_location_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py168 def test_utm_south_location_to_geo_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py180 def test_utm_south_geo_to_location_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py192 def test_webmerc_location_to_geo_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py204 def test_webmerc_geo_to_location_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py216 def test_lcc_location_to_geo_and_back(self):CODE
LOWPythonAPI/test/smoke/test_geoconversion.py228 def test_lcc_geo_to_location_and_back(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_telemetry.py36 def test_get_telemetry_data_shape_and_values(self):CODE
LOWPythonAPI/test/smoke/test_debug_clear.py91 def test_clear_when_nothing_drawn(self):CODE
LOWPythonAPI/test/smoke/test_recorder.py90 def test_record_replay_blueprint_id_round_trips(self):CODE
LOWPythonAPI/test/smoke/test_recorder.py123 def test_record_survives_same_tick_actor_destroy(self):CODE
LOWPythonAPI/test/smoke/test_walker_navigation.py62 def _random_navigation_location(self):CODE
LOWPythonAPI/test/smoke/test_walker_navigation.py78 def test_walker_ai_controller_routes_without_crash(self):CODE
LOWPythonAPI/test/smoke/test_sync.py35 def _test_camera_on_synchronous_mode(self):CODE
LOWPythonAPI/test/smoke/test_sync.py64 def test_sensor_transform_on_synchronous_mode(self):CODE
LOWPythonAPI/test/smoke/test_lidar.py91 def get_current_detection_points(self):CODE
LOWPythonAPI/test/smoke/test_lidar.py122 def test_semlidar_point_count(self):CODE
LOWPythonAPI/test/smoke/test_lidar.py172 def test_semlidar_point_count(self):CODE
LOWPythonAPI/test/smoke/test_actor_introspection.py88 def test_vehicle_sockets_consistent(self):CODE
LOWPythonAPI/test/smoke/test_actor_introspection.py125 def test_component_not_found_raises(self):CODE
LOWPythonAPI/test/smoke/test_traffic_manager_sync_step.py52 def test_synchronous_step_no_deadlock(self):CODE
LOWPythonAPI/test/smoke/__init__.py41 def filter_vehicles_for_old_towns(self, blueprint_list):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py105 def check_single_physics_control(self, bp_vehicle):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py134 def check_multiple_physics_control(self, bp_vehicles, index_bp = None):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py177 def test_single_physics_control(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py185 def test_multiple_physics_control(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py202 def test_vehicle_zero_friction(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py271 def test_vehicle_friction_volume(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py385 def test_vehicle_friction_values(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py459 def test_vehicle_wheel_collision(self):CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py519 def test_vehicle_tire_long_stiff(self):CODE
LOW…onAPI/test/smoke/test_traffic_manager_large_vehicle.py48 def _find_large_vehicle_blueprint(self):CODE
LOW…onAPI/test/smoke/test_traffic_manager_large_vehicle.py57 def test_large_vehicle_autopilot_runs_without_nans(self):CODE
LOWPythonAPI/test/smoke/test_replay_no_actor_aliasing.py90 def test_replayed_actors_have_clean_state(self):CODE
LOWPythonAPI/test/smoke/test_collision_sensor.py19 def run_collision_single_car_against_wall(self, bp_vehicle):CODE
LOWPythonAPI/test/smoke/test_walker_bounding_box.py75 def test_walker_bounding_box_has_relative_offset(self):CODE
LOWPythonAPI/test/smoke/test_encoding_cameras.py99 def _frame_to_frame_diff_mean(self, frames):CODE
LOWPythonAPI/test/smoke/test_encoding_cameras.py108 def test_depth_camera_emits_stable_encoded_pixels(self):CODE
LOWPythonAPI/test/smoke/test_encoding_cameras.py148 def test_semantic_segmentation_emits_valid_labels(self):CODE
LOWPythonAPI/test/smoke/test_encoding_cameras.py190 def test_instance_segmentation_emits_unique_actor_ids(self):CODE
LOWPythonAPI/test/unit/test_boost_version.py37 def test_cmake_options_pins_correct_version(self):CODE
LOWPythonAPI/test/unit/test_boost_version.py65 def test_no_stale_boost_version_in_options(self):CODE
LOWPythonAPI/test/unit/test_transform.py181 def test_rotation_and_translation(self):CODE
LOWPythonAPI/test/unit/test_transform.py196 def test_list_rotation_and_translation_location(self):CODE
LOWPythonAPI/test/unit/test_transform.py246 def test_geo_offset_transform(self):CODE
LOWPythonAPI/test/unit/test_transform.py254 def test_geo_offset_transform_translation(self):CODE
42 more matches not shown…
Deep Nesting77 hits · 62 pts
SeverityFileLineSnippetContext
LOWUtil/Tools/Import.py56CODE
LOWUtil/Tools/Import.py111CODE
LOWUtil/Tools/Import.py320CODE
LOWUtil/Tools/Import.py336CODE
LOWUtil/Tools/Import.py418CODE
LOWUtil/Tools/Import.py487CODE
LOWUtil/Formatting/codeformat.py233CODE
LOWUtil/Formatting/codeformat.py282CODE
LOWPythonAPI/test/test_raycast_sensor.py261CODE
LOWPythonAPI/test/test_raycast_sensor.py116CODE
LOWPythonAPI/test/test_vehicle_physics.py299CODE
LOWPythonAPI/test/test_ground_truth.py20CODE
LOWPythonAPI/test/smoke/test_sensor_determinism.py277CODE
LOWPythonAPI/test/smoke/test_sync.py64CODE
LOWPythonAPI/test/smoke/test_spawnpoints.py14CODE
LOWPythonAPI/test/smoke/test_lidar.py194CODE
LOW…onAPI/test/smoke/test_traffic_manager_large_vehicle.py57CODE
LOWPythonAPI/test/API/prop_control.py336CODE
LOWPythonAPI/test/API/prop_control.py515CODE
LOWPythonAPI/test/API/prop_control.py820CODE
LOWPythonAPI/test/API/prop_control.py921CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py179CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py344CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py858CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py349CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py384CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py537CODE
LOWPythonAPI/test/API/test_sensor_recording.py137CODE
LOWPythonAPI/test/API/test_sensor_recording.py385CODE
LOWPythonAPI/test/API/test_sensor_recording_fast.py369CODE
LOWPythonAPI/util/config.py91CODE
LOWPythonAPI/util/recorder_comparer.py13CODE
LOWPythonAPI/docs/bp_doc_gen.py117CODE
LOWPythonAPI/docs/doc_gen.py165CODE
LOWPythonAPI/docs/doc_gen.py598CODE
LOWPythonAPI/docs/doc_gen.py618CODE
LOWPythonAPI/docs/doc_gen.py652CODE
LOWPythonAPI/examples/hss_lidar_top_down.py69CODE
LOWPythonAPI/examples/visualize_multiple_sensors.py244CODE
LOWPythonAPI/examples/visualize_multiple_sensors.py99CODE
LOWPythonAPI/examples/generate_traffic.py43CODE
LOWPythonAPI/examples/interpolate_camera.py116CODE
LOWPythonAPI/examples/sensor_synchronization.py40CODE
LOWPythonAPI/examples/vehicle_lights_demo.py26CODE
LOWPythonAPI/examples/draw_skeleton.py150CODE
LOWPythonAPI/examples/draw_skeleton.py262CODE
LOWPythonAPI/examples/draw_skeleton.py276CODE
LOWPythonAPI/examples/lane_explorer.py82CODE
LOWPythonAPI/examples/no_rendering_mode.py324CODE
LOWPythonAPI/examples/no_rendering_mode.py495CODE
LOWPythonAPI/examples/no_rendering_mode.py1030CODE
LOWPythonAPI/examples/no_rendering_mode.py1101CODE
LOWPythonAPI/examples/no_rendering_mode.py1398CODE
LOWPythonAPI/examples/no_rendering_mode.py500CODE
LOWPythonAPI/examples/no_rendering_mode.py535CODE
LOWPythonAPI/examples/no_rendering_mode.py719CODE
LOWPythonAPI/examples/invertedai_traffic.py356CODE
LOWPythonAPI/examples/manual_control_fisheye.py394CODE
LOWPythonAPI/examples/manual_control_fisheye.py775CODE
LOWPythonAPI/examples/manual_control_fisheye.py1083CODE
17 more matches not shown…
Unused Imports51 hits · 44 pts
SeverityFileLineSnippetContext
LOWUtil/Tools/Import.py11CODE
LOWUtil/Tools/Import.py15CODE
LOWUtil/Tools/Import.py20CODE
LOWPythonAPI/test/smoke/test_sensor_determinism.py19CODE
LOWPythonAPI/test/smoke/test_sensor_determinism.py23CODE
LOWPythonAPI/test/smoke/test_lidar.py10CODE
LOWPythonAPI/test/smoke/test_lidar.py12CODE
LOWPythonAPI/test/smoke/test_lidar.py16CODE
LOWPythonAPI/test/smoke/test_actor_introspection.py11CODE
LOWPythonAPI/test/smoke/test_traffic_manager_sync_step.py19CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py8CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py12CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py13CODE
LOWPythonAPI/test/smoke/test_vehicle_physics.py14CODE
LOW…onAPI/test/smoke/test_traffic_manager_large_vehicle.py22CODE
LOWPythonAPI/test/smoke/test_collision_determinism.py18CODE
LOWPythonAPI/test/smoke/test_collision_determinism.py19CODE
LOWPythonAPI/test/smoke/test_collision_determinism.py22CODE
LOWPythonAPI/test/smoke/test_collision_determinism.py23CODE
LOWPythonAPI/test/smoke/test_replay_no_actor_aliasing.py26CODE
LOWPythonAPI/test/API/prop_control.py53CODE
LOWPythonAPI/test/API/prop_control.py86CODE
LOWPythonAPI/test/API/prop_control.py91CODE
LOWPythonAPI/test/API/prop_control.py94CODE
LOWPythonAPI/test/API/prop_control.py101CODE
LOWPythonAPI/test/API/prop_control.py104CODE
LOWPythonAPI/test/API/prop_control.py105CODE
LOWPythonAPI/test/API/prop_control.py106CODE
LOWPythonAPI/test/API/prop_control.py114CODE
LOWPythonAPI/test/API/prop_control.py115CODE
LOWPythonAPI/test/API/test_no_rendering_mode.py11CODE
LOWPythonAPI/test/API/test_sensor_recording.py7CODE
LOWPythonAPI/test/API/test_sensor_recording.py9CODE
LOWPythonAPI/test/API/test_sensor_recording.py11CODE
LOWPythonAPI/test/API/test_sensor_recording.py23CODE
LOWPythonAPI/test/API/test_semantic_segmentation.py16CODE
LOWPythonAPI/test/API/test_collision.py2CODE
LOWPythonAPI/test/API/test_collision.py5CODE
LOWPythonAPI/test/API/test_collision.py7CODE
LOWPythonAPI/test/API/test_collision.py10CODE
LOWPythonAPI/test/API/test_sensor_recording_fast.py7CODE
LOWPythonAPI/test/API/test_sensor_recording_fast.py9CODE
LOWPythonAPI/test/API/test_sensor_recording_fast.py11CODE
LOWPythonAPI/test/API/test_sensor_recording_fast.py23CODE
LOWPythonAPI/util/show_topology.py11CODE
LOWPythonAPI/util/show_traffic_lights.py13CODE
LOWPythonAPI/docs/doc_gen_snipets.py11CODE
LOWPythonAPI/examples/invertedai_traffic.py27CODE
LOWPythonAPI/carla/__init__.py1CODE
LOW…Tools/Content/Python/add_vehicle_to_vehicle_factory.py7CODE
LOW…eal/Plugins/CarlaTools/Content/Python/generate_tile.py4CODE
Structural Annotation Overuse14 hits · 26 pts
SeverityFileLineSnippetContext
LOWPythonAPI/examples/ros2/README.md12### Step 1: Start the CARLA Simulator with ROS2 enabledCOMMENT
LOWPythonAPI/examples/ros2/README.md19### Step 2: Run the ROS2 ExampleCOMMENT
LOWPythonAPI/examples/ros2/README.md31### Step 3: Run RViz to Visualize Sensor DataCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp124 // Step 0: Create message to send, if triggering conditions fulfilledCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp181 // Step 1: Create an actor list which has messages to send targeting this v2x sensor instanceCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp196 // Step 2: Simulate the communication for the actors in actor list to current actor.COMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp201 // Step 3: Get the list of actors who can send message to current actor, and the receive power of their messagesCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp203 // Step 4: Retrieve the messages of the actors that are receivedCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp228 // Step 5: Send messageCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp158 // Step 1: Create an actor list which has messages to send targeting this v2x sensor instanceCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp182 // Step 2: Simulate the communication for the actors in actor list to current actor.COMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp188 // Step 3: Get the list of actors who can send message to current actor, and the receive power of their messagesCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp190 // Step 4: Retrieve the messages of the actors that are receivedCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp215 // Step 5: Send messageCOMMENT
Cross-Language Confusion4 hits · 25 pts
SeverityFileLineSnippetContext
HIGHPythonAPI/docs/doc_gen.py232 "document.getElementById(\"snipets-container\").innerHTML = null;"+CODE
HIGHPythonAPI/docs/doc_gen_snipets.py97 "document.getElementById(\"snipets-container\").innerHTML = null;\n"+CODE
HIGH…API/carla/agents/navigation/constant_velocity_agent.py98 if vehicle_velocity.length() == 0:CODE
HIGH…API/carla/agents/navigation/constant_velocity_agent.py101 hazard_speed = vehicle_velocity.dot(adversary.get_velocity()) / vehicle_velocity.length()CODE
Redundant / Tautological Comments16 hits · 22 pts
SeverityFileLineSnippetContext
LOWCarlaSetup.sh47# Check if root is asking for a password:COMMENT
LOWUtil/Tools/Deploy.sh62# Check if the package exists before continuingCOMMENT
LOWPythonAPI/test/API/prop_control.py156 # Check if generation is in available generationsCOMMENT
LOWPythonAPI/test/API/test_sensor_recording.py425 # Check if all spawned camera sensors are updatedCOMMENT
LOWPythonAPI/test/API/test_sensor_recording_fast.py409 # Check if all spawned camera sensors are updatedCOMMENT
LOWPythonAPI/util/recorder_comparer.py107 # Check if the ID has to be ignoredCOMMENT
LOWPythonAPI/docs/doc_gen_snipets.py115 # Check if snipet image exists, and add itCOMMENT
LOWPythonAPI/docs/snipets/carla.DebugHelper.draw_string.py10 # Check if the vehicle is movingCOMMENT
LOWPythonAPI/docs/snipets/carla.DebugHelper.draw_string.py13 # Check if the vehicle is on a sidewalkCOMMENT
LOWPythonAPI/examples/generate_traffic.py32 # Check if generation is in available generationsCOMMENT
LOWPythonAPI/examples/invertedai_traffic.py607 # Check if generation is in available generationsCOMMENT
LOWPythonAPI/examples/manual_control_fisheye.py156 # Check if generation is in available generationsCOMMENT
LOWPythonAPI/examples/automatic_control.py83 # Check if generation is in available generationsCOMMENT
LOWPythonAPI/examples/manual_control.py186 # Check if generation is in available generationsCOMMENT
LOWPythonAPI/carla/agents/navigation/basic_agent.py213 # Check if the vehicle is affected by a red traffic lightCOMMENT
LOW…API/carla/agents/navigation/constant_velocity_agent.py104 # Check if the vehicle is affected by a red traffic lightCOMMENT
Verbosity Indicators11 hits · 21 pts
SeverityFileLineSnippetContext
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp124 // Step 0: Create message to send, if triggering conditions fulfilledCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp181 // Step 1: Create an actor list which has messages to send targeting this v2x sensor instanceCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp196 // Step 2: Simulate the communication for the actors in actor list to current actor.COMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp201 // Step 3: Get the list of actors who can send message to current actor, and the receive power of their messagesCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp203 // Step 4: Retrieve the messages of the actors that are receivedCOMMENT
LOW…Unreal/Plugins/Carla/Source/Carla/Sensor/V2XSensor.cpp228 // Step 5: Send messageCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp158 // Step 1: Create an actor list which has messages to send targeting this v2x sensor instanceCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp182 // Step 2: Simulate the communication for the actors in actor list to current actor.COMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp188 // Step 3: Get the list of actors who can send message to current actor, and the receive power of their messagesCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp190 // Step 4: Retrieve the messages of the actors that are receivedCOMMENT
LOW…/Plugins/Carla/Source/Carla/Sensor/CustomV2XSensor.cpp215 // Step 5: Send messageCOMMENT
Excessive Try-Catch Wrapping17 hits · 16 pts
SeverityFileLineSnippetContext
LOWPythonAPI/test/test_ground_truth.py186 except Exception as e:CODE
LOWPythonAPI/test/smoke/test_traffic_manager_sync_step.py28 except Exception:CODE
MEDIUMPythonAPI/test/smoke/test_traffic_manager_sync_step.py24def tearDown(self):CODE
LOW…onAPI/test/smoke/test_traffic_manager_large_vehicle.py38 except Exception:CODE
MEDIUM…onAPI/test/smoke/test_traffic_manager_large_vehicle.py34def tearDown(self):CODE
LOWPythonAPI/test/smoke/test_replay_no_actor_aliasing.py57 except Exception:CODE
MEDIUMPythonAPI/util/apply_texture.py88 print('Error: missing object name to apply texture')CODE
LOWPythonAPI/util/recorder_comparer.py128 except Exception as e:CODE
LOWPythonAPI/examples/interpolate_camera.py160 except Exception:CODE
LOWPythonAPI/examples/invertedai_traffic.py1102 except Exception as e:CODE
LOWPythonAPI/examples/manual_control_fisheye.py330 except Exception:CODE
LOWPythonAPI/examples/manual_control_fisheye.py453 except Exception:CODE
LOWPythonAPI/examples/manual_control_fisheye.py465 except Exception:CODE
LOWPythonAPI/examples/automatic_control.py191 except Exception:CODE
LOWPythonAPI/examples/manual_control.py350 except Exception:CODE
LOWPythonAPI/examples/manual_control.py467 except Exception:CODE
LOWPythonAPI/examples/manual_control.py479 except Exception:CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHPythonAPI/test/API/prop_control.py0welcome to carla manual control. use arrows or wasd keys for control. w : throttle s : brake a/d : steer left/right q : STRING
HIGHPythonAPI/examples/manual_control_fisheye.py0welcome to carla manual control. use arrows or wasd keys for control. w : throttle s : brake a/d : steer left/right q : STRING
HIGHPythonAPI/examples/manual_control.py0welcome to carla manual control. use arrows or wasd keys for control. w : throttle s : brake a/d : steer left/right q : STRING
Self-Referential Comments4 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMUtil/Tools/Check.sh54 # Create the folder for the test-resultsCOMMENT
MEDIUMPythonAPI/docs/light_manager.yml27 # This class represents all the light variables except the identifier and the location, which are should to be staCOMMENT
MEDIUMPythonAPI/docs/light_manager.yml166 # This class handles the lights in the scene. Its main use is to get and set the state of groups or lists of lightCOMMENT
MEDIUMPythonAPI/examples/draw_skeleton.py334 # Create a synchronous mode context.COMMENT
AI Slop Vocabulary3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…onAPI/test/smoke/test_traffic_manager_large_vehicle.py28# robust across packaged-build naming differences.COMMENT
MEDIUMPythonAPI/test/API/test_no_rendering_mode.py987 """Used to improve perfomance. Clips the surfaces in order to render only the part of the surfaces that are goinSTRING
MEDIUMPythonAPI/examples/no_rendering_mode.py1239 """Used to improve perfomance. Clips the surfaces in order to render only the part of the surfaces that are goinSTRING
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMPythonAPI/examples/open3d_lidar.py101 # # of the incident ray angle, you can use:COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMLibCarla/source/carla/ros2/publishers/BasicPublisher.h20// Developer scaffold: publishes a std_msgs::String to a fixed topicCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWLibCarla/source/carla/sensor/CompileTimeTypeMap.h82 /// Example usage:COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWPythonAPI/test/test_vehicle_physics.py25CODE