RealSense SDK
This report presents the forensic synthetic code analysis of realsenseai/librealsense, a C++ project with 8,979 GitHub stars. SynthScan v2.0 examined 703,239 lines of code across 3075 source files, recording 3296 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 5.1 places this repository in the Low 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).
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 3296 distinct pattern matches across 20 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 | |
| 2030 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 | …-api/tools/react-viewer/src/components/DevicePanel.tsx | 16 | function showMetadataEnablePromptIfNeeded( | 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/api/endpoints/system.py | 15 | def _enable_metadata_elevated(timeout: float = 120.0) -> int: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/firmware.py | 38 | async def update_firmware_from_file( | CODE |
| LOW⚡ | wrappers/rest-api/app/services/rs_manager.py | 608 | def _post_update_hardware_reset(update_dev) -> None: | CODE |
| LOW⚡ | wrappers/rest-api/app/services/rs_manager.py | 619 | def _wait_for_device_reconnect( | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 328 | def update_firmware_from_bytes(self, device_id: str, fw_bytes: bytes) -> Dict[str, Any]: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 463 | def _ensure_fw_update_allowed(self, device_id: str) -> None: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 478 | def _resolve_firmware_update_id(target_dev: rs.device, device_id: str) -> str: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 495 | def _make_fw_progress_callback( | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 518 | def _enter_dfu_and_get_update_dev( | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 707 | def _refresh_until_device_returns( | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1016 | 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 | 1759 | def _build_point_cloud_metadata(self, device_id: str, depth_frame, color_frame=None) -> Optional[Dict]: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2271 | def _validate_profile_compatibility(self, profiles: List[rs.stream_profile]) -> None: | CODE |
| LOW | wrappers/rest-api/tests/pyrealsense_mock.py | 652 | def send_and_receive_raw_data(self, input_data): | CODE |
| LOW⚡ | wrappers/rest-api/tests/test_api_service.py | 648 | def test_enable_metadata_noop_on_non_windows(self): | CODE |
| LOW⚡ | wrappers/rest-api/tests/test_api_service.py | 656 | def test_enable_metadata_windows_ok(self): | CODE |
| LOW⚡ | wrappers/rest-api/tests/test_api_service.py | 664 | def test_enable_metadata_windows_declined(self): | CODE |
| LOW⚡ | wrappers/rest-api/tests/test_api_service.py | 672 | def test_enable_metadata_windows_failure(self): | CODE |
| LOW⚡ | wrappers/rest-api/tests/test_api_service.py | 680 | def test_enable_metadata_windows_timeout(self): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 343 | def test_update_firmware_from_file_happy_path(self, patch_dependencies): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 364 | def test_update_firmware_from_file_rejects_non_bin_extension(self, patch_dependencies): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 375 | def test_update_firmware_from_file_rejects_empty(self, patch_dependencies): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 386 | def test_update_firmware_from_file_rejects_oversize(self, patch_dependencies): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 404 | def test_update_firmware_from_file_propagates_sdk_error(self, patch_dependencies): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 450 | async def test_process_webrtc_answer(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 517 | def test_hwm_command_with_params(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 535 | def test_hwm_command_unknown_device(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 543 | def test_hwm_command_unsupported_device(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 582 | def test_hwm_response_too_short(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 601 | def test_hwm_no_deadlock_on_unknown_device(self, patch_dependencies): | CODE |
| LOW | wrappers/rest-api/tests/test_api_service.py | 631 | async def test_close_webrtc_session(self, setup_mock_managers): | CODE |
| LOW | wrappers/rest-api/tests/test_frame_metadata.py | 41 | def test_returns_only_supported_keys(): | CODE |
| LOW | wrappers/rest-api/tests/test_frame_metadata.py | 51 | def test_cache_is_per_profile_uid(): | CODE |
| LOW | wrappers/rest-api/tests/test_frame_metadata.py | 85 | def test_first_frame_does_not_populate_cache(): | CODE |
| LOW | wrappers/rest-api/tests/test_frame_metadata.py | 122 | def test_register_new_device_is_atomic_on_sensors_raise(): | CODE |
| LOW | wrappers/rest-api/tests/test_frame_metadata.py | 154 | def test_reset_device_success_evicts_state_and_emits(): | CODE |
| LOW | wrappers/rest-api/tests/test_frame_metadata.py | 202 | def test_on_devices_changed_remove_evicts_only_target(): | CODE |
| LOW⚡ | unit-tests/conftest.py | 387 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | unit-tests/conftest.py | 416 | def pytest_runtest_makereport(item, call): | CODE |
| LOW | unit-tests/conftest.py | 542 | def __pytest_repeat_step_number(request): | CODE |
| 444 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 | 2129 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | wrappers/rest-api/app/services/rs_manager.py | 2131 | # ========================================================================= | COMMENT |
| MEDIUM | unit-tests/conftest.py | 82 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 84 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 115 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 117 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 476 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 478 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/conftest.py | 520 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/conftest.py | 522 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/live/calib/calibrations_common.py | 523 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/live/calib/calibrations_common.py | 525 | # --------------------------------------------------------------------------- | 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 | 257 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 50 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 65 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 382 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/live/frames/pytest-fps-performance.py | 1570 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/live/frames/pytest-fps-performance.py | 1572 | # ============================================================================ | 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_fixture_guard.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/infra-tests/test_fixture_guard.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/infra-tests/test_fixture_guard.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/infra-tests/test_fixture_guard.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/infra-tests/test_fixture_guard.py | 165 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/infra-tests/test_fixture_guard.py | 167 | # --------------------------------------------------------------------------- | 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 | 40 | // ── dlopen-based replacement for rs_depth::DepthRangeImprover ────────────── | COMMENT |
| 45 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/hwm.py | 40 | except Exception as e: | 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 | 29 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/firmware.py | 69 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/api/endpoints/firmware.py | 84 | except Exception: | 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 |
| MEDIUM⚡ | wrappers/rest-api/app/services/rs_manager.py | 2126 | print(f"Error calculating depth range: {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 2025 | print(f"Error processing {active_stream}: {type(e).__name__}: {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 2047 | print(f"Error collecting frames: {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 2086 | print(f"Error getting depth at pixel ({x}, {y}): {str(e)}") | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 189 | def _info(key, default=None): | CODE |
| MEDIUM | wrappers/rest-api/app/services/rs_manager.py | 1500 | def _do_stop(): | CODE |
| LOW⚡ | wrappers/rest-api/app/services/rs_manager.py | 602 | except Exception as e: | CODE |
| LOW⚡ | wrappers/rest-api/app/services/rs_manager.py | 616 | except Exception as exc: | CODE |
| LOW⚡ | wrappers/rest-api/app/services/rs_manager.py | 2125 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 238 | except Exception as exc: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 325 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 342 | except Exception as exc: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 391 | except Exception as exc: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 539 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 551 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 585 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 661 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 681 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 683 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 756 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1231 | except Exception: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1233 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1504 | except Exception as e: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1704 | except Exception as exc: | CODE |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1719 | except Exception: | CODE |
| 169 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wrappers/python/build_wheel.py | 30 | CODE | |
| 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 | 16 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 17 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 18 | 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 | 9 | 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/conftest.py | 110 | 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/test.py | 350 | 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/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 | |
| LOW | unit-tests/live/rec-play/pytest-got-playback-frames.py | 7 | CODE | |
| LOW | unit-tests/live/fw-logs/pytest-legacy.py | 12 | CODE | |
| 55 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 | 441 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 572 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 619 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 768 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 875 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1016 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1144 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1190 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1248 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1598 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1655 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1904 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2089 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2300 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2375 | CODE | |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2805 | 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 | 680 | CODE | |
| LOW | wrappers/rest-api/tests/pyrealsense_mock.py | 448 | 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/run-unit-tests.py | 354 | CODE | |
| LOW | unit-tests/run-unit-tests.py | 443 | CODE | |
| LOW | unit-tests/unit-test-config.py | 171 | CODE | |
| LOW | unit-tests/unit-test-config.py | 204 | CODE | |
| LOW | unit-tests/py/rspy/json_compare.py | 11 | 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 | 130 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 304 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 437 | CODE | |
| LOW | unit-tests/py/rspy/test.py | 803 | 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 | 181 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 396 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 485 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 595 | CODE | |
| LOW | unit-tests/py/rspy/devices.py | 78 | CODE | |
| LOW | unit-tests/py/rspy/pytest/device_helpers.py | 140 | CODE | |
| LOW | unit-tests/py/rspy/pytest/collection.py | 35 | CODE | |
| LOW | unit-tests/py/rspy/pytest/logging_setup.py | 82 | CODE | |
| LOW | unit-tests/post-processing/test-filters.py | 14 | CODE | |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 62 | CODE | |
| LOW | unit-tests/live/options/pytest-presets.py | 57 | CODE | |
| 40 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. module-scoped so the settle-sleep fires once per module | STRING |
| HIGH | unit-tests/live/frames/pytest-fps-performance.py | 0 | return (dev, ctx), waiting once for device to reach idle state. module-scoped so the settle-sleep fires once per module | STRING |
| HIGH | unit-tests/live/frames/pytest-t2ff-sensor.py | 0 | return (dev, ctx), waiting once for device to reach idle state. module-scoped so the settle-sleep fires once per module | 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 | 1923 | # Create a single colorizer instance for depth (reuse for performance) | COMMENT |
| MEDIUM | wrappers/rest-api/tests/pyrealsense_mock.py | 569 | # Create a colorized version of the depth frame | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 48 | # Create a fake depth frame (grayscale) | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 65 | # Create a fake color frame | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 697 | # Create a separate test client that doesn't use mocked dependencies | COMMENT |
| MEDIUM | wrappers/rest-api/tests/test_api_service.py | 710 | # 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 | unit-tests/dds/pytest-librs-options.py | 26 | # Create the server | COMMENT |
| MEDIUM | unit-tests/dds/pytest-query-option.py | 29 | # Create the server | COMMENT |
| MEDIUM | unit-tests/dds/pytest-control-reply.py | 28 | # Create the server | COMMENT |
| MEDIUM | unit-tests/dds/pytest-query-filter.py | 28 | # Create the server | COMMENT |
| MEDIUM | third-party/realdds/scripts/fps.py | 69 | # Create the device and initialize | 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/react-viewer/src/components/PointCloudViewer.tsx | 100 | // EMA-smoothed depth range, derived from robust percentiles of the cloud so the | 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/conftest.py | 370 | # Skip under --not-live: nothing reads harness devices then, and the DDS context it | COMMENT |
| MEDIUM | unit-tests/test-fw-update.py | 253 | # harness was tracking. Poll for the device to re-enumerate in normal mode | COMMENT |
| MEDIUM | unit-tests/live/tools/pytest-rs-convert-to-db3.py | 24 | # comparison is robust to how frames are batched into framesets | 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 | 236 | # 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 | 367 | # Use 95th percentile instead of max to be robust against occasional outliers | COMMENT |
| MEDIUM | unit-tests/dds/adapter/pytest-depth.py | 76 | # defaults to executable_name and reuses the harness's discovery | 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| HIGH | .github/skills/pr-create.md | 35 | 🤖 Generated by AI | CODE |
| HIGH | .github/skills/pr-create.md | 41 | **AI signature:** every PR description ends with a `🤖 Generated by AI` footer (separated by a `---` rule, as shown above | CODE |
| HIGH | .github/skills/pr-review.md | 18 | - End every comment with a `🤖 Generated by AI` line. | CODE |
| 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 |
|---|---|---|---|---|
| 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 | 1090 | # Check if this is a post-processing filter option (starts with "PP_") | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 1618 | # Check if this stream type is active on this sensor | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2398 | # Check if we should stop | COMMENT |
| LOW | wrappers/rest-api/app/services/rs_manager.py | 2495 | # 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 | 364 | # Check if connection type changed (e.g., USB -> DDS) | 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 | 1612 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1652 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1689 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/camera-sync/pytest-intra-camera-sync.py | 281 | # 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 | 337 | // Step 1: get rid of negative width / height | COMMENT |
| LOW⚡ | common/stream-model.cpp | 346 | // 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 | …/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/pytest-option-value.py | 77 | with pytest.raises( RuntimeError, match=re.escape( '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 | 530 | :param value: The value this variable stores | STRING |
| LOW⚡ | common/stream-model.cpp | 337 | // Step 1: get rid of negative width / height | COMMENT |
| LOW⚡ | common/stream-model.cpp | 346 | // 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 |
|---|---|---|---|---|
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2964 | Send a hardware monitor (HWM) command and return the raw firmware response. Uses the SDK debug_protocol extensi | STRING |
| 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 | 108 | 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 | 133 | CODE | |
| LOW | unit-tests/live/calib/calibrations_common.py | 230 | CODE |