A powerful cross-platform raw photo processing program
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 185 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 6 finding(s).
Which changes need focused human review? 188 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/RTProfileBuilderSample.cs | 1 | #region Usings | COMMENT |
| LOW | tools/RTProfileBuilderSample.cs | 21 | // you'll have to adjust on your own. This is a sample, and therefore not supported by the RT team (just by oduis) | COMMENT |
| LOW | tools/RTProfileBuilderSample.cs | 41 | // And you're done! The EXE is only called on opening the image editor and there is no PP3 already | COMMENT |
| LOW | tools/generateTranslationDiffs.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | rtgui/histogrampanel.h | 21 | #include <vector> | COMMENT |
| LOW | rtgui/filecatalog.h | 21 | #include <set> | COMMENT |
| LOW | rtgui/thumbbrowserentrybase.h | 21 | #include <atomic> | COMMENT |
| LOW | rtgui/filebrowserentry.h | 21 | #include <atomic> | COMMENT |
| LOW | rtgui/imagearea.h | 21 | #include <gtkmm.h> | COMMENT |
| LOW | rtgui/options.h | 21 | #include <set> | COMMENT |
| LOW | rtgui/options.h | 41 | #define THEMEREGEXSTR "^(.+)\\.css$" | COMMENT |
| LOW | rtgui/threadutils.h | 21 | // Uncomment this if you want to bypass the CMakeList options and force the values, but do not commit! | COMMENT |
| LOW | rtgui/threadutils.h | 281 | } | COMMENT |
| LOW | rtgui/toolpanelcoord.h | 21 | #include <unordered_set> | COMMENT |
| LOW | rtgui/toolpanelcoord.h | 41 | #include "tools/dirpyrdenoise.h" | COMMENT |
| LOW | rtgui/toolpanelcoord.h | 61 | #include "tools/locallab.h" | COMMENT |
| LOW | rtgui/toolpanelcoord.h | 81 | #include "tools/sharpenmicro.h" | COMMENT |
| LOW | rtgui/filepanel.h | 21 | #include <gtkmm.h> | COMMENT |
| LOW | rtgui/editorpanel.h | 21 | COMMENT | |
| LOW | rtgui/filebrowser.h | 21 | #include "browserfilter.h" | COMMENT |
| LOW | rtgui/cropwindow.h | 21 | #include <list> | COMMENT |
| LOW | rtgui/tools/cropguide.h | 21 | COMMENT | |
| LOW | rtgui/widgets/curves/mycurve.h | 21 | #include <vector> | COMMENT |
| LOW | rtengine/procparams.h | 21 | #include <array> | COMMENT |
| LOW | rtengine/helperavx.h | 1 | //////////////////////////////////////////////////////////////// | COMMENT |
| LOW | rtengine/sleefsseavx.h | 1 | //////////////////////////////////////////////////////////////// | COMMENT |
| LOW | rtengine/sleefsseavx.h | 21 | #include "helperavx.h" | COMMENT |
| LOW | rtengine/sleef.h | 1 | //////////////////////////////////////////////////////////////// | COMMENT |
| LOW | rtengine/rtengine.h | 21 | COMMENT | |
| LOW | rtengine/iimage.h | 21 | #include <utility> | COMMENT |
| LOW | rtengine/camconst.json | 41 | COMMENT | |
| LOW | rtengine/camconst.json | 61 | // recent Nikon). For some rare cases where dcraw detects wrong black level we need to correct it with | COMMENT |
| LOW | rtengine/camconst.json | 81 | // Almost same as MaskedAreas DNG tag, used for black level measuring. Here up to two areas can be defined | COMMENT |
| LOW | rtengine/color.h | 1981 | // in case of ! | COMMENT |
| LOW | rtengine/ashift_lsd.c | 141 | #include <stdio.h> | COMMENT |
| LOW | rtengine/ashift_lsd.c | 2321 | /*================================================================================== | COMMENT |
| LOW | rtengine/procevents.h | 481 | EvPixelshiftShowMotion = 451, | COMMENT |
| LOW | rtengine/bilateral2.h | 21 | #include <algorithm> | COMMENT |
| LOW | rtengine/simde_helper.h | 21 | #include <simde/simde-common.h> | COMMENT |
| LOW | rtengine/opthelper.h | 1 | //////////////////////////////////////////////////////////////// | COMMENT |
| LOW | rtengine/opthelper.h | 21 | #pragma once | COMMENT |
| LOW | rtengine/ashift_dt.c | 41 | COMMENT | |
| LOW | rtengine/ashift_dt.c | 61 | #define LSD_LOG_EPS 0.0 // LSD: detection threshold: -log10(NFA) > log_eps | COMMENT |
| LOW | rtengine/ashift_dt.c | 81 | #define NMS_GAMMA 2.0 // expansion coefficient for Nelder-Mead simplex | COMMENT |
| LOW | rtengine/StopWatch.h | 21 | #pragma once | COMMENT |
| LOW | rtengine/LUT.h | 61 | #include <algorithm> | COMMENT |
| LOW | rtengine/profiling.h | 21 | COMMENT | |
| LOW | rtengine/profiling.h | 41 | #define RT_PROFILE_FUNC(TAG) ZoneNamed(RT_DEFAULT_ZONE_NAME, RT_IS_ACTIVE_ZONE(TAG)) | COMMENT |
| LOW | rtengine/curves.h | 21 | #include <map> | COMMENT |
| LOW | rtengine/dcraw.c | 21 | COMMENT | |
| LOW | rtengine/dcraw.c | 41 | #include <string.h> | COMMENT |
| LOW | rtengine/dcraw.c | 61 | typedef __int64 INT64; | COMMENT |
| LOW | rtengine/dcraw.c | 81 | #endif /* and Adobe Lossy DNGs */ | COMMENT |
| LOW | rtengine/dcraw.c | 161 | #define CLASS | COMMENT |
| LOW | rtengine/helpersse2.h | 1 | //////////////////////////////////////////////////////////////// | COMMENT |
| LOW | rtengine/helpersse2.h | 41 | // | COMMENT |
| LOW | rtengine/leanwindows.h | 21 | COMMENT | |
| LOW | rtengine/rawimagesource.h | 21 | #include <array> | COMMENT |
| LOW | external/cJSON/include/cjson/cJSON.h | 101 | COMMENT | |
| LOW | external/cJSON/src/cJSON.c | 21 | */ | COMMENT |
| 90 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | rtengine/ashift_dt.c | 716 | // Step 1: flip x and y coordinates (see above) | COMMENT |
| LOW⚡ | rtengine/ashift_dt.c | 723 | // Step 2: rotation of image around its center | COMMENT |
| LOW | rtengine/ashift_dt.c | 737 | // Step 3: apply shearing | COMMENT |
| LOW | rtengine/ashift_dt.c | 751 | // Step 4: apply vertical lens shift effect | COMMENT |
| LOW | rtengine/ashift_dt.c | 766 | // Step 5: horizontal compression | COMMENT |
| LOW | rtengine/ashift_dt.c | 779 | // Step 6: flip x and y back again | COMMENT |
| LOW | rtengine/ashift_dt.c | 793 | // Step 7: now we can apply horizontal lens shift with the same matrix format as above | COMMENT |
| LOW | rtengine/ashift_dt.c | 808 | // Step 8: vertical compression | COMMENT |
| LOW | rtengine/ashift_dt.c | 821 | // Step 9: apply aspect ratio scaling | COMMENT |
| LOW | rtengine/ashift_dt.c | 868 | // Step 10: find x/y offsets and apply according correction so that | COMMENT |
| LOW | rtengine/LUT.h | 341 | // NOTE: This function requires LUTs which clips only at lower bound | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | external/libraw/src/decoders/crx.cpp | 1718 | // Essentially R = round(median + P0 + 1.474*P3) | COMMENT |
| MEDIUM⚡ | external/libraw/src/decoders/crx.cpp | 1721 | // Essentially G1 = round(median + P0 + P2 - 0.164*P1 - 0.571*P3) | COMMENT |
| MEDIUM⚡ | external/libraw/src/decoders/crx.cpp | 1724 | // Essentially G2 = round(median + P0 - P2 - 0.164*P1 - 0.571*P3) | COMMENT |
| MEDIUM⚡ | external/libraw/src/decoders/crx.cpp | 1727 | // Essentially B = round(median + P0 + 1.881*P1) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | rtengine/ashift_dt.c | 716 | // Step 1: flip x and y coordinates (see above) | COMMENT |
| LOW⚡ | rtengine/ashift_dt.c | 723 | // Step 2: rotation of image around its center | COMMENT |
| LOW | rtengine/ashift_dt.c | 737 | // Step 3: apply shearing | COMMENT |
| LOW | rtengine/ashift_dt.c | 751 | // Step 4: apply vertical lens shift effect | COMMENT |
| LOW | rtengine/ashift_dt.c | 766 | // Step 5: horizontal compression | COMMENT |
| LOW | rtengine/ashift_dt.c | 779 | // Step 6: flip x and y back again | COMMENT |
| LOW | rtengine/ashift_dt.c | 793 | // Step 7: now we can apply horizontal lens shift with the same matrix format as above | COMMENT |
| LOW | rtengine/ashift_dt.c | 808 | // Step 8: vertical compression | COMMENT |
| LOW | rtengine/ashift_dt.c | 821 | // Step 9: apply aspect ratio scaling | COMMENT |
| LOW | rtengine/ashift_dt.c | 868 | // Step 10: find x/y offsets and apply according correction so that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generateTranslationDiffs.py | 299 | def generate_english_locale_uk( | CODE |
| LOW | tools/generateTranslationDiffs.py | 323 | def get_english_uk_translations(default_file_lines: FileLines): | CODE |
| LOW | tools/generateTranslationDiffs.py | 352 | def get_english_uk_untranslated(us_lines: List[str]): | CODE |
| LOW | tools/generateTranslationDiffs.py | 397 | def get_translated_untranslated_lines( | CODE |
| LOW | tools/generateTranslationDiffs.py | 493 | def sort_changed_unchanged_lines(entries: List[TranslationEntry]): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/update_camconst.py | 66 | except KeyError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generateTranslationDiffs.py | 446 | CODE | |
| LOW | tools/generateTranslationDiffs.py | 529 | CODE | |
| LOW | tools/update_camconst.py | 40 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/osx/macosx_bundle.sh | 515 | # Create the fat main RawTherapee binary and move it into the new bundle | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/update_camconst.py | 3 | CODE | |
| LOW | tools/findorphans.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | external/libraw/src/decoders/pana8.cpp | 167 | { // TODO: implement SSE load for SSE-enabled code | CODE |