AI Slop Code Risk Monitor

introlab/rtabmap

SlopCodeMonitor badge for introlab/rtabmap Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

RTAB-Map library and standalone application

3.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for introlab/rtabmap, a C++ project with 4,071 GitHub stars. SynthScan examined 408,643 lines of code across 1090 source files, recording 1152 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 3.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

3.0
Adjusted Signal
3.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.1K
Stars
C++
Language
408.6K
Lines of Code
1.1K
Files
1.2K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 13.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1128 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 4 finding(s).

Agent Over-Engineering Ratio 0.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 20 finding(s).

PR Review Velocity Impact 14.1/100 · LOW

Which changes need focused human review? 1152 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 3MEDIUM 36LOW 1113

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1152 distinct pattern matches across 13 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.

Over-Commented Block1084 hits · 1054 pts
SeverityFileLineSnippetContext
LOWdocs-report.sh1#!/usr/bin/env bashCOMMENT
LOWtools/Reprocess/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/DetectMoreLoopClosures/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/StereoEval/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/StereoEval/main.cpp161 UASSERT(disp.cols == mask.cols);COMMENT
LOWtools/VocabularyComparison/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/EurocDataset/main.cpp21DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGESCOMMENT
LOWtools/ConsoleApp/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/DataRecorder/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/Matcher/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/Matcher/main.cpp41#include <rtabmap/utilite/UDirectory.h>COMMENT
LOWtools/CameraRGBD/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/CameraRGBD/main.cpp41#include <opencv2/highgui/highgui.hpp>COMMENT
LOWtools/Info/main.cpp41COMMENT
LOWtools/KittiDataset/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/Report/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/ReduceGraph/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/CidSimsDataset/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/Export/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/Export/main.cpp41#include <rtabmap/core/global_map/OctoMap.h>COMMENT
LOWtools/OdometryViewer/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/RgbdDataset/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/EpipolarGeometry/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/EpipolarGeometry/main.cpp41#include <opencv2/geometry.hpp>COMMENT
LOWtools/LidarViewer/main.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWdocker/jfr2018/run_kitti_datasets.sh141# 4-12: --FAST/Threshold 12 --OdomORBSLAM2/ThDepth 40COMMENT
LOWapp/ios/RTABMapApp/RTABMapApp-Bridging-Header.h1//COMMENT
LOWapp/ios/RTABMapApp/NativeWrapper.hpp1//COMMENT
LOWapp/android/jni/RTABMapApp.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/RTABMapApp.cpp41#ifdef RTABMAP_ARENGINECOMMENT
LOWapp/android/jni/RTABMapApp.cpp61#include <rtabmap/core/Compression.h>COMMENT
LOWapp/android/jni/point_cloud_drawable.cpp21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/scene.cpp21#include <rtabmap/utilite/ULogger.h>COMMENT
LOWapp/android/jni/CameraAREngine.h21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/CameraARCore.h21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/graph_drawable.h21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/point_cloud_drawable.h21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/CameraTango.h21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/CameraMobile.h21(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWapp/android/jni/background_renderer.h21#include <GLES2/gl2.h>COMMENT
LOWapp/android/jni/util.h241 int color_camera_n = NormalizedColorCameraRotation(color_camera_rotation);COMMENT
LOWapp/android/jni/RTABMapApp.h41#include "ProgressionStatus.h"COMMENT
LOWapp/android/jni/RTABMapApp.h101 // Set render camera's viewing angle, first person, third person or top down.COMMENT
LOWapp/android/jni/scene.h21#include <jni.h>COMMENT
LOWapp/android/jni/scene.h41#include "point_cloud_drawable.h"COMMENT
LOWapp/android/jni/scene.h81 // @param: cur_pose_transformation, latest pose's transformation.COMMENT
LOWapp/android/jni/tango-gl/include/tango-gl/util.h21#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642COMMENT
LOWapp/android/jni/tango-gl/include/tango-gl/util.h41#define LOG_TAG "rtabmap"COMMENT
LOWapp/android/jni/tango-gl/include/tango-gl/obj_loader.h21COMMENT
LOWapp/android/jni/tango-gl/include/tango-gl/obj_loader.h41// vn 1.00 2.00 3.00COMMENT
LOWapp/android/jni/third-party/include/glm/vec4.hpp1///////////////////////////////////////////////////////////////////////////////////COMMENT
LOWapp/android/jni/third-party/include/glm/vec4.hpp21/// THE SOFTWARE.COMMENT
LOWapp/android/jni/third-party/include/glm/integer.hpp1///////////////////////////////////////////////////////////////////////////////////COMMENT
LOWapp/android/jni/third-party/include/glm/integer.hpp21/// THE SOFTWARE.COMMENT
LOW…roid/jni/third-party/include/glm/vector_relational.hpp1///////////////////////////////////////////////////////////////////////////////////COMMENT
LOW…roid/jni/third-party/include/glm/vector_relational.hpp21/// THE SOFTWARE.COMMENT
LOWapp/android/jni/third-party/include/glm/mat2x3.hpp1///////////////////////////////////////////////////////////////////////////////////COMMENT
LOWapp/android/jni/third-party/include/glm/mat2x3.hpp21/// THE SOFTWARE.COMMENT
LOWapp/android/jni/third-party/include/glm/mat2x3.hpp41COMMENT
LOWapp/android/jni/third-party/include/glm/mat4x4.hpp1///////////////////////////////////////////////////////////////////////////////////COMMENT
1024 more matches not shown…
AI Slop Vocabulary18 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMcorelib/test/test_registrationicp.cpp497 // more robust on real-world F2M drift (where libpointmatcher iterationCOMMENT
MEDIUM⚡corelib/test/test_rtabmap_integration.cpp1931 // g2o and gtsam each cover both robust/no-robust at the defaultCOMMENT
MEDIUM⚡corelib/test/test_rtabmap_integration.cpp1933 // switches (Optimizer/Robust=true), so it can't exercise the robustCOMMENT
MEDIUM⚡corelib/test/test_rtabmap_integration.cpp1942 // Golden trajectory captured from the g2o-robust-maxerr3 variant andCOMMENT
MEDIUMcorelib/test/test_rtabmap_integration.cpp1911// The full robust combo (g2o + Robust=true + MaxError=3) is the golden;COMMENT
MEDIUMcorelib/test/test_rtabmap_integration.cpp1963 // optimize() would warn and clear the robust flag, so this variantCOMMENT
MEDIUMcorelib/test/test_rtabmap_integration.cpp1964 // would silently measure the non-robust path instead of failing.COMMENT
MEDIUMcorelib/test/test_rtabmap_integration.cpp1996 // Regenerate golden from the most robust combo. Toggled on for aCOMMENT
MEDIUMcorelib/test/test_rtabmap_integration.cpp1998 // if(v.optType == Optimizer::kTypeG2O && v.robust && v.maxError > 0.0f)COMMENT
MEDIUMcorelib/test/test_rtabmap_integration.cpp2032// Graph repair (RGBD/OptimizeMaxErrorRepairRadius) on the same robust-graph-COMMENT
MEDIUMcorelib/test/test_registrationvis.cpp44 // converge tighter and keep the OF test robust across platformsCOMMENT
MEDIUMcorelib/test/test_optimizer_gtsam.cpp110// Checks BetweenFactorSwitchableLinear, the robust loop closure factor usedCOMMENT
MEDIUMcorelib/test/test_optimizer.cpp880 // Without Vertigo, optimize() warns and silently clears the robustCOMMENT
MEDIUMcorelib/test/test_optimizer.cpp914 // meters for the robust kernel to clearly prefer "disable the LC" overCOMMENT
MEDIUMcorelib/test/test_optimizer.cpp975 // Without robust, the bad loop closure is a hard constraint -- theCOMMENT
MEDIUMcorelib/include/rtabmap/core/Optimizer.h149 bool isRobust() const {return robust_;} ///< If true, use a robust kernel / switchable factors againstCODE
MEDIUMcorelib/src/optimizer/OptimizerGTSAM.cpp1366 // small sigmas). The robust-Huber wrapping is also invariant.COMMENT
MEDIUMcorelib/src/optimizer/OptimizerCeres.cpp689 // No robust kernel on between-camera constraints (matches g2o/GTSAM:COMMENT
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/CMakeLists.txt62#---------------------------COMMENT
MEDIUMapp/src/CMakeLists.txt64#---------------------------COMMENT
MEDIUMcorelib/test/CMakeLists.txt4# ---------------------------------------------------------------------------COMMENT
MEDIUMcorelib/test/CMakeLists.txt17# ---------------------------------------------------------------------------COMMENT
MEDIUMcorelib/src/odometry/OdometryORBSLAM3.cpp246 //#--------------------------------------------------------------------------------------------COMMENT
MEDIUMcorelib/src/odometry/OdometryORBSLAM3.cpp248 //#--------------------------------------------------------------------------------------------COMMENT
MEDIUMcorelib/src/odometry/OdometryORBSLAM3.cpp295 //#--------------------------------------------------------------------------------------------COMMENT
MEDIUMcorelib/src/odometry/OdometryORBSLAM3.cpp297 //#--------------------------------------------------------------------------------------------COMMENT
MEDIUMcorelib/src/odometry/OdometryORBSLAM2.cpp676 //#--------------------------------------------------------------------------------------------COMMENT
MEDIUMcorelib/src/odometry/OdometryORBSLAM2.cpp678 //#--------------------------------------------------------------------------------------------COMMENT
Verbosity Indicators10 hits · 20 pts
SeverityFileLineSnippetContext
LOWguilib/src/PreferencesDialog.cpp8160 // Step 1: RGBCOMMENT
LOWguilib/src/PreferencesDialog.cpp8188 // Step 2: IRCOMMENT
LOWguilib/src/PreferencesDialog.cpp8238 // Step 3: ExtrinsicsCOMMENT
LOWguilib/src/PreferencesDialog.cpp8463 // Step 3: ExtrinsicsCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1670 // Step 1: robot at (3, 0), on top of N3. _pathCurrentIndex catches up to theCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1678 // Step 2: robot at (2, 0). _pathCurrentIndex advances to 2, and the goalCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1686 // Step 3: robot at (1, 0) (on N1). Distance to final goal == 0, well withinCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1734 // Step 1: at (3, 0). process() walks the path forward, sees N2 and N1 areCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1742 // Step 2: at (2, 0). Still tracking the path.COMMENT
LOW⚡corelib/test/test_rtabmap.cpp1746 // Step 3: at (1, 0). Goal reached, path cleared.COMMENT
Structural Annotation Overuse10 hits · 20 pts
SeverityFileLineSnippetContext
LOWguilib/src/PreferencesDialog.cpp8160 // Step 1: RGBCOMMENT
LOWguilib/src/PreferencesDialog.cpp8188 // Step 2: IRCOMMENT
LOWguilib/src/PreferencesDialog.cpp8238 // Step 3: ExtrinsicsCOMMENT
LOWguilib/src/PreferencesDialog.cpp8463 // Step 3: ExtrinsicsCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1670 // Step 1: robot at (3, 0), on top of N3. _pathCurrentIndex catches up to theCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1678 // Step 2: robot at (2, 0). _pathCurrentIndex advances to 2, and the goalCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1686 // Step 3: robot at (1, 0) (on N1). Distance to final goal == 0, well withinCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1734 // Step 1: at (3, 0). process() walks the path forward, sees N2 and N1 areCOMMENT
LOW⚡corelib/test/test_rtabmap.cpp1742 // Step 2: at (2, 0). Still tracking the path.COMMENT
LOW⚡corelib/test/test_rtabmap.cpp1746 // Step 3: at (1, 0). Goal reached, path cleared.COMMENT
Excessive Try-Catch Wrapping9 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMapp/ios/RTABMapApp/ViewController.swift2254 print("Error renaming file \(fileURL) to \(filePath)")CODE
MEDIUMapp/ios/RTABMapApp/ViewController.swift2271 print("Error renaming file \(fileURL) to \(filePath)")CODE
MEDIUMapp/ios/RTABMapApp/ViewController.swift2430 print("Something went wrong while zipping")CODE
MEDIUMapp/ios/RTABMapApp/ViewController.swift2485 print("Error while enumerating files : \(error.localizedDescription)")CODE
MEDIUMapp/ios/RTABMapApp/ViewController.swift2766 print("Error deleting file \(databaseURL)")CODE
LOWcorelib/src/python/rtabmap_superpoint_rpautrat.py32 except Exception as e:CODE
MEDIUMcorelib/src/python/rtabmap_superpoint_rpautrat.py33 print(f"Error loading weights: {e}")CODE
LOWcorelib/src/python/rtabmap_superpoint_rpautrat.py52 except Exception as e:CODE
MEDIUMcorelib/src/python/rtabmap_superpoint_rpautrat.py53 print(f"Error creating tensor: {e}")CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHapp/android/jni/CameraTango.cpp209 // Set auto-recovery for motion tracking as requested by the user.COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcorelib/include/rtabmap/core/clams/frame_projector.h45 //! pixel id and depth value. Here I've added color, too, so that this represents everythingCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…b/src/superpoint_rpautrat/superpoint_to_torchscript.py63except:CODE
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWarchive/2022-IlluminationInvariant/scripts/trace.py2CODE
LOWcorelib/src/python/rtabmap_superglue.py8CODE
LOWcorelib/src/python/rtabmap_netvlad.py12CODE
LOWcorelib/src/python/rtabmap_netvlad.py21CODE
Self-Referential Comments1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMcorelib/src/SimpleIni.h50 -# Define the appropriate symbol for the converter you wish to use andCODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdoxygen/generate_parameters_page.py84CODE
LOWdoxygen/generate_parameters_page.py121CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…b/src/superpoint_rpautrat/superpoint_to_torchscript.py56 # Check if weights are already TorchScriptCOMMENT