Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
This report summarizes scanner evidence for Alexays/Waybar, a C++ project with 12,125 GitHub stars. SynthScan examined 48,412 lines of code across 345 source files, recording 113 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 2.7 (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? 102 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 13 finding(s).
Which changes need focused human review? 113 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 113 distinct pattern matches across 7 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/taskbar_dnd.cpp | 1 | #if __has_include(<catch2/catch_test_macros.hpp>) | COMMENT |
| LOW | test/main.cpp | 1 | #define CATCH_CONFIG_RUNNER | COMMENT |
| LOW | test/smoke/hardware.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/smoke/lifecycle.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/smoke/state.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/smoke/lib.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/utils/SafeSignal.cpp | 1 | #include "util/SafeSignal.hpp" | COMMENT |
| LOW | test/utils/format.cpp | 1 | #include "util/format.hpp" | COMMENT |
| LOW | test/utils/netlink.cpp | 1 | #if __has_include(<catch2/catch_test_macros.hpp>) | COMMENT |
| LOW | test/utils/date.cpp | 1 | #include "util/date.hpp" | COMMENT |
| LOW | test/utils/command.cpp | 1 | #if __has_include(<catch2/catch_test_macros.hpp>) | COMMENT |
| LOW | include/AModule.hpp | 1 | #pragma once | COMMENT |
| LOW | include/ALabel.hpp | 1 | #pragma once | COMMENT |
| LOW | include/client.hpp | 1 | #pragma once | COMMENT |
| LOW | include/bar.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/clara.hpp | 1 | // Copyright 2017 Two Blue Cubes Ltd. All rights reserved. | COMMENT |
| LOW | include/util/clara.hpp | 21 | #ifndef CLARA_CONFIG_OPTIONAL_TYPE | COMMENT |
| LOW | include/util/ustring_clen.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/json.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/backlight_backend.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/date.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/command.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/SafeSignal.hpp | 1 | #pragma once | COMMENT |
| LOW | include/util/netlink.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/battery.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/gamemode.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/network.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/keyboard_state.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/hyprland/workspaces.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/hyprland/workspace_identity.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/hyprland/workspace_identity.hpp | 21 | // Classifies a bare string for the paths that have no IPC `type` field to read: | COMMENT |
| LOW | include/modules/hyprland/workspace_identity.hpp | 41 | // called `name:foo` displays verbatim. | COMMENT |
| LOW | include/modules/hyprland/workspace.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/hyprland/windowcreationpayload.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/wayfire/backend.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/sni/item.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/ext/workspace_manager.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/sway/workspaces.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/sway/ipc/client.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/niri/workspaces.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/mpd/state.hpp | 21 | COMMENT | |
| LOW | include/modules/wlr/taskbar.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/cava/cava_frontend.hpp | 1 | #pragma once | COMMENT |
| LOW | include/modules/cava/cava_backend.hpp | 1 | #pragma once | COMMENT |
| LOW | resources/style.css | 81 | #battery, | COMMENT |
| LOW | …urces/custom_modules/cffi_example/waybar_cffi_module.h | 21 | /// Waybar version string | COMMENT |
| LOW | …urces/custom_modules/cffi_example/waybar_cffi_module.h | 41 | /// string, or the JSON representation of any other JSON object as a string. | COMMENT |
| LOW | …urces/custom_modules/cffi_example/waybar_cffi_module.h | 61 | /// Module deinit/delete function, called when Waybar is closed or when the module is removed | COMMENT |
| LOW | …urces/custom_modules/cffi_example/waybar_cffi_module.h | 81 | /// @param signal Signal ID | COMMENT |
| LOW | src/client.cpp | 1 | #include "client.hpp" | COMMENT |
| LOW | src/bar.cpp | 1 | #include "bar.hpp" | COMMENT |
| LOW | src/config.cpp | 1 | #include "config.hpp" | COMMENT |
| LOW | src/factory.cpp | 1 | #include "factory.hpp" | COMMENT |
| LOW | src/factory.cpp | 21 | #include "modules/ext/workspace_manager.hpp" | COMMENT |
| LOW | src/factory.cpp | 41 | #include "modules/niri/language.hpp" | COMMENT |
| LOW | src/factory.cpp | 61 | #include "modules/cpu_frequency.hpp" | COMMENT |
| LOW | src/factory.cpp | 81 | #include "modules/backlight.hpp" | COMMENT |
| LOW | src/factory.cpp | 101 | #include "modules/mpd/mpd.hpp" | COMMENT |
| LOW | src/factory.cpp | 121 | #endif | COMMENT |
| LOW | src/main.cpp | 1 | #include <fcntl.h> | COMMENT |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/modules/niri/workspace.cpp | 48 | // ── CSS classes ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/modules/niri/workspace.cpp | 65 | // ── Workspace label ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/modules/niri/workspace.cpp | 92 | // ── Visibility ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/modules/niri/workspace.cpp | 104 | // ── Taskbar ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/modules/niri/workspace.cpp | 139 | // ── Taskbar rebuild ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/modules/niri/workspace.cpp | 211 | // ── Icon loading ───────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/smoke/a11y.py | 18 | except Exception: | CODE |
| LOW⚡ | test/smoke/a11y.py | 24 | except Exception: | CODE |
| LOW⚡ | test/smoke/a11y.py | 29 | except Exception: | CODE |
| MEDIUM | test/smoke/a11y.py | 15 | def collect(acc, out): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/smoke/lib.sh | 150 | # Create a headless output at runtime (sway only). wlroots' headless backend | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/custom_modules/mediaplayer.py | 134 | CODE | |
| LOW | .github/wiki/generate.py | 43 | CODE | |
| LOW | .github/wiki/generate.py | 159 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/custom_modules/mediaplayer.py | 104 | def on_playback_status_changed(self, player, status, _=None): | CODE |
| LOW | resources/custom_modules/mediaplayer.py | 123 | def show_most_important_player(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/custom_modules/mediaplayer.py | 18 | logger = logging.getLogger(__name__) | CODE |