RealSense SDK
This report summarizes scanner evidence for realsenseai/librealsense, a C++ project with 9,046 GitHub stars. SynthScan examined 711,759 lines of code across 3127 source files, recording 3456 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 5.6 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2917 finding(s).
Are imports declared and package/API names verified? 117 finding(s).
Are wrappers, guards, and repeated structures necessary? 983 finding(s).
Which changes need focused human review? 3456 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3456 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …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 | |
| 2061 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 | 392 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | unit-tests/conftest.py | 429 | def pytest_runtest_makereport(item, call): | CODE |
| LOW | unit-tests/conftest.py | 491 | def _reset_pytest_timeout_for_retry(item): | CODE |
| 498 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 | 90 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 92 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 123 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 125 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 453 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 455 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 557 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 559 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 611 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/conftest.py | 613 | # ============================================================================ | 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 | 56 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 75 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 234 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 380 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/d400/pytest-depth-ae-convergence.py | 408 | # ----------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | unit-tests/live/frames/pytest-fps-performance.py | 1686 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | unit-tests/live/frames/pytest-fps-performance.py | 1688 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 45 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 47 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1658 | # ============================================================================ | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1660 | # ============================================================================ | 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 | 218 | # ============================================================================= | COMMENT |
| MEDIUM | unit-tests/infra-tests/test_device_helpers.py | 220 | # ============================================================================= | 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 |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ples/box_dimensioner_multicam/calculate_rmsd_kabsch.py | 28 | except NameError: | CODE |
| HIGH | wrappers/rest-api/main.py | 38 | except (OSError, FileNotFoundError): | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 488 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 539 | except Exception: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 1131 | except (ValueError, TypeError): | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 1719 | except Exception: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 205 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 921 | except RuntimeError as e: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 1045 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 1011 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 1449 | except (ValueError, IndexError): | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2073 | except Exception: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2504 | except: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2508 | except: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2640 | except: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2644 | except: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 597 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 1231 | except Exception: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 659 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 677 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 2840 | except: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 651 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/rs_manager.py | 992 | except RuntimeError: | CODE |
| HIGH | wrappers/rest-api/app/services/webrtc_manager.py | 249 | except Exception: | CODE |
| HIGH | wrappers/rest-api/app/services/webrtc_manager.py | 269 | except Exception: | CODE |
| HIGH | wrappers/rest-api/tests/test_api_service.py | 827 | except Exception: | CODE |
| HIGH | wrappers/rest-api/tests/test_api_service.py | 124 | except RuntimeError: | CODE |
| HIGH | unit-tests/conftest.py | 119 | except ImportError: | CODE |
| HIGH | unit-tests/conftest.py | 570 | except Exception: | CODE |
| HIGH | unit-tests/py/rspy/test.py | 60 | except ValueError as e: | CODE |
| HIGH | unit-tests/py/rspy/unifi.py | 215 | except Exception: | CODE |
| HIGH | unit-tests/py/rspy/unifi.py | 284 | except Exception: | CODE |
| HIGH | unit-tests/py/rspy/pytest/log_live_format.py | 83 | except Exception: | CODE |
| HIGH | unit-tests/py/rspy/pytest/log_live_format.py | 95 | except Exception: | CODE |
| HIGH | unit-tests/py/rspy/pytest/logging_setup.py | 83 | except Exception: | CODE |
| HIGH | unit-tests/live/calib/calibrations_common.py | 225 | except Exception: | CODE |
| HIGH | unit-tests/live/calib/calibrations_common.py | 297 | except Exception: | CODE |
| HIGH | …-tests/live/calib/pytest-advanced-tare-calibrations.py | 246 | except Exception: | CODE |
| HIGH | …sts/live/hw-reset/pytest-notifications-callback-gil.py | 144 | except Exception: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-metadata.py | 291 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-metadata.py | 278 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-metadata.py | 263 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-convergence.py | 116 | except Exception: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-convergence.py | 186 | except Exception: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-convergence.py | 377 | except Exception: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-toggle.py | 274 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-toggle.py | 332 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-toggle.py | 340 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-toggle.py | 510 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-toggle.py | 261 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-depth-ae-toggle.py | 246 | except RuntimeError: | CODE |
| HIGH | unit-tests/live/d400/pytest-hdr-long.py | 166 | except Exception: | CODE |
| HIGH | unit-tests/live/fw/pytest-fw-errors.py | 141 | except Exception: | CODE |
| HIGH | unit-tests/live/camera-sync/pytest-intra-camera-sync.py | 108 | except RuntimeError: | CODE |
| HIGH | unit-tests/dds/adapter/pytest-depth.py | 28 | except Exception: | CODE |
| HIGH | unit-tests/infra-tests/test_signals_watchdog.py | 53 | except OSError: | CODE |
| HIGH | …mples/enhanced-depth-range/live_close_range_compare.py | 119 | except KeyboardInterrupt: | CODE |
| HIGH | examples/enhanced-depth-range/range_depth.py | 84 | except KeyboardInterrupt: | CODE |
| 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 | 20 | 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 |
| 180 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 | 118 | CODE | |
| LOW | unit-tests/unit-test-config.py | 17 | CODE | |
| LOW | unit-tests/unit-test-config.py | 17 | 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/pytest/device_helpers.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/tools/pytest-realsense-viewer.py | 4 | CODE | |
| LOW | unit-tests/live/fw-logs/pytest-legacy.py | 12 | CODE | |
| LOW | unit-tests/live/d400/pytest-depth-ae-convergence.py | 42 | CODE | |
| LOW | unit-tests/live/d400/pytest-depth-ae-convergence.py | 43 | CODE | |
| 52 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 | 363 | CODE | |
| LOW | unit-tests/run-unit-tests.py | 452 | CODE | |
| LOW | unit-tests/unit-test-config.py | 171 | CODE | |
| LOW | unit-tests/unit-test-config.py | 204 | CODE | |
| LOW | unit-tests/pytest-fw-update.py | 210 | 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 | 396 | CODE | |
| LOW | unit-tests/py/rspy/acroname.py | 207 | CODE | |
| LOW | unit-tests/py/rspy/acroname.py | 361 | CODE | |
| LOW | unit-tests/py/rspy/unifi.py | 61 | CODE | |
| LOW | unit-tests/py/rspy/unifi.py | 258 | 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 | 78 | CODE | |
| LOW | unit-tests/py/rspy/pytest/device_helpers.py | 141 | CODE | |
| LOW | unit-tests/py/rspy/pytest/collection.py | 35 | CODE | |
| LOW | unit-tests/py/rspy/pytest/logging_setup.py | 133 | CODE | |
| LOW | …t-tests/live/calib/pytest-advanced-occ-calibrations.py | 62 | CODE | |
| LOW | unit-tests/live/options/pytest-presets.py | 62 | CODE | |
| 42 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 | …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 | 375 | # Skip under --not-live: nothing reads harness devices then, and the DDS context it | COMMENT |
| MEDIUM | unit-tests/run-unit-tests.py | 747 | # Legacy harness has no teardown hook, so isolate statelessly each test: | COMMENT |
| MEDIUM | unit-tests/pytest-fw-update.py | 223 | # FW-compat pre-flash gate (was harness-side, in run-unit-tests.py): refuse to flash a | COMMENT |
| MEDIUM | unit-tests/pytest-fw-update.py | 225 | # rspy/fw_fallback.json. A refusal is a FAILURE (not a skip), matching the legacy harness. | COMMENT |
| MEDIUM | unit-tests/pytest-fw-update.py | 286 | # 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/frames/pytest-fps-performance.py | 777 | # Calculate comprehensive statistics | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1002 | # Calculate comprehensive statistics | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1331 | # Generate all combinations (removed restrictions for comprehensive testing) | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1346 | # 3. Mixed configurations for comprehensive testing | COMMENT |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 969 | """Print a comprehensive summary of configuration test results with detailed statistics""" | STRING |
| MEDIUM | unit-tests/live/frames/pytest-fps-performance.py | 1553 | """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 | …500/safety/pytest-preset-active-index-safety-signal.py | 224 | # Bind the pipeline to the harness context so it attaches to the device the test selected, | 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 | 139 | // 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/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 |
|---|---|---|---|---|
| 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/frame.h | 161 | // Logical byte-size of the pixel payload as requested at allocation. Normally equals | COMMENT |
| 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 | 241 | uint32_t calib_version = 0; // ignoring this field, as requested by sw architect | CODE |
| 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 | 100 | // Don't forget to release in the end: | COMMENT |
| LOW | common/metadata-helper.cpp | 264 | // Don't forget to release in the end: | COMMENT |
| LOW | common/metadata-helper.cpp | 339 | // 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 |
|---|---|---|---|---|
| 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 | 55 | # 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 | 1724 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1827 | # Check if device has no color sensor (like D421, D405) | COMMENT |
| LOW | unit-tests/live/frames/pytest-fps-performance.py | 1866 | # 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 | 379 | // Step 1: get rid of negative width / height | COMMENT |
| LOW⚡ | common/stream-model.cpp | 388 | // 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 | 379 | // Step 1: get rid of negative width / height | COMMENT |
| LOW⚡ | common/stream-model.cpp | 388 | // 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 | 358 | # 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 |