RealSense SDK
This report presents the forensic synthetic code analysis of realsenseai/librealsense, a C++ project with 8,884 GitHub stars. SynthScan v2.0 examined 692,112 lines of code across 3029 source files, recording 3061 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 4.8 places this repository in the Likely human-written 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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.
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.
The scanner identified 3061 distinct pattern matches across 19 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ppers/unity/Assets/RealSenseSDK2.0/Scripts/RsDevice.cs | 21 | } | COMMENT |
| LOW | …nseSDK2.0/Scripts/ProcessingBlocks/RsTemporalFilter.cs | 21 | public int _filterSmoothDelta = 20; | COMMENT |
| LOW | …/unity/Assets/RealSenseSDK2.0/Editor/RsDeviceEditor.cs | 21 | // int selectedSerial = 0; | COMMENT |
| LOW | …/unity/Assets/RealSenseSDK2.0/Editor/RsDeviceEditor.cs | 61 | { | COMMENT |
| LOW | wrappers/python/pybackend.cpp | 1 | /* License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/python/pyrs_device.cpp | 1 | /* License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/python/pyrealsense2.h | 1 | /* License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/python/examples/align-depth2color.py | 1 | ## License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/python/examples/object_detection_example.py | 1 | ## License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/python/examples/align-with-software-device.py | 1 | ## License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | …_dimensioner_multicam/box_dimensioner_multicam_demo.py | 1 | ######################################################################################################################## | COMMENT |
| LOW | wrappers/python/pyrealsense2/__init__.py | 1 | # py libs (pyd/so) should be copied to pyrealsense2 folder | COMMENT |
| LOW | wrappers/open3d/cpp/RealSenseRecorder.cpp | 1 | // ---------------------------------------------------------------------------- | COMMENT |
| LOW | wrappers/open3d/cpp/RealSenseBagReader.cpp | 1 | // ---------------------------------------------------------------------------- | COMMENT |
| LOW | wrappers/open3d/cpp/RealSenseBagReader.cpp | 21 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | COMMENT |
| LOW | wrappers/openvino/face/rs-face-vino.cpp | 1 | // License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/openvino/rs-vino/openvino-helpers.h | 1 | // License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/openvino/dnn/rs-dnn-vino.cpp | 1 | // License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/pcl/pcl-color/rs-pcl-color.cpp | 21 | #include <boost/thread/thread.hpp> | COMMENT |
| LOW | wrappers/opencv/latency-tool/latency-detector.h | 1 | // License: Apache 2.0. See LICENSE file in root directory. | COMMENT |
| LOW | wrappers/opencv/latency-tool/rs-latency-tool.cpp | 21 | //cfg.enable_stream(RS2_STREAM_INFRARED, 1280, 720, RS2_FORMAT_Y8); | COMMENT |
| LOW | …rce/RealSense/Private/RealSenseDetailCustomization.cpp | 1 | #include "RealSenseDetailCustomization.h" | COMMENT |
| LOW | …gine4/Plugins/RealSense/Source/RealSense/Private/PCH.h | 1 | #pragma once | COMMENT |
| LOW | …e4/Plugins/RealSense/Source/RealSense/Private/Shared.h | 1 | #pragma once | COMMENT |
| LOW | …e4/Plugins/RealSense/Source/RealSense/Private/Shared.h | 21 | #define REALSENSE_TRACE(Format, ...) UE_LOG(LogRealSense, Display, Format, ## __VA_ARGS__) | COMMENT |
| LOW | …/Plugins/RealSense/Source/RealSense/Private/Profiler.h | 1 | #pragma once | COMMENT |
| LOW | …/Plugins/RealSense/Source/RealSense/Private/Profiler.h | 21 | #include <sys/time.h> | COMMENT |
| LOW | …/Plugins/RealSense/Source/RealSense/Private/Profiler.h | 41 | COMMENT | |
| LOW | …entEditor/Private/RuntimeMeshComponentEditorPlugin.cpp | 161 | #undef LOCTEXT_NAMESPACE | COMMENT |
| LOW | …omponentEditor/Private/RuntimeMeshComponentDetails.cpp | 1 | // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved. | COMMENT |
| LOW | …t/Source/RuntimeMeshComponent/Public/RuntimeMeshCore.h | 1 | // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved. | COMMENT |
| LOW | …RuntimeMeshComponent/Public/RuntimeMeshGenericVertex.h | 1 | // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved. | COMMENT |
| LOW | …RuntimeMeshComponent/Public/RuntimeMeshGenericVertex.h | 281 | }; | COMMENT |
| LOW | …RuntimeMeshComponent/Public/RuntimeMeshGenericVertex.h | 301 | // Tangent declaration | COMMENT |
| LOW | …RuntimeMeshComponent/Public/RuntimeMeshGenericVertex.h | 341 | #define RUNTIMEMESH_VERTEX_DECLARE_UVCHANNEL_8(UVType) \ | COMMENT |
| LOW | …RuntimeMeshComponent/Public/RuntimeMeshGenericVertex.h | 421 | #define RUNTIMEMESH_VERTEX_PARAMETER_UVCHANNEL_0 | COMMENT |
| LOW | …ce/RuntimeMeshComponent/Private/RuntimeMeshSection.cpp | 221 | // { | COMMENT |
| LOW | …ce/RuntimeMeshComponent/Private/RuntimeMeshSection.cpp | 241 | // else if (VertexBuffer2.GetStructure().HasUVs()) | COMMENT |
| LOW | …ce/RuntimeMeshComponent/Private/RuntimeMeshLibrary.cpp | 1 | // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved. | COMMENT |
| LOW | …ce/RuntimeMeshComponent/Private/RuntimeMeshLibrary.cpp | 501 | COMMENT | |
| LOW | …nt/Source/RuntimeMeshComponent/Private/RuntimeMesh.cpp | 1 | // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved. | COMMENT |
| LOW | …/RuntimeMeshComponent/Private/RuntimeMeshComponent.cpp | 1 | // Copyright 2016-2018 Chris Conway (Koderz). All Rights Reserved. | COMMENT |
| LOW | wrappers/matlab/types.h | 241 | // rs_processing.hpp | COMMENT |
| LOW | wrappers/csharp/Intel.RealSense/Pipeline/Pipeline.cs | 81 | return prof; | COMMENT |
| LOW | wrappers/csharp/Intel.RealSense/Processing/Syncer.cs | 21 | { | COMMENT |
| LOW | …ppers/csharp/Intel.RealSense/Processing/FrameSource.cs | 41 | COMMENT | |
| LOW | …s/csharp/Intel.RealSense/Processing/ProcessingBlock.cs | 61 | /// <summary> | COMMENT |
| LOW | wrappers/csharp/Intel.RealSense/Frames/FrameQueue.cs | 21 | /// </summary> | COMMENT |
| LOW | wrappers/csharp/Intel.RealSense/Frames/Frame.cs | 101 | return Create(Handle); | COMMENT |
| LOW | …pers/csharp/Intel.RealSense/Properties/AssemblyInfo.cs | 21 | // to COM components. If you need to access a type in this assembly from | COMMENT |
| LOW | …csharp/Intel.RealSense/StreamProfiles/StreamProfile.cs | 101 | /// </summary> | COMMENT |
| LOW | wrappers/csharp/Intel.RealSense/Devices/Device.cs | 101 | } | COMMENT |
| LOW | wrappers/csharp/Intel.RealSense/Devices/RecordDevice.cs | 21 | return NativeMethods.rs2_create_record_device(dev.Handle, file, out error); | COMMENT |
| LOW | …ppers/csharp/Intel.RealSense/Devices/PlaybackDevice.cs | 41 | /// </summary> | COMMENT |
| LOW | …ers/csharp/tutorial/capture/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …ppers/csharp/tutorial/depth/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …/csharp/tutorial/processing/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …rs/csharp/tutorial/d400-occ/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …appers/csharp/tutorial/pose/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| LOW | …s/csharp/tutorial/load-json/Properties/AssemblyInfo.cs | 21 | COMMENT | |
| 2006 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/python/examples/python-rs400-advanced-mode-example.py | 15 | def find_device_that_supports_advanced_mode() : | CODE |
| LOW | wrappers/python/examples/d500_triggered_calibration.py | 94 | def get_depth_calib_from_device(): | CODE |
| LOW | wrappers/python/examples/d500_triggered_calibration.py | 140 | def switch_device_to_service_mode(device): | CODE |
| LOW | wrappers/python/examples/d500_triggered_calibration.py | 155 | def exit_if_calibrations_are_equal(): | CODE |
| LOW | …pers/python/examples/depth_auto_calibration_example.py | 138 | def run_focal_length_calibration(target_size, adjust_side): | STRING |
| LOW | wrappers/python/examples/embedded_filters.py | 22 | def list_embedded_filter_options(embedded_filter): | CODE |
| LOW | …/examples/box_dimensioner_multicam/measurement_task.py | 14 | def calculate_cumulative_pointcloud(frames_devices, calibration_info_devices, roi_2d, depth_threshold = 0.01): | CODE |
| LOW | …/examples/box_dimensioner_multicam/measurement_task.py | 71 | def calculate_boundingbox_points(point_cloud, calibration_info_devices, depth_threshold = 0.01): | CODE |
| LOW | …/examples/box_dimensioner_multicam/helper_functions.py | 121 | def convert_depth_pixel_to_metric_coordinate(depth, pixel_x, pixel_y, camera_intrinsics): | CODE |
| LOW | …/examples/box_dimensioner_multicam/helper_functions.py | 151 | def convert_depth_frame_to_pointcloud(depth_image, camera_intrinsics ): | CODE |
| LOW | …/examples/box_dimensioner_multicam/helper_functions.py | 191 | def convert_pointcloud_to_depth(pointcloud, camera_intrinsics): | CODE |
| LOW | …xamples/box_dimensioner_multicam/calibration_kabsch.py | 23 | def calculate_transformation_kabsch(src_points, dst_points): | CODE |
| LOW | …xamples/box_dimensioner_multicam/calibration_kabsch.py | 221 | def find_chessboard_boundary_for_depth_image(self): | CODE |
| LOW | …s/box_dimensioner_multicam/realsense_device_manager.py | 27 | def enumerate_connected_devices(context): | CODE |
| LOW | …s/box_dimensioner_multicam/realsense_device_manager.py | 282 | def get_depth_to_color_extrinsics(self, frames): | CODE |
| LOW | …pers/rest-api/tools/react-viewer/tests/e2e/fixtures.ts | 71 | async function dismissWhatsNewModalInternal(page: Page): Promise<void> { | CODE |
| LOW | wrappers/rest-api/app/core/errors.py | 16 | async def realsense_exception_handler(request: Request, exc: RealSenseError): | CODE |
| LOW | wrappers/rest-api/app/core/errors.py | 30 | async def validation_exception_handler(request: Request, exc: RequestValidationError): | CODE |
| LOW | wrappers/rest-api/app/core/errors.py | 37 | async def generic_exception_handler(request: Request, exc: Exception): | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 505 | def _get_or_create_processing_blocks(self, device_id: str, sensor_id: str, sensor) -> List[Dict[str, Any]]: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1540 | def _validate_profile_compatibility(self, profiles: List[rs.stream_profile]) -> None: | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 370 | async def test_process_webrtc_answer(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 423 | async def test_close_webrtc_session(self, setup_mock_managers): | CODE |
| LOW | unit-tests/conftest.py | 349 | def pytest_collection_modifyitems(config, items): | CODE |
| LOW | unit-tests/conftest.py | 374 | def pytest_runtest_makereport(item, call): | CODE |
| LOW | unit-tests/test-fw-update.py | 41 | def send_hardware_monitor_command(device, command): | CODE |
| LOW | unit-tests/test-fw-update.py | 50 | def extract_version_from_filename(file_path): | CODE |
| LOW | unit-tests/py/rspy/config_file.py | 36 | def get_domain_from_config_file_or_default(): | CODE |
| LOW | unit-tests/py/rspy/test.py | 130 | def find_first_device_or_exit(): | CODE |
| LOW | unit-tests/py/rspy/test.py | 145 | def find_devices_by_product_line_or_exit( product_line ): | CODE |
| LOW | unit-tests/py/rspy/acroname.py | 165 | def port_state_bitmask_to_strings(self, bitmask ): | CODE |
| LOW | unit-tests/py/rspy/devices.py | 159 | def wait_until_all_ports_disabled( timeout = 5 ): | CODE |
| LOW | unit-tests/py/rspy/pytest/device_helpers.py | 140 | def resolve_device_each_serials(metafunc): | CODE |
| LOW | unit-tests/py/rspy/pytest/device_helpers.py | 227 | def find_matching_devices_multi(device_markers, cli_includes=None, cli_excludes=None): | CODE |
| LOW | …tests/post-processing/test-post-processing-from-bag.py | 82 | def compare_processed_frames_vs_recorded_frames(file): | CODE |
| LOW | unit-tests/post-processing/test-rotation-filter.py | 65 | def validate_rotation_results(filtered_frame, angle): | CODE |
| LOW | unit-tests/post-processing/test-filters.py | 66 | def produce_sequence_extensions(source, target): | CODE |
| LOW | unit-tests/post-processing/test-filters.py | 264 | def check_load_test_configuration(test_config): | CODE |
| LOW | unit-tests/sw-dev/pytest-metadata.py | 20 | def test_nothing_supported_by_default(): | CODE |
| LOW | unit-tests/sw-dev/pytest-metadata.py | 57 | def test_post_frame_metadata_does_not_affect_frame(): | CODE |
| LOW | unit-tests/sw-dev/pytest-metadata.py | 72 | def test_metadata_is_kept_from_frame_to_frame(): | CODE |
| LOW | unit-tests/sw-dev/pytest-metadata.py | 86 | def test_prev_frame_does_not_pick_up_new_data_from_new_frame(): | CODE |
| LOW | unit-tests/sw-dev/pytest-metadata.py | 104 | def test_multiple_streams_per_sensor_should_share_metadata(): | CODE |
| LOW | unit-tests/sw-dev/pytest-metadata.py | 136 | def test_two_sensors_intermixed_frames(): | CODE |
| LOW | unit-tests/sw-dev/pytest-motion.py | 7 | def test_software_device_motion_stream(): | CODE |
| LOW | unit-tests/live/calib/calibrations_common.py | 307 | def restore_calibration_table(device, saved_table=None): | CODE |
| LOW | unit-tests/live/calib/calibrations_common.py | 367 | def write_calibration_table_with_crc(device, modified_data): | CODE |
| LOW | unit-tests/live/calib/calibrations_common.py | 394 | def modify_intrinsic_calibration(device, pixel_correction, modify_ppy=True): | CODE |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 64 | def run_advanced_occ_calibration_test(host_assistance, config, pipeline, calib_dev, image_width, image_height, fps, modi | CODE |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 216 | def test_advanced_occ_calibration(test_device): | CODE |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 241 | def test_advanced_occ_calibration_with_host_assistance(test_device): | CODE |
| LOW | unit-tests/live/calib/pytest-tare-calibrations.py | 98 | def test_tare_calibration_with_host_assistance(test_device): | STRING |
| LOW | unit-tests/live/calib/pytest-occ-calibrations.py | 69 | def test_occ_calibration_with_host_assistance(test_device): | CODE |
| LOW | …-tests/live/calib/pytest-advanced-tare-calibrations.py | 116 | def run_advanced_tare_calibration_test(host_assistance, config, pipeline, calib_dev, image_width, image_height, fps, tar | CODE |
| LOW | …-tests/live/calib/pytest-advanced-tare-calibrations.py | 252 | def test_advanced_tare_calibration(test_device): | CODE |
| LOW | …-tests/live/calib/pytest-advanced-tare-calibrations.py | 285 | def test_advanced_tare_calibration_with_host_assistance(test_device): | STRING |
| LOW | unit-tests/live/options/pytest-timestamp-domain.py | 31 | def set_and_verify_timestamp_domain(sensor, frame_queue, global_time_enabled: bool, sleep_time: float = 0.5): | CODE |
| LOW | unit-tests/live/options/pytest-timestamp-domain.py | 53 | def _run_timestamp_domain_test(sensor, stream_type, global_time_enabled): | CODE |
| LOW⚡ | unit-tests/live/options/pytest-timestamp-domain.py | 65 | def test_depth_timestamp_domain_off(test_device): | CODE |
| LOW⚡ | unit-tests/live/options/pytest-timestamp-domain.py | 71 | def test_depth_timestamp_domain_on(test_device): | CODE |
| 260 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | wrappers/python/examples/object_detection_example.py | 5 | # ======================== | COMMENT |
| MEDIUM | wrappers/python/examples/object_detection_example.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | wrappers/python/examples/object_detection_example.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | wrappers/python/examples/object_detection_example.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | wrappers/python/examples/object_detection_example.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | wrappers/python/examples/object_detection_example.py | 57 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | wrappers/python/examples/object_detection_example.py | 61 | # --------------------------------------------------------------- | COMMENT |
| MEDIUM | wrappers/python/examples/numpy_to_frame.py | 63 | # ========================================================================= | COMMENT |
| MEDIUM | wrappers/python/examples/numpy_to_frame.py | 66 | # ========================================================================= | COMMENT |
| MEDIUM | wrappers/python/examples/numpy_to_frame.py | 77 | # ========================================================================= | COMMENT |
| MEDIUM | wrappers/python/examples/numpy_to_frame.py | 90 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 56 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 58 | # ============================================================================= | COMMENT |
| MEDIUM | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 120 | # ============================================================================= | COMMENT |
| MEDIUM | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 122 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | wrappers/rest-api/app/services/rs_manager.py | 1398 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | wrappers/rest-api/app/services/rs_manager.py | 1400 | # ========================================================================= | COMMENT |
| MEDIUM | unit-tests/conftest.py | 76 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 78 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 97 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 99 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 416 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 418 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/conftest.py | 460 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/conftest.py | 462 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/live/calib/calibrations_common.py | 435 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/live/calib/calibrations_common.py | 437 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …sts/live/hw-reset/pytest-notifications-callback-gil.py | 40 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …sts/live/hw-reset/pytest-notifications-callback-gil.py | 42 | # ============================================================================ | COMMENT |
| MEDIUM | …sts/live/hw-reset/pytest-notifications-callback-gil.py | 80 | # ============================================================================ | COMMENT |
| MEDIUM | …sts/live/hw-reset/pytest-notifications-callback-gil.py | 85 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/live/d400/pytest-depth-ae-convergence.py | 265 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 58 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 73 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 390 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/live/frames/pytest-fps-performance.py | 1569 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/live/frames/pytest-fps-performance.py | 1571 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1552 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1554 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/infra-tests/test_device_helpers.py | 198 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/test_device_helpers.py | 200 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/helpers.py | 16 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/helpers.py | 18 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/helpers.py | 82 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/helpers.py | 84 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/helpers.py | 133 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/helpers.py | 135 | # ============================================================================= | COMMENT |
| MEDIUM | …mples/enhanced-depth-range/live_close_range_compare.py | 31 | # ── 1. Open the camera ────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …mples/enhanced-depth-range/live_close_range_compare.py | 53 | # ── 3. Construct the improver ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …mples/enhanced-depth-range/live_close_range_compare.py | 58 | # ── 4. Helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …mples/enhanced-depth-range/live_close_range_compare.py | 78 | # ── 5. Stream + improve + display loop ────────────────────────────────── | COMMENT |
| MEDIUM | examples/enhanced-depth-range/range_depth.py | 24 | # ── 1. Open the camera ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/enhanced-depth-range/range_depth.py | 52 | # ── 4. Stream + improve + live status line ────────────────────────────── | COMMENT |
| MEDIUM | examples/enhanced-depth-range/range_depth.cpp | 39 | // ── 1. Open the camera ──────────────────────────────────────────── | COMMENT |
| MEDIUM | examples/enhanced-depth-range/range_depth.cpp | 67 | // ── 4. Stream + improve + live status line ──────────────────────── | COMMENT |
| MEDIUM | .github/workflows/buildsCI.yaml | 24 | #-------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/buildsCI.yaml | 38 | #-------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/buildsCI.yaml | 80 | #-------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/buildsCI.yaml | 122 | #-------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/buildsCI.yaml | 188 | #-------------------------------------------------------------------------------- | COMMENT |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/python/examples/python-rs400-advanced-mode-example.py | 85 | except Exception as e: | CODE |
| LOW | wrappers/python/examples/python-tutorial-1-depth.py | 49 | except Exception as e: | CODE |
| LOW | wrappers/python/examples/pybackend_example_1_general.py | 101 | except Exception as e: | CODE |
| LOW | wrappers/python/examples/align-with-software-device.py | 112 | except Exception as e: | CODE |
| MEDIUM | wrappers/python/examples/depth_ucal_example.py | 23 | print('Error reading occ_json_file: ', occ_json_file) | CODE |
| MEDIUM | wrappers/python/examples/depth_ucal_example.py | 49 | print('Error reading tare_json_file: ', tare_json_file) | CODE |
| LOW | wrappers/python/examples/depth_ucal_example.py | 215 | except Exception as e: | CODE |
| LOW | wrappers/python/examples/frame_queue_example.py | 81 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/router.py | 16 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/options.py | 26 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/options.py | 41 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/options.py | 61 | except Exception as e: | CODE |
| LOW⚡ | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 48 | except Exception as e: | CODE |
| MEDIUM | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 43 | def wrapper(*args, **kwargs): | CODE |
| LOW⚡ | wrappers/rest-api/app/api/endpoints/point_cloud.py | 21 | except Exception as e: | CODE |
| LOW⚡ | wrappers/rest-api/app/api/endpoints/point_cloud.py | 31 | except Exception as e: | CODE |
| LOW⚡ | wrappers/rest-api/app/api/endpoints/point_cloud.py | 41 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 37 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 55 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 68 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 85 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 100 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/sensors.py | 24 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/sensors.py | 38 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/firmware.py | 23 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/webrtc.py | 33 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/webrtc.py | 51 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/webrtc.py | 70 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/webrtc.py | 83 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/webrtc.py | 100 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/webrtc.py | 117 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/devices.py | 37 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/devices.py | 63 | except Exception as e: | CODE |
| MEDIUM⚡ | wrappers/rest-api/app/services/rs_manager.py | 1395 | print(f"Error calculating depth range: {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 1297 | print(f"Error processing {active_stream}: {type(e).__name__}: {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 1319 | print(f"Error collecting frames: {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 1355 | print(f"Error getting depth at pixel ({x}, {y}): {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 993 | def _do_stop(): | CODE |
| LOW⚡ | wrappers/rest-api/app/services/rs_manager.py | 1394 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 108 | except Exception as exc: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 720 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 722 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 997 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1295 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1322 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1342 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1354 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1707 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1712 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1864 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1927 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2037 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2081 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 69 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 170 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 198 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 227 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 249 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 269 | except Exception: | CODE |
| MEDIUM | wrappers/rest-api/app/services/webrtc_manager.py | 30 | def recv(self): | CODE |
| 143 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrappers/python/examples/depth_ucal_example.py | 11 | CODE | |
| LOW | …s/box_dimensioner_multicam/realsense_device_manager.py | 9 | CODE | |
| LOW | wrappers/python/pyrealsense2/__init__.py | 2 | CODE | |
| LOW | wrappers/python/pyrealsense2/__init__.py | 5 | CODE | |
| LOW | wrappers/python/pyrealsense2/__init__.py | 5 | CODE | |
| LOW | wrappers/tensorflow/tools/rmse.py | 6 | CODE | |
| LOW | wrappers/rest-api/install.py | 23 | CODE | |
| LOW | wrappers/rest-api/app/core/security.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/models/sensor.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/models/device.py | 4 | CODE | |
| LOW | wrappers/rest-api/app/models/stream.py | 4 | CODE | |
| LOW | wrappers/rest-api/app/models/stream.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/api/dependencies.py | 4 | CODE | |
| LOW | wrappers/rest-api/app/api/dependencies.py | 6 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/options.py | 6 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 13 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/sensor_streaming.py | 13 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/point_cloud.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/point_cloud.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/point_cloud.py | 8 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/api/endpoints/streams.py | 5 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 13 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 14 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 15 | CODE | |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 7 | CODE | |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 8 | CODE | |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 10 | CODE | |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 18 | CODE | |
| LOW | wrappers/rest-api/tests/test_api_service.py | 6 | CODE | |
| LOW | wrappers/rest-api/tests/test_api_service.py | 8 | CODE | |
| LOW | wrappers/rest-api/tests/setup_fake_devices.py | 4 | CODE | |
| LOW | tools/rs-imu-calibration/rs-imu-calibration.py | 2 | CODE | |
| LOW | tools/rs-imu-calibration/rs-imu-calibration.py | 6 | CODE | |
| LOW | tools/rs-imu-calibration/rs-imu-calibration.py | 11 | CODE | |
| LOW | unit-tests/unit-test-config.py | 17 | CODE | |
| LOW | unit-tests/unit-test-config.py | 17 | CODE | |
| LOW | unit-tests/py/rspy/signals.py | 5 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 17 | CODE | |
| LOW | unit-tests/py/rspy/librs.py | 8 | CODE | |
| LOW | unit-tests/py/rspy/file.py | 4 | CODE | |
| LOW | unit-tests/py/rspy/file.py | 4 | CODE | |
| LOW | unit-tests/py/rspy/lsusb.py | 11 | CODE | |
| LOW | unit-tests/py/rspy/unifi.py | 10 | CODE | |
| LOW | unit-tests/py/rspy/unifi.py | 10 | CODE | |
| LOW | unit-tests/py/rspy/pytest/device_helpers.py | 7 | CODE | |
| LOW | unit-tests/post-processing/test-rotation-filter.py | 7 | CODE | |
| LOW | unit-tests/rsutils/test-version.py | 4 | CODE | |
| LOW | unit-tests/rsutils/number/stabilized/test-stabilized.py | 4 | CODE | |
| LOW | unit-tests/rsutils/string/test-shorten-json.py | 4 | CODE | |
| LOW | unit-tests/rsutils/string/test-split.py | 4 | CODE | |
| LOW | unit-tests/live/calib/calibrations_common.py | 4 | CODE | |
| LOW | unit-tests/live/calib/calibrations_common.py | 6 | CODE | |
| LOW | unit-tests/live/calib/calibrations_common.py | 11 | CODE | |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 5 | CODE | |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 7 | CODE | |
| LOW | unit-tests/live/calib/pytest-occ-calibrations.py | 5 | CODE | |
| LOW | unit-tests/live/rec-play/pytest-playback-stress.py | 9 | CODE | |
| LOW | unit-tests/live/rec-play/pytest-non-realtime.py | 8 | CODE | |
| LOW | unit-tests/live/rec-play/pytest-got-playback-frames.py | 7 | CODE | |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrappers/python/examples/opencv_pointcloud_viewer.py | 101 | CODE | |
| LOW | wrappers/python/examples/depth_ucal_example.py | 81 | CODE | |
| LOW | …ples/box_dimensioner_multicam/calculate_rmsd_kabsch.py | 323 | CODE | |
| LOW | …xamples/box_dimensioner_multicam/calibration_kabsch.py | 129 | CODE | |
| LOW | …_dimensioner_multicam/box_dimensioner_multicam_demo.py | 27 | CODE | |
| LOW | …s/box_dimensioner_multicam/realsense_device_manager.py | 212 | CODE | |
| LOW | wrappers/tensorflow/tools/rmse.py | 59 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 111 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 257 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 364 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 505 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 633 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 679 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 737 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1088 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1145 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1180 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1358 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1569 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1624 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2008 | CODE | |
| LOW | wrappers/rest-api/app/services/webrtc_manager.py | 30 | CODE | |
| LOW | …appers/rest-api/app/services/metadata_socket_server.py | 44 | CODE | |
| LOW | wrappers/rest-api/tests/pyrealsense_mock.py | 628 | CODE | |
| LOW | wrappers/rest-api/tests/pyrealsense_mock.py | 436 | CODE | |
| LOW | tools/rs-imu-calibration/rs-imu-calibration.py | 536 | CODE | |
| LOW | tools/rs-imu-calibration/rs-imu-calibration.py | 106 | CODE | |
| LOW | unit-tests/conftest.py | 471 | CODE | |
| LOW | unit-tests/run-unit-tests.py | 356 | CODE | |
| LOW | unit-tests/run-unit-tests.py | 436 | CODE | |
| LOW | unit-tests/unit-test-config.py | 171 | CODE | |
| LOW | unit-tests/unit-test-config.py | 204 | CODE | |
| LOW | unit-tests/py/rspy/ykush.py | 209 | CODE | |
| LOW | unit-tests/py/rspy/ykush.py | 121 | CODE | |
| LOW | unit-tests/py/rspy/ykush.py | 157 | CODE | |
| LOW | unit-tests/py/rspy/libci.py | 33 | CODE | |
| LOW | unit-tests/py/rspy/libci.py | 173 | CODE | |
| LOW | unit-tests/py/rspy/libci.py | 390 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 282 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 328 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 463 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 828 | CODE | |
| LOW | unit-tests/py/rspy/librs.py | 23 | CODE | |
| LOW | unit-tests/py/rspy/acroname.py | 378 | CODE | |
| LOW | unit-tests/py/rspy/acroname.py | 207 | CODE | |
| LOW | unit-tests/py/rspy/acroname.py | 346 | CODE | |
| LOW | unit-tests/py/rspy/unifi.py | 191 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 171 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 386 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 475 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 585 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 72 | CODE | |
| LOW | unit-tests/py/rspy/pytest/device_helpers.py | 140 | CODE | |
| LOW | unit-tests/py/rspy/pytest/logging_setup.py | 65 | CODE | |
| LOW | unit-tests/post-processing/test-filters.py | 14 | CODE | |
| LOW | …ive/options/pytest-rgb-options-metadata-consistency.py | 54 | CODE | |
| LOW | unit-tests/live/rec-play/pytest-got-playback-frames.py | 116 | CODE | |
| LOW | unit-tests/live/hw-reset/pytest-advanced-mode-toggle.py | 49 | CODE | |
| LOW | …sts/live/hw-reset/pytest-notifications-callback-gil.py | 87 | CODE | |
| LOW | unit-tests/live/hw-reset/pytest-stress.py | 56 | CODE | |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/examples/box_dimensioner_multicam/helper_functions.py | 0 | _ _ _ _____ _ _ | | | | ___ | | _ __ ___ _ __ | ___|_ _ _ __ ___ | |_ (_) ___ _ __ ___ | |_| | / _ \| || '_ \ / _ \| '__ | STRING |
| HIGH | …xamples/box_dimensioner_multicam/calibration_kabsch.py | 0 | _ _ _ _____ _ _ | | | | ___ | | _ __ ___ _ __ | ___|_ _ _ __ ___ | |_ (_) ___ _ __ ___ | |_| | / _ \| || '_ \ / _ \| '__ | STRING |
| HIGH | …s/box_dimensioner_multicam/realsense_device_manager.py | 0 | _ _ _ _____ _ _ | | | | ___ | | _ __ ___ _ __ | ___|_ _ _ __ ___ | |_ (_) ___ _ __ ___ | |_| | / _ \| || '_ \ / _ \| '__ | STRING |
| HIGH | unit-tests/py/rspy/ykush.py | 0 | :return: a list of all possible ports, even if currently unoccupied or disabled | STRING |
| HIGH | unit-tests/py/rspy/device_hub.py | 0 | :return: a list of all possible ports, even if currently unoccupied or disabled | STRING |
| HIGH | unit-tests/py/rspy/acroname.py | 0 | :return: a list of all possible ports, even if currently unoccupied or disabled | STRING |
| HIGH | unit-tests/py/rspy/ykush.py | 0 | set enable state to provided ports :param ports: list of port numbers; if not provided, enable all ports :param disable_ | STRING |
| HIGH | unit-tests/py/rspy/device_hub.py | 0 | set enable state to provided ports :param ports: list of port numbers; if not provided, enable all ports :param disable_ | STRING |
| HIGH | unit-tests/py/rspy/acroname.py | 0 | set enable state to provided ports :param ports: list of port numbers; if not provided, enable all ports :param disable_ | STRING |
| HIGH | unit-tests/py/rspy/ykush.py | 0 | :param ports: list of port numbers; if not provided, disable all ports :param sleep_on_change: number of seconds to slee | STRING |
| HIGH | unit-tests/py/rspy/device_hub.py | 0 | :param ports: list of port numbers; if not provided, disable all ports :param sleep_on_change: number of seconds to slee | STRING |
| HIGH | unit-tests/py/rspy/acroname.py | 0 | :param ports: list of port numbers; if not provided, disable all ports :param sleep_on_change: number of seconds to slee | STRING |
| HIGH | unit-tests/live/frames/pytest-t2ff-pipeline.py | 0 | return (dev, ctx), waiting once for device to reach idle state. | STRING |
| HIGH | unit-tests/live/frames/pytest-fps-performance.py | 0 | return (dev, ctx), waiting once for device to reach idle state. | STRING |
| HIGH | unit-tests/live/frames/pytest-t2ff-sensor.py | 0 | return (dev, ctx), waiting once for device to reach idle state. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | wrappers/python/examples/python-tutorial-1-depth.py | 12 | # Create a context object. This object owns the handles to all connected realsense devices | COMMENT |
| MEDIUM | wrappers/python/examples/align-depth2color.py | 15 | # Create a pipeline | COMMENT |
| MEDIUM | wrappers/python/examples/align-depth2color.py | 18 | # Create a config and configure the pipeline to stream | COMMENT |
| MEDIUM | wrappers/python/examples/align-depth2color.py | 53 | # Create an align object | COMMENT |
| MEDIUM | wrappers/python/examples/pybackend_example_1_general.py | 51 | xu = rs.extension_unit(0, 3, 2, rs.guid("C9606CCB-594C-4D25-af47-ccc496435995")) # Define the Depth XU | CODE |
| MEDIUM | wrappers/python/examples/pyglet_pointcloud_viewer.py | 151 | # Create a VertexList to hold pointcloud data | COMMENT |
| MEDIUM | wrappers/python/examples/frame_queue_example.py | 27 | # Create a pipeline | COMMENT |
| MEDIUM | wrappers/python/examples/frame_queue_example.py | 30 | # Create a config and configure the pipeline to stream | COMMENT |
| MEDIUM | wrappers/python/examples/read_bag_example.py | 38 | # Create a config object | COMMENT |
| MEDIUM | …ples/box_dimensioner_multicam/calculate_rmsd_kabsch.py | 555 | # Create the centroid of P and Q which is the geometric center of a | STRING |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 1199 | # Create a single colorizer instance for depth (reuse for performance) | COMMENT |
| MEDIUM | wrappers/rest-api/tests/pyrealsense_mock.py | 557 | # Create a colorized version of the depth frame | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 45 | # Create a fake depth frame (grayscale) | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 62 | # Create a fake color frame | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 447 | # Create a separate test client that doesn't use mocked dependencies | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 460 | # Create a real RealSenseManager (not mocked) | COMMENT |
| MEDIUM | wrappers/rest-api/tests/setup_fake_devices.py | 12 | # Create a mock context | COMMENT |
| MEDIUM | unit-tests/unit-test-config.py | 117 | # This file is automatically generated!! | COMMENT |
| MEDIUM | unit-tests/live/options/pytest-uvc-power-stress-test.py | 52 | # Create a DDS-disabled context to test UVC locking specifically | COMMENT |
| MEDIUM | third-party/realdds/scripts/fps.py | 69 | # Create the device and initialize | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | wrappers/csharp/tutorial/processing/Window.xaml.cs | 97 | // For demonstration purposes it will: | COMMENT |
| LOW | common/metadata-helper.cpp | 99 | // Don't forget to release in the end: | COMMENT |
| LOW | common/metadata-helper.cpp | 255 | // Don't forget to release in the end: | COMMENT |
| LOW | common/metadata-helper.cpp | 330 | // Don't forget to release in the end: | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1029 | // Turns the current plot's plotting area into a drag and drop target. Don't forget to call EndDragDropTarget! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1031 | // Turns the current plot's X-axis into a drag and drop target. Don't forget to call EndDragDropTarget! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1033 | // Turns the current plot's legend into a drag and drop target. Don't forget to call EndDragDropTarget! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1041 | // Turns the current plot's plotting area into a drag and drop source. You must hold Ctrl. Don't forget to call EndDragD | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1043 | // Turns the current plot's X-axis into a drag and drop source. You must hold Ctrl. Don't forget to call EndDragDropSour | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1045 | // Turns an item in the current plot's legend into drag and drop source. Don't forget to call EndDragDropSource! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1099 | // Temporarily modify a style color. Don't forget to call PopStyleColor! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1105 | // Temporarily modify a style variable of float type. Don't forget to call PopStyleVar! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1107 | // Temporarily modify a style variable of int type. Don't forget to call PopStyleVar! | COMMENT |
| LOW⚡ | third-party/implot/implot.h | 1109 | // Temporarily modify a style variable of ImVec2 type. Don't forget to call PopStyleVar! | COMMENT |
| LOW | third-party/implot/implot.h | 1165 | // Temporarily switch to one of the built-in (i.e. ImPlotColormap_XXX) or user-added colormaps (i.e. a return value of A | COMMENT |
| LOW | third-party/implot/implot.h | 1167 | // Push a colormap by string name. Use built-in names such as "Default", "Deep", "Jet", etc. or a string you provided to | COMMENT |
| MEDIUM | third-party/imgui/imgui_widgets.cpp | 6592 | // Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 791 | - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previ | CODE |
| MEDIUM | …bag2/rcutils/include/rcutils/testing/fault_injection.h | 145 | * Here's a simple example: | COMMENT |
| MEDIUM | …bag2/rcutils/include/rcutils/testing/fault_injection.h | 180 | * Here's a simple example: | COMMENT |
| LOW | third-party/glfw/deps/nuklear.h | 9355 | * and don't forget to specify the new element size in your drawing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ples/box_dimensioner_multicam/calculate_rmsd_kabsch.py | 350 | # The most robust way to do this is probably | COMMENT |
| MEDIUM | tools/realsense-viewer/openvino-face-detection.cpp | 256 | // Enlarge the bounding box around the detected face for more robust operation of face analytics | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 4 | # CI timeout set to 10 minutes to accommodate comprehensive testing of all | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 753 | # Calculate comprehensive statistics | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 969 | # Calculate comprehensive statistics | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1285 | # Generate all combinations (removed restrictions for comprehensive testing) | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1300 | # 3. Mixed configurations for comprehensive testing | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 936 | """Print a comprehensive summary of configuration test results with detailed statistics""" | STRING |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1455 | """Print comprehensive summary of multi-stream test results""" | STRING |
| MEDIUM | unit-tests/live/camera-sync/pytest-intra-camera-sync.py | 241 | # Calculate 95th percentile gap (more robust than max which can be affected by outliers) | COMMENT |
| MEDIUM | unit-tests/live/camera-sync/pytest-intra-camera-sync.py | 372 | # Use 95th percentile instead of max to be robust against occasional outliers | COMMENT |
| MEDIUM | common/ux-window.cpp | 125 | // Absolutely arbitrary list of manufacturers that are likely to benefit from GLSL optimisation | COMMENT |
| MEDIUM | common/reflectivity/reflectivity.cpp | 82 | // Normalized IR instead of IR is used to be robust to high ambient, RSS is assumed between echo to noise | COMMENT |
| LOW | scripts/lrs_options-to-html.py | 9 | # if we see an option more than once at add_row, just set its value to be 'Environment dependant' | COMMENT |
| MEDIUM | third-party/imgui/imgui.cpp | 5792 | // FIXME: Essentially we want to restrict manual resizing to WindowMinSize+Decoration, and allow api resizing to be | COMMENT |
| MEDIUM | third-party/realsense-file/rosbag/roslz4/src/xxhash.c | 276 | if ((((size_t)input) & 3)) // Input is aligned, let's leverage the speed advantage | CODE |
| MEDIUM | third-party/glfw/deps/nuklear.h | 53 | /// - Absolutely no platform dependent code | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrappers/python/examples/export_ply_example.py | 38 | # Set options to the desired values | COMMENT |
| LOW | wrappers/python/examples/read_bag_example.py | 29 | # Check if the given file have bag extension | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 579 | # Check if this is a post-processing filter option (starts with "PP_") | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1108 | # Check if this stream type is active on this sensor | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1647 | # Check if we should stop | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1744 | # Check if already streaming - with recovery mechanism | COMMENT |
| LOW | unit-tests/py/rspy/timer.py | 30 | # Check if timer time expired | COMMENT |
| LOW | unit-tests/py/rspy/devices.py | 354 | # Check if connection type changed (e.g., USB -> DDS) | COMMENT |
| LOW | unit-tests/rsutils/number/stabilized/test-stabilized.py | 12 | # Verify if history is filled with a stable value at the required percentage, the user | COMMENT |
| LOW | unit-tests/rsutils/number/stabilized/test-stabilized.py | 114 | # Verify if history is not the logic works as expected and the percentage is calculated | COMMENT |
| LOW | unit-tests/rsutils/number/stabilized/test-stabilized.py | 142 | # Verify if history is full with a specific value, the stabilized value is always the same | COMMENT |
| LOW | unit-tests/rsutils/number/stabilized/test-stabilized.py | 164 | # Verify if history is filled with less stable percantage than required the last stable | COMMENT |
| LOW | unit-tests/rsutils/number/stabilized/test-stabilized.py | 187 | # Verify if history is filled with a stable value and then filled with required percentage | COMMENT |
| LOW | unit-tests/live/d400/pytest-emitter-on-off.py | 250 | # Check if emitter_enabled option is supported | COMMENT |
| LOW | unit-tests/live/d400/pytest-emitter-on-off.py | 671 | # Check if we have sufficient laser power metadata | COMMENT |
| LOW | unit-tests/live/fw/pytest-fw-errors.py | 54 | # Check if this is a known error that should be ignored | COMMENT |
| LOW | unit-tests/live/frames/fps_helper.py | 85 | # Check if this profile is expected | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1218 | # Check if we have sufficient measurements | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1611 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1651 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1688 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/camera-sync/pytest-intra-camera-sync.py | 286 | # Set device to MASTER sync mode (inter_cam_sync_mode = 1) | COMMENT |
| LOW | scripts/patch-utils-hwe.sh | 142 | #Check if the module is loaded, and if does - are there dependent kernel modules. | COMMENT |
| LOW | scripts/patch-utils.sh | 93 | #Check if the module is loaded, and if does - are there dependent kernel modules. | COMMENT |
| LOW | scripts/rs-enum.sh | 295 | # Check if this is a valid tegra video device | COMMENT |
| LOW | scripts/lrs_options-to-html.py | 108 | if last_option: # Check if last_option is set | CODE |
| LOW | .github/workflows/static_analysis.yaml | 125 | # Check if the line already exists to avoid duplicates | COMMENT |
| LOW | .github/workflows/static_analysis.yaml | 181 | # Check if the line already exists to avoid duplicates | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrappers/unity/readme.md | 24 | ### Step 1 - Build Dependencies And Open The Unity Project | COMMENT |
| LOW | wrappers/unity/readme.md | 46 | ### Step 2 - Open a Unity Scene | COMMENT |
| LOW | wrappers/rest-api/tools/react-viewer/build-all.sh | 69 | # Step 1: Build FastAPI executable | COMMENT |
| LOW | wrappers/rest-api/tools/react-viewer/build-all.sh | 111 | # Step 2: Build React UI | COMMENT |
| LOW | wrappers/rest-api/tools/react-viewer/build-all.sh | 127 | # Step 3: Build Tauri bundles | COMMENT |
| LOW | …pers/rest-api/tools/react-viewer/tests/INSTALLATION.md | 7 | ## Step 1: Install Dependencies | COMMENT |
| LOW | …pers/rest-api/tools/react-viewer/tests/INSTALLATION.md | 21 | ## Step 2: Install Playwright Browsers | COMMENT |
| LOW | …pers/rest-api/tools/react-viewer/tests/INSTALLATION.md | 29 | ## Step 3: Verify Installation | COMMENT |
| LOW | …pers/rest-api/tools/react-viewer/tests/INSTALLATION.md | 41 | ## Step 4: Run with Coverage | COMMENT |
| LOW⚡ | common/stream-model.cpp | 332 | // Step 1: get rid of negative width / height | COMMENT |
| LOW⚡ | common/stream-model.cpp | 341 | // Step 2: send it to firmware | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 3003 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 3020 | // Step 1: Let the clipper infer height from first range | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 15952 | // Step 0: stack query | COMMENT |
| LOW | third-party/glfw/src/x11_window.c | 379 | // NOTE: This function destroys the provided string | COMMENT |
| LOW | third-party/glfw/src/glx_context.c | 426 | // NOTE: This function must not call any X11 functions, as it is called | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | third-party/imgui/imgui_draw.cpp | 2733 | const ImWchar* SrcRanges; // Ranges as requested by user (user is allowed to request too much, e.g. 0x | CODE |
| HIGH | src/ds/d500/d500-safety.cpp | 460 | uint32_t calib_version = 0; // ignoring this field, as requested by sw architect | CODE |
| HIGH | src/ds/d500/d500-safety.cpp | 520 | uint32_t calib_version = 0; // ignoring this field, as requested by sw architect | CODE |
| HIGH | src/ds/d500/d500-safety.cpp | 577 | uint32_t calib_version = 0; // ignoring this field, as requested by sw architect | CODE |
| HIGH | src/ds/d500/d500-debug-protocol-calibration-engine.cpp | 168 | uint32_t calib_version = 0; // ignoring this field, as requested by sw architect | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/examples/box_dimensioner_multicam/helper_functions.py | 15 | | _ || __/| || |_) || __/| | | _| | |_| || | | || (__ | |_ | || (_) || | | |\__ \ | STRING |
| HIGH | …xamples/box_dimensioner_multicam/calibration_kabsch.py | 17 | | _ || __/| || |_) || __/| | | _| | |_| || | | || (__ | |_ | || (_) || | | |\__ \ | STRING |
| HIGH | …s/box_dimensioner_multicam/realsense_device_manager.py | 15 | | _ || __/| || |_) || __/| | | _| | |_| || | | || (__ | |_ | || (_) || | | |\__ \ | STRING |
| HIGH | unit-tests/py/rspy/pytest/log_live_format.py | 24 | `publish_frame()` returns null, `allocate_composite_frame()` returns null, | STRING |
| HIGH | unit-tests/dds/test-option-value.py | 85 | RuntimeError, 'cannot deduce value type: ["a",null,"desc",["optional"]]' ) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrappers/rest-api/tools/react-viewer/build-all.sh | 69 | # Step 1: Build FastAPI executable | COMMENT |
| LOW | wrappers/rest-api/tools/react-viewer/build-all.sh | 111 | # Step 2: Build React UI | COMMENT |
| LOW | wrappers/rest-api/tools/react-viewer/build-all.sh | 127 | # Step 3: Build Tauri bundles | COMMENT |
| LOW | unit-tests/py/rspy/test.py | 556 | :param value: The value this variable stores | STRING |
| LOW⚡ | common/stream-model.cpp | 332 | // Step 1: get rid of negative width / height | COMMENT |
| LOW⚡ | common/stream-model.cpp | 341 | // Step 2: send it to firmware | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 3003 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 3020 | // Step 1: Let the clipper infer height from first range | COMMENT |
| LOW | third-party/imgui/imgui.cpp | 15952 | // Step 0: stack query | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | wrappers/python/examples/export_ply_example.py | 39 | # In this example we'll generate a textual PLY with normals (mesh is already created by default) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unit-tests/py/rspy/unifi.py | 291 | # Example usage: | COMMENT |
| LOW | scripts/Tegra/sync.sh | 39 | # Usage: | COMMENT |
| LOW | …rd-party/rsutils/include/rsutils/time/periodic-timer.h | 14 | // Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/stream.cpp | 117 | // TODO: implement or remove inheritance from recordable<T> | COMMENT |
| LOW | src/ds/ds-timestamp.h | 107 | static const int sensors = 4; // TODO: implement frame-counter for each GPIO or | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | unit-tests/py/rspy/device_hub.py | 127 | CODE | |
| LOW | unit-tests/live/calib/calibrations_common.py | 128 | CODE |