AI Slop Code Risk Monitor

xournalpp/xournalpp

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

Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for xournalpp/xournalpp, a C++ project with 15,603 GitHub stars. SynthScan examined 116,605 lines of code across 977 source files, recording 236 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.3 (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.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
15.6K
Stars
C++
Language
116.6K
Lines of Code
977
Files
236
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 10.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 9.9/100 · LOW

Which changes need focused human review? 236 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 0MEDIUM 3LOW 233

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 236 distinct pattern matches across 9 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 Block200 hits · 200 pts
SeverityFileLineSnippetContext
LOWtest/unit_tests/util/ObjectIOStreamTest.cpp1#include <array>COMMENT
LOWtest/unit_tests/control/LoadHandlerTest.cpp21#include <vector>COMMENT
LOW.github/workflows/create-installers.yml1name: Create InstallersCOMMENT
LOWsrc/CMakeLists.txt101# Generate iconsCOMMENT
LOWsrc/core/plugin/Plugin.cpp1#include "Plugin.h"COMMENT
LOWsrc/core/plugin/PluginController.cpp1#include "PluginController.h"COMMENT
LOWsrc/core/plugin/luapi_application.h21#include <pango/pango.h>COMMENT
LOWsrc/core/plugin/luapi_application.h41#include "gui/MainWindow.h"COMMENT
LOWsrc/core/plugin/luapi_application.h61#include "util/GVariantTemplate.h" // for makeGVariantCOMMENT
LOWsrc/core/plugin/luapi_application.h1561 lua_getfield(L, -6, "x");COMMENT
LOWsrc/core/pdf/popplerapi/PopplerGlibPage.cpp1#include "PopplerGlibPage.h"COMMENT
LOWsrc/core/pdf/base/HybridPdfExport.cpp1#include "HybridPdfExport.h"COMMENT
LOWsrc/core/pdf/base/XojPdfPage.h81COMMENT
LOWsrc/core/pdf/base/QPdfExport.cpp1#include "QPdfExport.h"COMMENT
LOWsrc/core/pdf/base/XojCairoPdfExport.cpp1#include "XojCairoPdfExport.h"COMMENT
LOWsrc/core/undo/FontUndoAction.cpp1#include "FontUndoAction.h"COMMENT
LOWsrc/core/undo/RecognizerUndoAction.cpp1#include "RecognizerUndoAction.h"COMMENT
LOWsrc/core/undo/InsertUndoAction.cpp1#include "InsertUndoAction.h"COMMENT
LOWsrc/core/undo/TextBoxUndoAction.cpp1#include "TextBoxUndoAction.h"COMMENT
LOWsrc/core/undo/ScaleUndoAction.cpp1#include "ScaleUndoAction.h"COMMENT
LOWsrc/core/undo/EraseUndoAction.cpp1#include "EraseUndoAction.h"COMMENT
LOWsrc/core/undo/MoveSelectionToLayerUndoAction.cpp1#include "MoveSelectionToLayerUndoAction.h"COMMENT
LOWsrc/core/undo/LineStyleUndoAction.cpp1#include "LineStyleUndoAction.h"COMMENT
LOWsrc/core/undo/MoveUndoAction.cpp1#include "MoveUndoAction.h"COMMENT
LOWsrc/core/undo/UndoRedoHandler.cpp1#include "UndoRedoHandler.h"COMMENT
LOWsrc/core/undo/SizeUndoAction.cpp1#include "SizeUndoAction.h"COMMENT
LOWsrc/core/audio/PortAudioConsumer.cpp1#include "PortAudioConsumer.h"COMMENT
LOWsrc/core/audio/VorbisConsumer.cpp1#include "VorbisConsumer.h"COMMENT
LOWsrc/core/audio/VorbisProducer.cpp1#include "VorbisProducer.h"COMMENT
LOWsrc/core/gui/Layout.cpp1#include "Layout.h"COMMENT
LOWsrc/core/gui/PageView.cpp1#include "PageView.h"COMMENT
LOWsrc/core/gui/PageView.cpp21#include "control/Control.h" // for ControlCOMMENT
LOWsrc/core/gui/PageView.cpp41#include "control/tools/PdfElemSelection.h" // for PdfElemSelectionCOMMENT
LOWsrc/core/gui/PageView.cpp61#include "model/TexImage.h" // for TexImageCOMMENT
LOWsrc/core/gui/PageView.cpp81#include "util/safe_casts.h" // for ceil_cast, floor_cast, round_castCOMMENT
LOWsrc/core/gui/MainWindow.cpp1#include "MainWindow.h"COMMENT
LOWsrc/core/gui/MainWindow.cpp21#include "gui/GladeGui.h" // for GladeGuiCOMMENT
LOWsrc/core/gui/MainWindow.cpp41#include "util/gtk4_helper.h" // for gtk_widget_get_widthCOMMENT
LOWsrc/core/gui/PdfFloatingToolbox.cpp1#include "PdfFloatingToolbox.h"COMMENT
LOWsrc/core/gui/PdfFloatingToolbox.cpp21#include "model/Layer.h" // for LayerCOMMENT
LOWsrc/core/gui/SearchBar.cpp1#include "SearchBar.h"COMMENT
LOWsrc/core/gui/FloatingToolbox.cpp1#include "FloatingToolbox.h"COMMENT
LOWsrc/core/gui/XournalView.cpp1#include "XournalView.h"COMMENT
LOWsrc/core/gui/XournalView.cpp21#include "control/tools/CursorSelectionType.h" // for CURSOR_SELECTION_NONECOMMENT
LOWsrc/core/gui/PageView.h21#include <gdk/gdk.h> // for GdkEventKey, GdkRGBA, GdkRectangleCOMMENT
LOWsrc/core/gui/XournalppCursor.cpp1#include "XournalppCursor.h"COMMENT
LOWsrc/core/gui/sidebar/Sidebar.cpp1#include "Sidebar.h"COMMENT
LOWsrc/core/gui/sidebar/indextree/SidebarIndexPage.cpp1#include "SidebarIndexPage.h"COMMENT
LOW…core/gui/sidebar/previews/page/SidebarPreviewPages.cpp1#include "SidebarPreviewPages.h"COMMENT
LOW…re/gui/sidebar/previews/layer/SidebarPreviewLayers.cpp1#include "SidebarPreviewLayers.h"COMMENT
LOW…/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp1#include "SidebarPreviewBaseEntry.h"COMMENT
LOW…/core/gui/sidebar/previews/base/SidebarPreviewBase.cpp1#include "SidebarPreviewBase.h"COMMENT
LOWsrc/core/gui/inputdevices/StylusInputHandler.cpp1//COMMENT
LOWsrc/core/gui/inputdevices/MouseInputHandler.cpp1//COMMENT
LOWsrc/core/gui/inputdevices/TouchDrawingInputHandler.cpp1//COMMENT
LOWsrc/core/gui/inputdevices/GeometryToolInputHandler.cpp1#include "GeometryToolInputHandler.h"COMMENT
LOWsrc/core/gui/inputdevices/TouchInputHandler.cpp1//COMMENT
LOWsrc/core/gui/inputdevices/HandRecognition.cpp1#include "HandRecognition.h"COMMENT
LOWsrc/core/gui/inputdevices/AbstractInputHandler.cpp1//COMMENT
LOWsrc/core/gui/inputdevices/InputContext.cpp1//COMMENT
140 more matches not shown…
Structural Annotation Overuse11 hits · 20 pts
SeverityFileLineSnippetContext
LOW⚡mac-setup/CI_jhbuild.sh6### Step 1: install jhbuildCOMMENT
LOWmac-setup/CI_jhbuild.sh121### Step 2: Download modules' sourcesCOMMENT
LOW⚡mac-setup/CI_jhbuild.sh132### Step 3: bootstrapCOMMENT
LOW⚡mac-setup/CI_jhbuild.sh141### Step 4: build gtk (~15 minutes on a Mac Mini M1 w/ 8 cores)COMMENT
LOW⚡mac-setup/CI_jhbuild.sh151### Step 5: build xournalpp depsCOMMENT
LOW⚡mac-setup/CI_jhbuild.sh161### Step 6: build binary blobCOMMENT
LOWreadme/MacBuild.md107### Step 1: Install jhbuildCOMMENT
LOWreadme/MacBuild.md141### Step 2: Set up custom modulesets and configure jhbuildCOMMENT
LOWreadme/MacBuild.md201### Step 3: Build required dependencies from gtk-osxCOMMENT
LOWreadme/MacBuild.md216### Step 4: Clone the Xournal++ codeCOMMENT
LOWreadme/MacBuild.md225### Step 5: Build required dependencies not in gtk-osxCOMMENT
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡mac-setup/CI_jhbuild.sh6### Step 1: install jhbuildCOMMENT
LOWmac-setup/CI_jhbuild.sh121### Step 2: Download modules' sourcesCOMMENT
LOW⚡mac-setup/CI_jhbuild.sh132### Step 3: bootstrapCOMMENT
LOW⚡mac-setup/CI_jhbuild.sh141### Step 4: build gtk (~15 minutes on a Mac Mini M1 w/ 8 cores)COMMENT
LOW⚡mac-setup/CI_jhbuild.sh151### Step 5: build xournalpp depsCOMMENT
LOW⚡mac-setup/CI_jhbuild.sh161### Step 6: build binary blobCOMMENT
Redundant / Tautological Comments6 hits · 12 pts
SeverityFileLineSnippetContext
LOW⚡mac-setup/CI_jhbuild.sh15 # Print the value corresponding to the provided lockfile key to stdoutCOMMENT
LOW⚡scripts/release_helper.sh91# Check if branch already existsCOMMENT
LOW⚡scripts/release_helper.sh101# Check if release already existsCOMMENT
LOW⚡scripts/release_helper.sh111# Check if git is in detached head modeCOMMENT
LOWscripts/release_helper.sh268 # Check if branch already existsCOMMENT
LOWscripts/release_helper.sh273 # Check if hotfix was already releasedCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMmac-setup/build-dmg.sh14# Create the image.COMMENT
MEDIUMscripts/release_helper.sh388 # Create the commit-msg hookCOMMENT
MEDIUMscripts/release_helper.sh464 # Create the pre-commit hookCOMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/unit_tests/util/RAIIWrappersTest.cpp20class TestDataHandler {CODE
LOWscripts/compare_license.py32def get_files_from_copyright_format(file: str) -> Set[str]:CODE
LOWscripts/compare_license.py52def get_files_containing_copyright_or_license():CODE
LOWscripts/compare_license.py73def get_source_files_missing_license_of_header(scanned_files:Set[str], all_files:Set[str]) -> Set[str]:CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/lua_def_file.py8CODE
LOWscripts/lua_def_file.py47CODE
LOWscripts/lua_def_file.py159CODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/core/gui/toolbarMenubar/AbstractToolItem.h25 // If you add a category, don't forget to give it a label in ToolbarCustomizeDialog.cpp.COMMENT
LOWsrc/util/include/util/GtkUtil.h45 * To circumvent this, we make our own GAction/RadioButton interactions. Don't forget to group the buttons together.COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/compare_license.py30CODE