AI Slop Code Risk Monitor

Alexays/Waybar

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

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:

2.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

2.7
Adjusted Signal
2.7
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
12.1K
Stars
C++
Language
48.4K
Lines of Code
345
Files
113
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.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 2.8/100 · LOW

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

PR Review Velocity Impact 12.5/100 · LOW

Which changes need focused human review? 113 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 8LOW 105

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 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.

Over-Commented Block96 hits · 96 pts
SeverityFileLineSnippetContext
LOWtest/taskbar_dnd.cpp1#if __has_include(<catch2/catch_test_macros.hpp>)COMMENT
LOWtest/main.cpp1#define CATCH_CONFIG_RUNNERCOMMENT
LOWtest/smoke/hardware.sh1#!/usr/bin/env bashCOMMENT
LOWtest/smoke/lifecycle.sh1#!/usr/bin/env bashCOMMENT
LOWtest/smoke/state.sh1#!/usr/bin/env bashCOMMENT
LOWtest/smoke/lib.sh1#!/usr/bin/env bashCOMMENT
LOWtest/utils/SafeSignal.cpp1#include "util/SafeSignal.hpp"COMMENT
LOWtest/utils/format.cpp1#include "util/format.hpp"COMMENT
LOWtest/utils/netlink.cpp1#if __has_include(<catch2/catch_test_macros.hpp>)COMMENT
LOWtest/utils/date.cpp1#include "util/date.hpp"COMMENT
LOWtest/utils/command.cpp1#if __has_include(<catch2/catch_test_macros.hpp>)COMMENT
LOWinclude/AModule.hpp1#pragma onceCOMMENT
LOWinclude/ALabel.hpp1#pragma onceCOMMENT
LOWinclude/client.hpp1#pragma onceCOMMENT
LOWinclude/bar.hpp1#pragma onceCOMMENT
LOWinclude/util/clara.hpp1// Copyright 2017 Two Blue Cubes Ltd. All rights reserved.COMMENT
LOWinclude/util/clara.hpp21#ifndef CLARA_CONFIG_OPTIONAL_TYPECOMMENT
LOWinclude/util/ustring_clen.hpp1#pragma onceCOMMENT
LOWinclude/util/json.hpp1#pragma onceCOMMENT
LOWinclude/util/backlight_backend.hpp1#pragma onceCOMMENT
LOWinclude/util/date.hpp1#pragma onceCOMMENT
LOWinclude/util/command.hpp1#pragma onceCOMMENT
LOWinclude/util/SafeSignal.hpp1#pragma onceCOMMENT
LOWinclude/util/netlink.hpp1#pragma onceCOMMENT
LOWinclude/modules/battery.hpp1#pragma onceCOMMENT
LOWinclude/modules/gamemode.hpp1#pragma onceCOMMENT
LOWinclude/modules/network.hpp1#pragma onceCOMMENT
LOWinclude/modules/keyboard_state.hpp1#pragma onceCOMMENT
LOWinclude/modules/hyprland/workspaces.hpp1#pragma onceCOMMENT
LOWinclude/modules/hyprland/workspace_identity.hpp1#pragma onceCOMMENT
LOWinclude/modules/hyprland/workspace_identity.hpp21// Classifies a bare string for the paths that have no IPC `type` field to read:COMMENT
LOWinclude/modules/hyprland/workspace_identity.hpp41// called `name:foo` displays verbatim.COMMENT
LOWinclude/modules/hyprland/workspace.hpp1#pragma onceCOMMENT
LOWinclude/modules/hyprland/windowcreationpayload.hpp1#pragma onceCOMMENT
LOWinclude/modules/wayfire/backend.hpp1#pragma onceCOMMENT
LOWinclude/modules/sni/item.hpp1#pragma onceCOMMENT
LOWinclude/modules/ext/workspace_manager.hpp1#pragma onceCOMMENT
LOWinclude/modules/sway/workspaces.hpp1#pragma onceCOMMENT
LOWinclude/modules/sway/ipc/client.hpp1#pragma onceCOMMENT
LOWinclude/modules/niri/workspaces.hpp1#pragma onceCOMMENT
LOWinclude/modules/mpd/state.hpp21COMMENT
LOWinclude/modules/wlr/taskbar.hpp1#pragma onceCOMMENT
LOWinclude/modules/cava/cava_frontend.hpp1#pragma onceCOMMENT
LOWinclude/modules/cava/cava_backend.hpp1#pragma onceCOMMENT
LOWresources/style.css81#battery,COMMENT
LOW…urces/custom_modules/cffi_example/waybar_cffi_module.h21 /// Waybar version stringCOMMENT
LOW…urces/custom_modules/cffi_example/waybar_cffi_module.h41 /// string, or the JSON representation of any other JSON object as a string.COMMENT
LOW…urces/custom_modules/cffi_example/waybar_cffi_module.h61/// Module deinit/delete function, called when Waybar is closed or when the module is removedCOMMENT
LOW…urces/custom_modules/cffi_example/waybar_cffi_module.h81/// @param signal Signal IDCOMMENT
LOWsrc/client.cpp1#include "client.hpp"COMMENT
LOWsrc/bar.cpp1#include "bar.hpp"COMMENT
LOWsrc/config.cpp1#include "config.hpp"COMMENT
LOWsrc/factory.cpp1#include "factory.hpp"COMMENT
LOWsrc/factory.cpp21#include "modules/ext/workspace_manager.hpp"COMMENT
LOWsrc/factory.cpp41#include "modules/niri/language.hpp"COMMENT
LOWsrc/factory.cpp61#include "modules/cpu_frequency.hpp"COMMENT
LOWsrc/factory.cpp81#include "modules/backlight.hpp"COMMENT
LOWsrc/factory.cpp101#include "modules/mpd/mpd.hpp"COMMENT
LOWsrc/factory.cpp121#endifCOMMENT
LOWsrc/main.cpp1#include <fcntl.h>COMMENT
36 more matches not shown…
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsrc/modules/niri/workspace.cpp48 // ── CSS classes ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/modules/niri/workspace.cpp65 // ── Workspace label ───────────────────────────────────────────────────────COMMENT
MEDIUMsrc/modules/niri/workspace.cpp92 // ── Visibility ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/modules/niri/workspace.cpp104 // ── Taskbar ───────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/modules/niri/workspace.cpp139// ── Taskbar rebuild ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/modules/niri/workspace.cpp211// ── Icon loading ─────────────────────────────────────────────────────────────COMMENT
Excessive Try-Catch Wrapping4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡test/smoke/a11y.py18 except Exception:CODE
LOW⚡test/smoke/a11y.py24 except Exception:CODE
LOW⚡test/smoke/a11y.py29 except Exception:CODE
MEDIUMtest/smoke/a11y.py15def collect(acc, out):CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtest/smoke/lib.sh150# Create a headless output at runtime (sway only). wlroots' headless backendCOMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWresources/custom_modules/mediaplayer.py134CODE
LOW.github/wiki/generate.py43CODE
LOW.github/wiki/generate.py159CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWresources/custom_modules/mediaplayer.py104 def on_playback_status_changed(self, player, status, _=None):CODE
LOWresources/custom_modules/mediaplayer.py123 def show_most_important_player(self):CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWresources/custom_modules/mediaplayer.py18logger = logging.getLogger(__name__)CODE