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.
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.
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? 235 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 236 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/unit_tests/util/ObjectIOStreamTest.cpp | 1 | #include <array> | COMMENT |
| LOW | test/unit_tests/control/LoadHandlerTest.cpp | 21 | #include <vector> | COMMENT |
| LOW | .github/workflows/create-installers.yml | 1 | name: Create Installers | COMMENT |
| LOW | src/CMakeLists.txt | 101 | # Generate icons | COMMENT |
| LOW | src/core/plugin/Plugin.cpp | 1 | #include "Plugin.h" | COMMENT |
| LOW | src/core/plugin/PluginController.cpp | 1 | #include "PluginController.h" | COMMENT |
| LOW | src/core/plugin/luapi_application.h | 21 | #include <pango/pango.h> | COMMENT |
| LOW | src/core/plugin/luapi_application.h | 41 | #include "gui/MainWindow.h" | COMMENT |
| LOW | src/core/plugin/luapi_application.h | 61 | #include "util/GVariantTemplate.h" // for makeGVariant | COMMENT |
| LOW | src/core/plugin/luapi_application.h | 1561 | lua_getfield(L, -6, "x"); | COMMENT |
| LOW | src/core/pdf/popplerapi/PopplerGlibPage.cpp | 1 | #include "PopplerGlibPage.h" | COMMENT |
| LOW | src/core/pdf/base/HybridPdfExport.cpp | 1 | #include "HybridPdfExport.h" | COMMENT |
| LOW | src/core/pdf/base/XojPdfPage.h | 81 | COMMENT | |
| LOW | src/core/pdf/base/QPdfExport.cpp | 1 | #include "QPdfExport.h" | COMMENT |
| LOW | src/core/pdf/base/XojCairoPdfExport.cpp | 1 | #include "XojCairoPdfExport.h" | COMMENT |
| LOW | src/core/undo/FontUndoAction.cpp | 1 | #include "FontUndoAction.h" | COMMENT |
| LOW | src/core/undo/RecognizerUndoAction.cpp | 1 | #include "RecognizerUndoAction.h" | COMMENT |
| LOW | src/core/undo/InsertUndoAction.cpp | 1 | #include "InsertUndoAction.h" | COMMENT |
| LOW | src/core/undo/TextBoxUndoAction.cpp | 1 | #include "TextBoxUndoAction.h" | COMMENT |
| LOW | src/core/undo/ScaleUndoAction.cpp | 1 | #include "ScaleUndoAction.h" | COMMENT |
| LOW | src/core/undo/EraseUndoAction.cpp | 1 | #include "EraseUndoAction.h" | COMMENT |
| LOW | src/core/undo/MoveSelectionToLayerUndoAction.cpp | 1 | #include "MoveSelectionToLayerUndoAction.h" | COMMENT |
| LOW | src/core/undo/LineStyleUndoAction.cpp | 1 | #include "LineStyleUndoAction.h" | COMMENT |
| LOW | src/core/undo/MoveUndoAction.cpp | 1 | #include "MoveUndoAction.h" | COMMENT |
| LOW | src/core/undo/UndoRedoHandler.cpp | 1 | #include "UndoRedoHandler.h" | COMMENT |
| LOW | src/core/undo/SizeUndoAction.cpp | 1 | #include "SizeUndoAction.h" | COMMENT |
| LOW | src/core/audio/PortAudioConsumer.cpp | 1 | #include "PortAudioConsumer.h" | COMMENT |
| LOW | src/core/audio/VorbisConsumer.cpp | 1 | #include "VorbisConsumer.h" | COMMENT |
| LOW | src/core/audio/VorbisProducer.cpp | 1 | #include "VorbisProducer.h" | COMMENT |
| LOW | src/core/gui/Layout.cpp | 1 | #include "Layout.h" | COMMENT |
| LOW | src/core/gui/PageView.cpp | 1 | #include "PageView.h" | COMMENT |
| LOW | src/core/gui/PageView.cpp | 21 | #include "control/Control.h" // for Control | COMMENT |
| LOW | src/core/gui/PageView.cpp | 41 | #include "control/tools/PdfElemSelection.h" // for PdfElemSelection | COMMENT |
| LOW | src/core/gui/PageView.cpp | 61 | #include "model/TexImage.h" // for TexImage | COMMENT |
| LOW | src/core/gui/PageView.cpp | 81 | #include "util/safe_casts.h" // for ceil_cast, floor_cast, round_cast | COMMENT |
| LOW | src/core/gui/MainWindow.cpp | 1 | #include "MainWindow.h" | COMMENT |
| LOW | src/core/gui/MainWindow.cpp | 21 | #include "gui/GladeGui.h" // for GladeGui | COMMENT |
| LOW | src/core/gui/MainWindow.cpp | 41 | #include "util/gtk4_helper.h" // for gtk_widget_get_width | COMMENT |
| LOW | src/core/gui/PdfFloatingToolbox.cpp | 1 | #include "PdfFloatingToolbox.h" | COMMENT |
| LOW | src/core/gui/PdfFloatingToolbox.cpp | 21 | #include "model/Layer.h" // for Layer | COMMENT |
| LOW | src/core/gui/SearchBar.cpp | 1 | #include "SearchBar.h" | COMMENT |
| LOW | src/core/gui/FloatingToolbox.cpp | 1 | #include "FloatingToolbox.h" | COMMENT |
| LOW | src/core/gui/XournalView.cpp | 1 | #include "XournalView.h" | COMMENT |
| LOW | src/core/gui/XournalView.cpp | 21 | #include "control/tools/CursorSelectionType.h" // for CURSOR_SELECTION_NONE | COMMENT |
| LOW | src/core/gui/PageView.h | 21 | #include <gdk/gdk.h> // for GdkEventKey, GdkRGBA, GdkRectangle | COMMENT |
| LOW | src/core/gui/XournalppCursor.cpp | 1 | #include "XournalppCursor.h" | COMMENT |
| LOW | src/core/gui/sidebar/Sidebar.cpp | 1 | #include "Sidebar.h" | COMMENT |
| LOW | src/core/gui/sidebar/indextree/SidebarIndexPage.cpp | 1 | #include "SidebarIndexPage.h" | COMMENT |
| LOW | …core/gui/sidebar/previews/page/SidebarPreviewPages.cpp | 1 | #include "SidebarPreviewPages.h" | COMMENT |
| LOW | …re/gui/sidebar/previews/layer/SidebarPreviewLayers.cpp | 1 | #include "SidebarPreviewLayers.h" | COMMENT |
| LOW | …/gui/sidebar/previews/base/SidebarPreviewBaseEntry.cpp | 1 | #include "SidebarPreviewBaseEntry.h" | COMMENT |
| LOW | …/core/gui/sidebar/previews/base/SidebarPreviewBase.cpp | 1 | #include "SidebarPreviewBase.h" | COMMENT |
| LOW | src/core/gui/inputdevices/StylusInputHandler.cpp | 1 | // | COMMENT |
| LOW | src/core/gui/inputdevices/MouseInputHandler.cpp | 1 | // | COMMENT |
| LOW | src/core/gui/inputdevices/TouchDrawingInputHandler.cpp | 1 | // | COMMENT |
| LOW | src/core/gui/inputdevices/GeometryToolInputHandler.cpp | 1 | #include "GeometryToolInputHandler.h" | COMMENT |
| LOW | src/core/gui/inputdevices/TouchInputHandler.cpp | 1 | // | COMMENT |
| LOW | src/core/gui/inputdevices/HandRecognition.cpp | 1 | #include "HandRecognition.h" | COMMENT |
| LOW | src/core/gui/inputdevices/AbstractInputHandler.cpp | 1 | // | COMMENT |
| LOW | src/core/gui/inputdevices/InputContext.cpp | 1 | // | COMMENT |
| 140 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mac-setup/CI_jhbuild.sh | 6 | ### Step 1: install jhbuild | COMMENT |
| LOW | mac-setup/CI_jhbuild.sh | 121 | ### Step 2: Download modules' sources | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 132 | ### Step 3: bootstrap | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 141 | ### Step 4: build gtk (~15 minutes on a Mac Mini M1 w/ 8 cores) | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 151 | ### Step 5: build xournalpp deps | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 161 | ### Step 6: build binary blob | COMMENT |
| LOW | readme/MacBuild.md | 107 | ### Step 1: Install jhbuild | COMMENT |
| LOW | readme/MacBuild.md | 141 | ### Step 2: Set up custom modulesets and configure jhbuild | COMMENT |
| LOW | readme/MacBuild.md | 201 | ### Step 3: Build required dependencies from gtk-osx | COMMENT |
| LOW | readme/MacBuild.md | 216 | ### Step 4: Clone the Xournal++ code | COMMENT |
| LOW | readme/MacBuild.md | 225 | ### Step 5: Build required dependencies not in gtk-osx | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mac-setup/CI_jhbuild.sh | 6 | ### Step 1: install jhbuild | COMMENT |
| LOW | mac-setup/CI_jhbuild.sh | 121 | ### Step 2: Download modules' sources | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 132 | ### Step 3: bootstrap | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 141 | ### Step 4: build gtk (~15 minutes on a Mac Mini M1 w/ 8 cores) | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 151 | ### Step 5: build xournalpp deps | COMMENT |
| LOW⚡ | mac-setup/CI_jhbuild.sh | 161 | ### Step 6: build binary blob | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | mac-setup/CI_jhbuild.sh | 15 | # Print the value corresponding to the provided lockfile key to stdout | COMMENT |
| LOW⚡ | scripts/release_helper.sh | 91 | # Check if branch already exists | COMMENT |
| LOW⚡ | scripts/release_helper.sh | 101 | # Check if release already exists | COMMENT |
| LOW⚡ | scripts/release_helper.sh | 111 | # Check if git is in detached head mode | COMMENT |
| LOW | scripts/release_helper.sh | 268 | # Check if branch already exists | COMMENT |
| LOW | scripts/release_helper.sh | 273 | # Check if hotfix was already released | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mac-setup/build-dmg.sh | 14 | # Create the image. | COMMENT |
| MEDIUM | scripts/release_helper.sh | 388 | # Create the commit-msg hook | COMMENT |
| MEDIUM | scripts/release_helper.sh | 464 | # Create the pre-commit hook | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/unit_tests/util/RAIIWrappersTest.cpp | 20 | class TestDataHandler { | CODE |
| LOW | scripts/compare_license.py | 32 | def get_files_from_copyright_format(file: str) -> Set[str]: | CODE |
| LOW | scripts/compare_license.py | 52 | def get_files_containing_copyright_or_license(): | CODE |
| LOW | scripts/compare_license.py | 73 | def get_source_files_missing_license_of_header(scanned_files:Set[str], all_files:Set[str]) -> Set[str]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/lua_def_file.py | 8 | CODE | |
| LOW | scripts/lua_def_file.py | 47 | CODE | |
| LOW | scripts/lua_def_file.py | 159 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/gui/toolbarMenubar/AbstractToolItem.h | 25 | // If you add a category, don't forget to give it a label in ToolbarCustomizeDialog.cpp. | COMMENT |
| LOW | src/util/include/util/GtkUtil.h | 45 | * To circumvent this, we make our own GAction/RadioButton interactions. Don't forget to group the buttons together. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/compare_license.py | 30 | CODE |