AI Slop Code Risk Monitor

FFmpeg/FFmpeg

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

Mirror of https://git.ffmpeg.org/ffmpeg.git

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for FFmpeg/FFmpeg, a C project with 66,108 GitHub stars. SynthScan examined 1,893,042 lines of code across 4833 source files, recording 1645 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 0.9 (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.

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
66.1K
Stars
C
Language
1.9M
Lines of Code
4.8K
Files
1.6K
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 4.3/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1643 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 0.0/100 · LOW

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

PR Review Velocity Impact 4.3/100 · LOW

Which changes need focused human review? 1645 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 3MEDIUM 12LOW 1630

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 1645 distinct pattern matches across 12 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 Block1617 hits · 1617 pts
SeverityFileLineSnippetContext
LOWtools/check_arm_indent.sh1#!/bin/shCOMMENT
LOWtools/target_dec_fuzzer.c41*/COMMENT
LOWtools/pktdumper.c21#include "config.h"COMMENT
LOWtools/target_swr_fuzzer.c21#include "config.h"COMMENT
LOWtools/check_commit_msg.sh1#!/bin/shCOMMENT
LOWtools/check_commit_msg.sh21# along with FFmpeg; if not, write to the Free Software Foundation, Inc.,COMMENT
LOWtools/check_commit_msg.sh41#COMMENT
LOWtools/enc_recon_frame_test.c21/* A test for AV_CODEC_FLAG_RECON_FRAMECOMMENT
LOWtools/fourcc2pixfmt.c21#include "config.h"COMMENT
LOWtools/cws2fws.c1/*COMMENT
LOWtools/qt-faststart.c21 * to be a moov atom. When given such a file, this utility will rearrangeCOMMENT
LOWtools/qt-faststart.c81#define FREE_ATOM QT_ATOM('f', 'r', 'e', 'e')COMMENT
LOWtools/crypto_bench.c21/* Optional external libraries; can be enabled using:COMMENT
LOWtools/crypto_bench.c341 * mbedcrypto: mbed TLSCOMMENT
LOWtools/target_enc_fuzzer.c21 */COMMENT
LOWtools/ffescape.c21#include "config.h"COMMENT
LOWtools/zmqsend.c21#include "config.h"COMMENT
LOWtools/ffhash.c21 */COMMENT
LOWtools/graph2dot.c21#include "config.h"COMMENT
LOWtools/target_dec_fate.sh1#!/bin/shCOMMENT
LOWtools/indent_arm_assembly.pl1#!/usr/bin/env perlCOMMENT
LOWtools/indent_arm_assembly.pl21# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;COMMENT
LOWtools/indent_arm_assembly.pl121 if ($rest !~ /,/) {COMMENT
LOWtools/ffeval.c21#include "config.h"COMMENT
LOWtools/scale_slice_test.c21#include <stdlib.h>COMMENT
LOWtools/probetest.c21#include <stdlib.h>COMMENT
LOWtools/python/tf_sess_config.py1# Copyright (c) 2021COMMENT
LOWcompat/w32dlfcn.h121 }COMMENT
LOWcompat/w32dlfcn.h141 av_free(name_w);COMMENT
LOWcompat/os2threads.h21/**COMMENT
LOWcompat/stdbit/stdbit.h21COMMENT
LOWcompat/cuda/cuda_runtime.h21 */COMMENT
LOWcompat/cuda/cuda_runtime.h101}COMMENT
LOWcompat/cuda/dynlink_loader.h21COMMENT
LOWcompat/atomics/stdatomic.h121#define kill_dependency(y) (y)COMMENT
LOWcompat/atomics/win32/stdatomic_impl.h301#undef WIN32_ATOMIC_XCHG_RELCOMMENT
LOWcompat/float/float.h21#include_next <float.h>COMMENT
LOWcompat/float/limits.h21#include_next <limits.h>COMMENT
LOWcompat/android/math.h21COMMENT
LOWcompat/windows/mscl.c41#include <stdlib.h>COMMENT
LOWcompat/solaris/make_sunver.pl1#!/usr/bin/env perlCOMMENT
LOWcompat/solaris/make_sunver.pl21COMMENT
LOWlibavfilter/af_aspectralstats.c21#include <float.h>COMMENT
LOWlibavfilter/vf_hflip.c21COMMENT
LOWlibavfilter/vf_mestimate_d3d12.c21 */COMMENT
LOWlibavfilter/vf_paletteuse.c21COMMENT
LOWlibavfilter/signature.h21/**COMMENT
LOWlibavfilter/vf_overlay_cuda.c21/**COMMENT
LOWlibavfilter/vf_scale.c21/**COMMENT
LOWlibavfilter/vf_pad.c21COMMENT
LOWlibavfilter/vf_ssim360.c41 * Calculate the SSIM between two input 360 videos.COMMENT
LOWlibavfilter/vf_ssim360.c61#define FRONT 4COMMENT
LOWlibavfilter/vf_shufflepixels.c21#include "libavutil/avassert.h"COMMENT
LOWlibavfilter/vf_fftfilt.c21COMMENT
LOWlibavfilter/vsrc_life.c21/**COMMENT
LOWlibavfilter/vf_fspp.c41#include "libavutil/mem_internal.h"COMMENT
LOWlibavfilter/vf_minterpolate.c21COMMENT
LOWlibavfilter/vf_blend.c21#include "config_components.h"COMMENT
LOWlibavfilter/af_ashowinfo.c21/**COMMENT
LOWlibavfilter/avf_showcqt.c21#include "config.h"COMMENT
1557 more matches not shown…
AI Slop Vocabulary9 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/indent_arm_assembly.pl101 # don't try to realign the line at all, just return the inputCOMMENT
LOWtools/indent_arm_assembly.pl195 # Not enough space for the label; just add a space between the labelCOMMENT
MEDIUMlibavformat/movenc.c765 // in the case of fragmented MP4, utilize the following values asCOMMENT
MEDIUMlibavformat/movenc.c785 // utilize values from properties if we have them availableCOMMENT
MEDIUMlibavformat/mpegtsenc.c340 // Here we utilize a pre-defined set of values defined in ARIB TR-B14,COMMENT
LOWlibavformat/avformat.h1560#define AVFMT_FLAG_NOFILLIN 0x0010 ///< Do not infer any values from other values, just return what is stored in theCOMMENT
MEDIUMlibavcodec/mfenc.c189 // (Certainly any lossy codec will have frames much smaller than 1 second.)COMMENT
MEDIUMlibavcodec/cbs_jpeg.c97 // Definitely too short to be meaningful.COMMENT
MEDIUMlibavcodec/aac/aacdec.c410 // For everything else, utilize the AV channel position define as aCOMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtools/check_commit_msg.sh8# This file is part of FFmpeg.COMMENT
MEDIUMtools/python/tf_sess_config.py3# This file is part of FFmpeg.COMMENT
MEDIUMcompat/solaris/make_sunver.pl8# This file is free software; you can redistribute it and/or modify itCOMMENT
MEDIUMdoc/texi2pod.pl5# This file is part of GNU CC.COMMENT
MEDIUMdoc/t2h.pm7# This file is part of FFmpeg.COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHlibavformat/avformat.h1575#define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxerCOMMENT
HIGHlibavformat/avformat.h1575#define AVFMT_FLAG_AUTO_BSF 0x200000 ///< Add bitstream filters as requested by the muxerCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/zmqshell.py62except KeyboardInterrupt:CODE
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/python/tf_sess_config.py18# ==============================================================================COMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlibavformat/dss.c269 /* We make one byte-step here. Don't forget to add offset. */COMMENT
LOWlibavformat/matroskaenc.c2880 // Don't forget to increment the number of BlockMore when addingCOMMENT
Hyper-Verbose Identifiers2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/checkasm/ext/include/checkasm/utils.h735 * @def checkasm_check_rect_padded(rect1, ...)COMMENT
LOWtests/checkasm/ext/include/checkasm/utils.h745 * @def checkasm_check_rect_padded_align(rect1, ...)COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlibavcodec/j2kenc.c1681 // TODO: implement setting non-standard precinct sizeCOMMENT
LOWlibavcodec/opus/silk.c671 // TODO: implement error recoveryCOMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.forgejo/inject-pr-samples.py61CODE
LOW.forgejo/inject-pr-samples.py104CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/update-checkasm.sh12 # Set IFS to contain only a newline, no regular space, to make theCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtools/check_commit_msg.sh26# Usage:COMMENT