AI Slop Code Risk Monitor

fontforge/fontforge

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

Free (libre) font editor for Windows, Mac OS X and GNU+Linux

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for fontforge/fontforge, a C project with 8,057 GitHub stars. SynthScan examined 577,577 lines of code across 754 source files, recording 434 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 1.0 (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.

1.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.1K
Stars
C
Language
577.6K
Lines of Code
754
Files
434
Pattern Hits
2026-10-31
Scan Date
0.03
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 3.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 1.7/100 · LOW

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

PR Review Velocity Impact 5.5/100 · LOW

Which changes need focused human review? 434 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 23MEDIUM 54LOW 357

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 434 distinct pattern matches across 16 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 Block304 hits · 302 pts
SeverityFileLineSnippetContext
LOWinc/utype.h41#define UNICODE_VERSION "17.0.0"COMMENT
LOWinc/utype.h101#undef islowerCOMMENT
LOWinc/utype.h121#undef ishexdigitCOMMENT
LOWinc/utype.h141#define iscombining(ch) ff_unicode_iscombining((ch))COMMENT
LOWinc/gwwiconv.h41# if _LIBICONV_VERSION >= 0x10BCOMMENT
LOWinc/gwidget.h121#define gwwv_choose_multiple GWidgetChoicesBM8COMMENT
LOWinc/gkeysym.h1#ifndef FONTFORGE_GKEYSYM_HCOMMENT
LOWinc/gkeysym.h21#define GK_Escape GDK_KEY_EscapeCOMMENT
LOWinc/gkeysym.h41#define GK_KP_Home GDK_KEY_KP_HomeCOMMENT
LOWinc/gkeysym.h61#define GK_F9 GDK_KEY_F9COMMENT
LOWinc/gkeysym.h81#define GK_F20 GDK_KEY_F20COMMENT
LOWinc/gkeysym.h101#define GK_F30 GDK_KEY_F30COMMENT
LOWinc/gkeysym.h121#define GK_Meta_L GDK_KEY_Meta_LCOMMENT
LOWinc/gfile.h41#ifdef _MSC_VERCOMMENT
LOWinc/basics.h21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;COMMENT
LOWinc/basics.h41COMMENT
LOWinc/basics.h61COMMENT
LOWinc/basics.h141// This is for GNU Hurd, not GCC.COMMENT
LOWinc/gprogress.h61COMMENT
LOWinc/ffunistd.h41#include <direct.h>COMMENT
LOWinc/ffunistd.h61#endifCOMMENT
LOWinc/carbon.h1#ifndef FONTFORGE_CARBON_HCOMMENT
LOWinc/intl.h41# endifCOMMENT
LOWinc/ffglib.h21COMMENT
LOWinc/ffglib.h41COMMENT
LOWinc/ffgdk.h41#include <gtk/gtk.h>COMMENT
LOWfontforgeexe/displayfonts.c21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;COMMENT
LOWfontforgeexe/displayfonts.c81#define CID_lpr 1002COMMENT
LOWfontforgeexe/displayfonts.c561 if ( fv->b.selected[i] && (gid=fv->b.map->map[i])!=-1 &&COMMENT
LOWfontforgeexe/displayfonts.c581#define CID_SizeLab 2003COMMENT
LOWfontforgeexe/tilepath.c21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;COMMENT
LOWfontforgeexe/problems.cpp41COMMENT
LOWfontforgeexe/problems.cpp101 struct mlrpl *mlt;COMMENT
LOWfontforgeexe/problems.cpp121#define CID_HintNoPt 1007COMMENT
LOWfontforgeexe/problems.cpp141#define CID_TooManyHints 1035COMMENT
LOWfontforgeexe/startui.c21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;COMMENT
LOWfontforgeexe/startui.c41#include "lookups.h"COMMENT
LOWfontforgeexe/startui.c61#elseCOMMENT
LOWfontforgeexe/prefs.c21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,COMMENT
LOWfontforgeexe/prefs.c41#include "plugin.h"COMMENT
LOWfontforgeexe/cursors.c321 0x20, 0x49, 0x92, 0x20, 0x49, 0x92, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00};COMMENT
LOWfontforgeexe/cursors.c401#define rotate3dcur_width 16COMMENT
LOWfontforgeexe/cursors.c461#define rectcur_height 8COMMENT
LOWfontforgeexe/cursors.c521#define shift_x_hot 7COMMENT
LOWfontforgeexe/mv_mids.h21/* Display options */COMMENT
LOWfontforgeexe/mv_mids.h41#define MV_MID_AnchorPairs 3019COMMENT
LOWfontforgeexe/mv_mids.h81COMMENT
LOWfontforgeexe/mv_mids.h101#define MV_MID_BuildComposite 3112COMMENT
LOWfontforgeexe/mv_mids.h121#define MV_MID_Thirds 3151COMMENT
LOWfontforgeexe/math.c21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;COMMENT
LOWfontforgeexe/effectsui.c21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;COMMENT
LOWfontforgeexe/transform.c41 void *userdata;COMMENT
LOWfontforgeexe/transform.c61#define CID_Angle 1004COMMENT
LOWfontforgeexe/charinfo.c21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,COMMENT
LOWfontforgeexe/charinfo.c81#define CID_ComponentTextField 1008COMMENT
LOWfontforgeexe/charinfo.c101#define CID_AccentDevTab 1025COMMENT
LOWfontforgeexe/charinfo.c121#define CID_MergeResults 1115COMMENT
LOWfontforgeexe/scstylesui.c341#define CID_Feature 1001COMMENT
LOWfontforgeexe/scstylesui.c361#define CID_LSBPercent 1026COMMENT
LOWfontforgeexe/scstylesui.c1821#define CID_Custom 1005COMMENT
244 more matches not shown…
Decorative Section Separators47 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMpyproject.toml99# ============================================================================COMMENT
MEDIUMpyproject.toml101# ============================================================================COMMENT
MEDIUMUnicode/makeutype.py188# --------------------------------------------------------------------COMMENT
MEDIUMUnicode/makeutype.py331# --------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test926.py76# ----------------------COMMENT
MEDIUM⚡tests/test926.py78# ----------------------COMMENT
MEDIUMtests/test926.py166# ------------COMMENT
MEDIUMtests/test926.py522# ----------------------COMMENT
MEDIUMtests/test926.py524# ----------------------COMMENT
MEDIUMtests/test926.py569# -------------COMMENT
MEDIUMtests/test926.py571# -------------COMMENT
MEDIUMtests/test926.py1744# ----------------COMMENT
MEDIUMtests/test926.py1746# ----------------COMMENT
MEDIUMtests/test926.py1804# -------------------------COMMENT
MEDIUMtests/test926.py1806# -------------------------COMMENT
MEDIUM⚡tests/test926.py86 # ----------STRING
MEDIUM⚡tests/test926.py88 # ----------STRING
MEDIUMtests/test926.py120 # --------------STRING
MEDIUMtests/test926.py122 # --------------STRING
MEDIUMtests/test926.py768# -------------STRING
MEDIUMtests/test926.py770# -------------STRING
MEDIUMtests/test926.py903# ----------------------STRING
MEDIUMtests/test926.py905# ----------------------STRING
MEDIUMtests/test926.py1205# -----------------STRING
MEDIUMtests/test926.py1207# -----------------STRING
MEDIUMtests/test926.py1248# ----------------STRING
MEDIUMtests/test926.py1250# ----------------STRING
MEDIUMtests/test926.py1899# ------------------STRING
MEDIUMtests/test926.py1901# ------------------STRING
MEDIUMtests/test926.py1953# ---------------------------------STRING
MEDIUMtests/test926.py1955# ---------------------------------STRING
MEDIUMtests/test926.py2575# ------------------STRING
MEDIUMtests/test926.py2577# ------------------STRING
MEDIUMtests/test926.py2629# -----------------------STRING
MEDIUMtests/test926.py2631# -----------------------STRING
MEDIUMtests/test926.py2650# ---------------STRING
MEDIUMtests/test926.py2652# ---------------STRING
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py2# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py4# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py88# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py90# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py131# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py133# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py166# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py168# ========================================================COMMENT
MEDIUMpycontrib/GlyphAlignment/GlyphAlignment.py209# ========================================================COMMENT
MEDIUM.github/workflows/scripts/ffosxbuild.sh111# ---------------------------------------------------------------------------COMMENT
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtests/test931.py83except:CODE
HIGHtests/test931.py90except:CODE
HIGHtests/test931.py97except:CODE
HIGHtests/test931.py113except:CODE
HIGHtests/test931.py121except:CODE
HIGHtests/test931.py150except:CODE
HIGHtests/test0004.py15except TypeError:CODE
HIGHtests/test930.py145except TypeError:CODE
HIGHtests/test930.py152except TypeError:CODE
HIGHtests/test930.py213except:CODE
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHpycontrib/FontCompare/setup.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/BitmapHandler.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/__init__.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/FontCompare.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/DocCompare.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/main_ui.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/mockify.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/fc/GlyphConsistency.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
HIGHpycontrib/FontCompare/unittests/unittests.py0copyright (c) 2013 mayank jha <mayank25080562@gmail.com> this library is free software; you can redistribute it and/or mSTRING
Self-Referential Comments6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_font_hooks.py8# Create a new font. We expect to find the dummy character which was createdCOMMENT
MEDIUMtests/test_bitmap_export.py59 # Create a descriptive filename with font type labelCOMMENT
MEDIUMtests/test1006.py22# Create a glyph for the 'x' letter, so that math->AccentBaseHeight is nonzero.COMMENT
MEDIUMtests/test1006.py39# Create a glyph for the '+' letter, so that math->AxisHeight is nonzero.COMMENT
MEDIUMtests/test_export.py1# Create a font with one glyph and another glyph referencing it, export theCOMMENT
MEDIUMpo/toengb.c152 fprintf( output, "# This file is distributed under the same license as the FontForge package.\n" );CODE
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHUnicode/makeutype.py707 fprint(" if (ch >= 0x600 && ch <= 0x6ff) {")CODE
HIGHUnicode/makeutype.py913 fprint(" if (ch >= 0xAC00 && ch <= 0xD7A3) {")CODE
HIGHUnicode/makeutype.py931 range_cond = "ch >= 0x%X && ch <= 0x%X" % (start, end)CODE
Deep Nesting17 hits · 14 pts
SeverityFileLineSnippetContext
LOWUnicode/makeutype.py335CODE
LOWUnicode/makeutype.py714CODE
LOWUnicode/makeutype.py198CODE
LOWUnicode/data/makeutypedata.py20CODE
LOWtests/test_bitmap_export.py122CODE
LOWtests/test926.py639CODE
LOWtests/test926.py1013CODE
LOWtests/test926.py1453CODE
LOWtests/test926.py1566CODE
LOWtests/test926.py1651CODE
LOWtests/test926.py2043CODE
LOWtests/test926.py2173CODE
LOWpycontrib/GlyphAlignment/GlyphAlignment.py91CODE
LOWpo/fix_newlines.py4CODE
LOWdoc/sphinx/_extensions/flex_grid.py72CODE
LOWdoc/sphinx/_extensions/flex_grid.py139CODE
LOWdoc/sphinx/_extensions/fontforge_scripting_domain.py247CODE
Unused Imports13 hits · 12 pts
SeverityFileLineSnippetContext
LOWUnicode/makeutype.py14CODE
LOWtests/test1010.py3CODE
LOWtests/test0004.py3CODE
LOWtests/test934.py5CODE
LOWtests/test_generate.py3CODE
LOWtests/test_generate.py3CODE
LOWtests/test_generate.py3CODE
LOWtests/test932.py3CODE
LOWtests/pyhook_smoketest.py2CODE
LOWtests/pyhook_smoketest.py5CODE
LOWtests/test926.py67CODE
LOW_build_meta/version_provider.py4CODE
LOWdoc/sphinx/_extensions/flex_grid.py35CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/test_math_device_table.py28# Set table to NoneCOMMENT
LOWtests/test_math_device_table.py34# Set element to NoneCOMMENT
LOWcontrib/setup_mac_deps.sh23# Check if running on macOSCOMMENT
LOWpo/fix_newlines.py30 # Check if msgid ends with a newlineCOMMENT
LOWpo/crowdin_id_update.sh3# Check if a file is provided as an argumentCOMMENT
LOWpo/crowdin_id_update.sh9# Read the file line by lineCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHgdraw/ggdkdraw.c1088 // I've added autopaint cleanups before such calls, so this shouldCOMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWUnicode/data/makeutypedata.py20def map_canonical_combining_class(ccc: int) -> Pose:CODE
LOWtests/test_bitmap_export.py25def _make_deterministic_environment() -> None:CODE
LOWtests/test_bitmap_export.py81def _assert_identical_outputs(generated_files: list[str], refs_dir: str) -> None:CODE
LOWtests/test926.py2457 function testResultToggleButtonHit(buttonID, className) {CODE
LOWpycontrib/FontCompare/fc/GlyphConsistency.py63 def glyph_basicset_consistency(self, font, range_tuple):CODE
LOWpycontrib/GlyphAlignment/GlyphAlignment.py15def parse_and_apply_transform(glyph, command_str):CODE
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/test_bitmap_export.py72 except Exception as e:CODE
LOWtests/test_contextual_multirule.py95 except Exception:CODE
LOWtests/test_style_set_names.py91 except Exception:CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/test926.py46# or publicity pertaining to the work without specific, written priorCOMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOW_build_meta/version_provider.py13__all__ = ["dynamic_metadata"]CODE
LOWpycontrib/FontCompare/fc/__init__.py33__all__ = ["FontCompare", "GlyhCompare","GlyphConsistency", \CODE
LOWdoc/sphinx/_extensions/fontforge_scripting_domain.py35logger = logging.getLogger(__name__)CODE
AI Structural Patterns4 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test926.py535CODE
LOWtests/test926.py1853CODE
LOWtests/test926.py1860CODE
LOWtests/test926.py2627CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpo/fix_newlines.py47# Example usageCOMMENT