AI Slop Code Risk Monitor

fcitx/fcitx5

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

Next generation of fcitx, cross-platform input method framework.

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for fcitx/fcitx5, a C++ project with 2,621 GitHub stars. SynthScan examined 108,947 lines of code across 660 source files, recording 324 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 3.1 (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.

3.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.6K
Stars
C++
Language
108.9K
Lines of Code
660
Files
324
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 13.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.5/100 · LOW

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

PR Review Velocity Impact 14.3/100 · LOW

Which changes need focused human review? 324 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 1MEDIUM 4LOW 319

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 324 distinct pattern matches across 8 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 Block310 hits · 310 pts
SeverityFileLineSnippetContext
LOWtest/testspell.cpp1/*COMMENT
LOWtest/testcustomeventloop.cpp1/*COMMENT
LOWtest/testcustomeventloop.cpp21#include "fcitx-utils/eventloopinterface.h"COMMENT
LOWtest/testimselector.cpp1/*COMMENT
LOWtest/testdbusmessage.cpp1/*COMMENT
LOWtest/testxim.cpp1COMMENT
LOWtest/testtempmode.cpp1/*COMMENT
LOWtest/testquickphrase.cpp1/*COMMENT
LOWtest/eventlooptests.cpp1/*COMMENT
LOWtest/testinstance.cpp1/*COMMENT
LOWtest/testcompose.cpp1/*COMMENT
LOWtest/testcandidatelist.cpp1/*COMMENT
LOWtest/testinputcontext.cpp1/*COMMENT
LOWtest/testinputcontext.cpp21#include "fcitx/event.h"COMMENT
LOWtest/testfdstreambuf.cpp1/*COMMENT
LOWtest/testconfig.h1/*COMMENT
LOWtest/testdbus.cpp1/*COMMENT
LOWtesting/testui/testui.cpp1/*COMMENT
LOWsrc/ui/kimpanel/kimpanel.h1/*COMMENT
LOWsrc/ui/kimpanel/kimpanel.cpp1/*COMMENT
LOWsrc/ui/kimpanel/kimpanel.cpp21#include "fcitx-utils/dbus/servicewatcher.h"COMMENT
LOWsrc/ui/classic/xcbui.cpp1/*COMMENT
LOWsrc/ui/classic/xcbui.cpp21#include <cairo.h>COMMENT
LOWsrc/ui/classic/theme.h1/*COMMENT
LOWsrc/ui/classic/theme.h21#include <cairo.h>COMMENT
LOWsrc/ui/classic/classicui.h1/*COMMENT
LOWsrc/ui/classic/classicui.h21#include "fcitx-config/option.h"COMMENT
LOWsrc/ui/classic/plasmathemewatchdog.cpp1/*COMMENT
LOWsrc/ui/classic/plasmathemewatchdog.cpp21#include "fcitx-utils/eventloopinterface.h"COMMENT
LOWsrc/ui/classic/waylandpointer.h1/*COMMENT
LOWsrc/ui/classic/xcbui.h1/*COMMENT
LOWsrc/ui/classic/portalsettingmonitor.h1/*COMMENT
LOWsrc/ui/classic/xcbinputwindow.cpp1/*COMMENT
LOWsrc/ui/classic/xcbwindow.h1/*COMMENT
LOWsrc/ui/classic/xcbwindow.cpp1/*COMMENT
LOWsrc/ui/classic/xcbtraywindow.h1/*COMMENT
LOWsrc/ui/classic/portalsettingmonitor.cpp1/*COMMENT
LOWsrc/ui/classic/xcbmenu.cpp1/*COMMENT
LOWsrc/ui/classic/xcbmenu.cpp21#include <pango/pangocairo.h>COMMENT
LOWsrc/ui/classic/waylandui.cpp1/*COMMENT
LOWsrc/ui/classic/buffer.cpp1/*COMMENT
LOWsrc/ui/classic/buffer.cpp21#include "fcitx-utils/environ.h"COMMENT
LOWsrc/ui/classic/theme.cpp1/*COMMENT
LOWsrc/ui/classic/theme.cpp21#include <unordered_set>COMMENT
LOWsrc/ui/classic/theme.cpp41#include "fcitx-utils/log.h"COMMENT
LOWsrc/ui/classic/waylandcursor.h1/*COMMENT
LOWsrc/ui/classic/xcbmenu.h1/*COMMENT
LOWsrc/ui/classic/inputwindow.h1/*COMMENT
LOWsrc/ui/classic/inputwindow.h21#include <pango/pango-types.h>COMMENT
LOWsrc/ui/classic/waylandcursortheme.cpp1#include "waylandcursortheme.h"COMMENT
LOWsrc/ui/classic/inputwindow.cpp1/*COMMENT
LOWsrc/ui/classic/inputwindow.cpp21#include <pango/pango-context.h>COMMENT
LOWsrc/ui/classic/classicui.cpp1/*COMMENT
LOWsrc/ui/classic/classicui.cpp21#include <system_error>COMMENT
LOWsrc/ui/classic/classicui.cpp41#include "fcitx/instance.h"COMMENT
LOWsrc/ui/classic/waylandshmwindow.cpp1/*COMMENT
LOWsrc/ui/classic/waylandwindow.h1/*COMMENT
LOWsrc/ui/classic/waylandcursor.cpp1/*COMMENT
LOWsrc/ui/classic/waylandinputwindow.h1/*COMMENT
LOWsrc/ui/classic/xcbtraywindow.cpp1/*COMMENT
250 more matches not shown…
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/modules/unicode/gen.py579CODE
LOWsrc/modules/unicode/gen.py593CODE
LOWsrc/modules/unicode/gen.py742CODE
LOWsrc/modules/unicode/gen.py810CODE
LOWsrc/modules/emoji/data/update-emoji-data.py48CODE
LOWsrc/modules/emoji/data/update-emoji-data.py89CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/modules/emoji/data/update-emoji-data.py86except e:CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdata/fcitx5-diagnose.sh736 # Check if the gsettings key existsCOMMENT
LOWdata/fcitx5-configtool.sh173 # Check if major version is a number greater than 2.COMMENT
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdata/fcitx5-configtool.sh2#--------------------------------------COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/modules/notificationitem/dbusmenu.cpp44// libdbusmenu-gtk have a strange 30000 limitation, in order to leverage this,COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/modules/unicode/gen.py695 print("Error: Did not find any category for block \""+block[2]+"\"")STRING
MEDIUMsrc/modules/unicode/gen.py910 print("Error: Sizes of ushort and uint are not 16 and 32 bit as expected")STRING
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/modules/unicode/gen.py84CODE