An open source re-implementation of RollerCoaster Tycoon 2 🎢
This report summarizes scanner evidence for OpenRCT2/OpenRCT2, a C++ project with 16,523 GitHub stars. SynthScan examined 845,229 lines of code across 1652 source files, recording 437 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.5 (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? 429 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 437 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 437 distinct pattern matches across 11 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 | test/tests/PlayTests.cpp | 21 | #include <openrct2/actions/park/ParkSetEntranceFeeAction.h> | COMMENT |
| LOW | test/tests/FormattingTests.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | test/tests/Pathfinding.cpp | 1 | #include "TestData.h" | COMMENT |
| LOW | test/tests/tests_pch.h | 1 | #pragma once | COMMENT |
| LOW | test/tests/S6ImportExportTests.cpp | 21 | #include <openrct2/core/Crypt.h> | COMMENT |
| LOW | test/tests/tests_pch.cpp | 1 | // Empty file for MSVC's PCH | COMMENT |
| LOW | resources/version.h | 1 | #define OPENRCT2_FILE_VERSION 0, 0, 0, 0 | COMMENT |
| LOW | resources/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | scripts/run-clang-format.py | 141 | if args.style: | COMMENT |
| LOW | src/openrct2/ReplayManager.cpp | 21 | #include "config/Config.h" | COMMENT |
| LOW | src/openrct2/Version.h | 21 | #elif defined(__aarch64__) || defined(_M_ARM64) | COMMENT |
| LOW | src/openrct2/Version.h | 41 | #define OPENRCT2_ARCHITECTURE "wasm64" | COMMENT |
| LOW | src/openrct2/Version.h | 61 | #define OPENRCT2_PLATFORM "FreeBSD" | COMMENT |
| LOW | src/openrct2/Version.cpp | 41 | #if defined(OPENRCT2_BRANCH) && defined(OPENRCT2_COMMIT_SHA1_SHORT) | COMMENT |
| LOW | src/openrct2/Context.cpp | 21 | #include "GameStateSnapshots.h" | COMMENT |
| LOW | src/openrct2/Context.cpp | 41 | #include "core/String.hpp" | COMMENT |
| LOW | src/openrct2/Context.cpp | 61 | #include "object/ObjectManager.h" | COMMENT |
| LOW | src/openrct2/openrct2_pch.h | 1 | #pragma once | COMMENT |
| LOW | src/openrct2/openrct2_pch.h | 21 | #include "Context.h" | COMMENT |
| LOW | src/openrct2/openrct2_pch.cpp | 1 | // Empty file for MSVC's PCH | COMMENT |
| LOW | src/openrct2/Diagnostic.h | 41 | * The defines will be either 0 or 1 so compiler will complain about undefined | COMMENT |
| LOW | src/openrct2/Diagnostic.h | 61 | #define DEBUG_LEVEL_1 0 | COMMENT |
| LOW | src/openrct2/Diagnostic.h | 81 | #define DIAGNOSTIC_LOG_MACRO(level, format, ...) | COMMENT |
| LOW | src/openrct2/GameState.cpp | 21 | #include "entity/PatrolArea.h" | COMMENT |
| LOW | src/openrct2/Game.cpp | 21 | #include "actions/general/GameSetSpeedAction.h" | COMMENT |
| LOW | src/openrct2/Game.cpp | 41 | #include "platform/Platform.h" | COMMENT |
| LOW | src/openrct2/rct1/S4Importer.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/rct1/S4Importer.cpp | 21 | #include "../core/Path.hpp" | COMMENT |
| LOW | src/openrct2/rct1/S4Importer.cpp | 41 | #include "../object/PeepAnimationsObject.h" | COMMENT |
| LOW | src/openrct2/rct1/S4Importer.cpp | 61 | #include "../world/TileElementsView.h" | COMMENT |
| LOW | src/openrct2/rct1/T4Importer.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/Painter.cpp | 21 | #include "../drawing/PickupPeep.h" | COMMENT |
| LOW | src/openrct2/paint/Paint.cpp | 21 | #include "../interface/Viewport.h" | COMMENT |
| LOW | src/openrct2/paint/Paint.Entity.cpp | 21 | #include "entity/Paint.CrashSplashParticle.h" | COMMENT |
| LOW | …c/openrct2/paint/track/thrill/SwingingInverterShip.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/thrill/MagicCarpet.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/thrill/SwingingShip.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/thrill/Enterprise.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/thrill/Twist.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/thrill/MotionSimulator.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/transport/Chairlift.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/gentle/FerrisWheel.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/gentle/MiniGolf.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/gentle/HauntedHouse.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/gentle/Circus.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/track/gentle/CrookedHouse.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | …c/openrct2/paint/track/coaster/FlyingRollerCoaster.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | …t2/paint/track/coaster/MultiDimensionRollerCoaster.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | …/openrct2/paint/track/coaster/LoopingRollerCoaster.cpp | 1 | /***************************************************************************** | COMMENT |
| LOW | src/openrct2/paint/tile_element/Paint.LargeScenery.cpp | 21 | #include "../../object/LargeSceneryEntry.h" | COMMENT |
| LOW | src/openrct2/paint/tile_element/Paint.Surface.cpp | 21 | #include "../../interface/Viewport.h" | COMMENT |
| LOW | src/openrct2/paint/tile_element/Paint.Path.cpp | 21 | #include "../../world/Map.h" | COMMENT |
| LOW | src/openrct2/paint/tile_element/Paint.TileElement.cpp | 21 | #include "../../world/tile_element/TileElement.h" | COMMENT |
| LOW | src/openrct2/interface/WindowBase.h | 21 | #include "Window.h" | COMMENT |
| LOW | src/openrct2/interface/Window.cpp | 21 | #include "../entity/EntityRegistry.h" | COMMENT |
| LOW | src/openrct2/interface/InteractiveConsole.cpp | 21 | #include "../actions/general/GameSetSpeedAction.h" | COMMENT |
| LOW | src/openrct2/interface/InteractiveConsole.cpp | 41 | #include "../interface/WindowBase.h" | COMMENT |
| LOW | src/openrct2/interface/InteractiveConsole.cpp | 61 | #include "../world/Map.h" | COMMENT |
| LOW | src/openrct2/interface/Screenshot.cpp | 21 | #include "../core/File.h" | COMMENT |
| LOW | src/openrct2/interface/Viewport.cpp | 21 | #include "../drawing/Drawing.Sprite.h" | COMMENT |
| 359 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/openrct2/drawing/Drawing.Sprite.cpp | 844 | // For the moment, I've added this block here just for magnification with the old code continuing below. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/openrct2/peep/PeepAnimations.cpp | 198 | // Get available costumes, excluding from random placement as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/run-clang-format.py | 317 | except AttributeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/openrct2/actions/terraform/LandSetHeightAction.cpp | 110 | // We need to check if there is _currently_ a level crossing on the tile. | COMMENT |
| LOW | …droid/app/src/main/java/org/libsdl/app/SDLSurface.java | 230 | // We need to check if we're in relative mouse mode and get the axis offset rather than the x/y values | COMMENT |
| LOW | src/openrct2-ui/windows/TextInput.cpp | 430 | // The window can be potentially closed within a callback, we need to check if its still alive. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | distribution/scripting/openrct2.d.ts | 5168 | "paste" | "path_additions" | "path_railings" | "path_surfaces" | "paths" | "patrol" | "pause" | "pickup" | "plac | CODE |
| LOW | src/openrct2/scripting/IconNames.hpp | 77 | { "placeholder", SPR_G2_PLACEHOLDER }, | CODE |
| LOW | src/openrct2-ui/scripting/ScWidget.hpp | 134 | return JSFromStdString(ctx, "placeholder"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/run-clang-format.py | 124 | except Exception as e: | CODE |
| MEDIUM | scripts/run-clang-format.py | 118 | def run_clang_format_diff_wrapper(args, file): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/run-clang-format.py | 45 | CODE | |
| LOW | scripts/run-clang-format.py | 63 | CODE | |
| LOW | scripts/run-clang-format.py | 211 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …droid/app/src/main/java/org/libsdl/app/SDLSurface.java | 231 | // if we are. We'll leverage our existing mouse motion listener | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/run-clang-format.py | 13 | CODE | |
| LOW | scripts/run-clang-format.py | 13 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/run-clang-format.py | 118 | def run_clang_format_diff_wrapper(args, file): | CODE |