AI Slop Code Risk Monitor

RawTherapee/RawTherapee

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

A powerful cross-platform raw photo processing program

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for RawTherapee/RawTherapee, a C++ project with 4,260 GitHub stars. SynthScan examined 185,747 lines of code across 502 source files, recording 188 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.2 (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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-20
Last Push
4.3K
Stars
C++
Language
185.7K
Lines of Code
502
Files
188
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 5.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 5.3/100 · LOW

Which changes need focused human review? 188 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 1MEDIUM 5LOW 182

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 188 distinct pattern matches across 10 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 Block150 hits · 148 pts
SeverityFileLineSnippetContext
LOWtools/RTProfileBuilderSample.cs1#region UsingsCOMMENT
LOWtools/RTProfileBuilderSample.cs21// you'll have to adjust on your own. This is a sample, and therefore not supported by the RT team (just by oduis)COMMENT
LOWtools/RTProfileBuilderSample.cs41// And you're done! The EXE is only called on opening the image editor and there is no PP3 alreadyCOMMENT
LOWtools/generateTranslationDiffs.py1#!/usr/bin/env pythonCOMMENT
LOWrtgui/histogrampanel.h21#include <vector>COMMENT
LOWrtgui/filecatalog.h21#include <set>COMMENT
LOWrtgui/thumbbrowserentrybase.h21#include <atomic>COMMENT
LOWrtgui/filebrowserentry.h21#include <atomic>COMMENT
LOWrtgui/imagearea.h21#include <gtkmm.h>COMMENT
LOWrtgui/options.h21#include <set>COMMENT
LOWrtgui/options.h41#define THEMEREGEXSTR "^(.+)\\.css$"COMMENT
LOWrtgui/threadutils.h21// Uncomment this if you want to bypass the CMakeList options and force the values, but do not commit!COMMENT
LOWrtgui/threadutils.h281}COMMENT
LOWrtgui/toolpanelcoord.h21#include <unordered_set>COMMENT
LOWrtgui/toolpanelcoord.h41#include "tools/dirpyrdenoise.h"COMMENT
LOWrtgui/toolpanelcoord.h61#include "tools/locallab.h"COMMENT
LOWrtgui/toolpanelcoord.h81#include "tools/sharpenmicro.h"COMMENT
LOWrtgui/filepanel.h21#include <gtkmm.h>COMMENT
LOWrtgui/editorpanel.h21COMMENT
LOWrtgui/filebrowser.h21#include "browserfilter.h"COMMENT
LOWrtgui/cropwindow.h21#include <list>COMMENT
LOWrtgui/tools/cropguide.h21COMMENT
LOWrtgui/widgets/curves/mycurve.h21#include <vector>COMMENT
LOWrtengine/procparams.h21#include <array>COMMENT
LOWrtengine/helperavx.h1////////////////////////////////////////////////////////////////COMMENT
LOWrtengine/sleefsseavx.h1////////////////////////////////////////////////////////////////COMMENT
LOWrtengine/sleefsseavx.h21#include "helperavx.h"COMMENT
LOWrtengine/sleef.h1////////////////////////////////////////////////////////////////COMMENT
LOWrtengine/rtengine.h21COMMENT
LOWrtengine/iimage.h21#include <utility>COMMENT
LOWrtengine/camconst.json41COMMENT
LOWrtengine/camconst.json61 // recent Nikon). For some rare cases where dcraw detects wrong black level we need to correct it withCOMMENT
LOWrtengine/camconst.json81 // Almost same as MaskedAreas DNG tag, used for black level measuring. Here up to two areas can be definedCOMMENT
LOWrtengine/color.h1981 // in case of !COMMENT
LOWrtengine/ashift_lsd.c141#include <stdio.h>COMMENT
LOWrtengine/ashift_lsd.c2321/*==================================================================================COMMENT
LOWrtengine/procevents.h481 EvPixelshiftShowMotion = 451,COMMENT
LOWrtengine/bilateral2.h21#include <algorithm>COMMENT
LOWrtengine/simde_helper.h21#include <simde/simde-common.h>COMMENT
LOWrtengine/opthelper.h1////////////////////////////////////////////////////////////////COMMENT
LOWrtengine/opthelper.h21#pragma onceCOMMENT
LOWrtengine/ashift_dt.c41COMMENT
LOWrtengine/ashift_dt.c61#define LSD_LOG_EPS 0.0 // LSD: detection threshold: -log10(NFA) > log_epsCOMMENT
LOWrtengine/ashift_dt.c81#define NMS_GAMMA 2.0 // expansion coefficient for Nelder-Mead simplexCOMMENT
LOWrtengine/StopWatch.h21#pragma onceCOMMENT
LOWrtengine/LUT.h61#include <algorithm>COMMENT
LOWrtengine/profiling.h21COMMENT
LOWrtengine/profiling.h41#define RT_PROFILE_FUNC(TAG) ZoneNamed(RT_DEFAULT_ZONE_NAME, RT_IS_ACTIVE_ZONE(TAG))COMMENT
LOWrtengine/curves.h21#include <map>COMMENT
LOWrtengine/dcraw.c21COMMENT
LOWrtengine/dcraw.c41#include <string.h>COMMENT
LOWrtengine/dcraw.c61typedef __int64 INT64;COMMENT
LOWrtengine/dcraw.c81#endif /* and Adobe Lossy DNGs */COMMENT
LOWrtengine/dcraw.c161#define CLASSCOMMENT
LOWrtengine/helpersse2.h1////////////////////////////////////////////////////////////////COMMENT
LOWrtengine/helpersse2.h41//COMMENT
LOWrtengine/leanwindows.h21COMMENT
LOWrtengine/rawimagesource.h21#include <array>COMMENT
LOWexternal/cJSON/include/cjson/cJSON.h101COMMENT
LOWexternal/cJSON/src/cJSON.c21*/COMMENT
90 more matches not shown…
Structural Annotation Overuse11 hits · 18 pts
SeverityFileLineSnippetContext
LOW⚡rtengine/ashift_dt.c716 // Step 1: flip x and y coordinates (see above)COMMENT
LOW⚡rtengine/ashift_dt.c723 // Step 2: rotation of image around its centerCOMMENT
LOWrtengine/ashift_dt.c737 // Step 3: apply shearingCOMMENT
LOWrtengine/ashift_dt.c751 // Step 4: apply vertical lens shift effectCOMMENT
LOWrtengine/ashift_dt.c766 // Step 5: horizontal compressionCOMMENT
LOWrtengine/ashift_dt.c779 // Step 6: flip x and y back againCOMMENT
LOWrtengine/ashift_dt.c793 // Step 7: now we can apply horizontal lens shift with the same matrix format as aboveCOMMENT
LOWrtengine/ashift_dt.c808 // Step 8: vertical compressionCOMMENT
LOWrtengine/ashift_dt.c821 // Step 9: apply aspect ratio scalingCOMMENT
LOWrtengine/ashift_dt.c868 // Step 10: find x/y offsets and apply according correction so thatCOMMENT
LOWrtengine/LUT.h341 // NOTE: This function requires LUTs which clips only at lower boundCOMMENT
AI Slop Vocabulary4 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡external/libraw/src/decoders/crx.cpp1718 // Essentially R = round(median + P0 + 1.474*P3)COMMENT
MEDIUM⚡external/libraw/src/decoders/crx.cpp1721 // Essentially G1 = round(median + P0 + P2 - 0.164*P1 - 0.571*P3)COMMENT
MEDIUM⚡external/libraw/src/decoders/crx.cpp1724 // Essentially G2 = round(median + P0 - P2 - 0.164*P1 - 0.571*P3)COMMENT
MEDIUM⚡external/libraw/src/decoders/crx.cpp1727 // Essentially B = round(median + P0 + 1.881*P1)COMMENT
Verbosity Indicators10 hits · 16 pts
SeverityFileLineSnippetContext
LOW⚡rtengine/ashift_dt.c716 // Step 1: flip x and y coordinates (see above)COMMENT
LOW⚡rtengine/ashift_dt.c723 // Step 2: rotation of image around its centerCOMMENT
LOWrtengine/ashift_dt.c737 // Step 3: apply shearingCOMMENT
LOWrtengine/ashift_dt.c751 // Step 4: apply vertical lens shift effectCOMMENT
LOWrtengine/ashift_dt.c766 // Step 5: horizontal compressionCOMMENT
LOWrtengine/ashift_dt.c779 // Step 6: flip x and y back againCOMMENT
LOWrtengine/ashift_dt.c793 // Step 7: now we can apply horizontal lens shift with the same matrix format as aboveCOMMENT
LOWrtengine/ashift_dt.c808 // Step 8: vertical compressionCOMMENT
LOWrtengine/ashift_dt.c821 // Step 9: apply aspect ratio scalingCOMMENT
LOWrtengine/ashift_dt.c868 // Step 10: find x/y offsets and apply according correction so thatCOMMENT
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtools/generateTranslationDiffs.py299def generate_english_locale_uk(CODE
LOWtools/generateTranslationDiffs.py323def get_english_uk_translations(default_file_lines: FileLines):CODE
LOWtools/generateTranslationDiffs.py352def get_english_uk_untranslated(us_lines: List[str]):CODE
LOWtools/generateTranslationDiffs.py397def get_translated_untranslated_lines(CODE
LOWtools/generateTranslationDiffs.py493def sort_changed_unchanged_lines(entries: List[TranslationEntry]):CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/update_camconst.py66except KeyError:CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/generateTranslationDiffs.py446CODE
LOWtools/generateTranslationDiffs.py529CODE
LOWtools/update_camconst.py40CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/osx/macosx_bundle.sh515 # Create the fat main RawTherapee binary and move it into the new bundleCOMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/update_camconst.py3CODE
LOWtools/findorphans.py5CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWexternal/libraw/src/decoders/pana8.cpp167 { // TODO: implement SSE load for SSE-enabled codeCODE