AI Slop Code RIsk Monitor

SFML/SFML

Simple and Fast Multimedia Library

13.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for SFML/SFML, a C++ project with 12,057 GitHub stars. SynthScan examined 180,054 lines of code across 629 source files, recording 2505 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 13.1 (Moderate 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.

13.1
Adjusted Signal
13.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
12.1K
Stars
C++
Language
180.1K
Lines of Code
629
Files
2.5K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 48.1/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 2505 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? 0 finding(s).

PR Review Velocity Impact 50.1/100 · HIGH

Which changes need focused human review? 2505 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 1LOW 2504

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 2505 distinct pattern matches across 4 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 Block2437 hits · 2256 pts
SeverityFileLineSnippetContext
LOWtest/Network/Dns.test.cpp1#include <SFML/Network/Dns.hpp>COMMENT
LOWtest/Network/SocketSelector.test.cpp1#include <SFML/Network/SocketSelector.hpp>COMMENT
LOWtest/Network/SocketSelector.test.cpp41 << SFML_NETWORK_TESTS_MAX_FDS << std::endl;COMMENT
LOWtest/Network/Packet.test.cpp1#include <SFML/Network/Packet.hpp>COMMENT
LOWtest/Network/IpAddress.test.cpp1#include <SFML/Network/IpAddress.hpp>COMMENT
LOWtest/Network/IpAddress.test.cpp61 // Strings that fail parsing as an IP address will be treated as hostnamesCOMMENT
LOWtest/Network/TcpLoopback.test.cpp1#include <SFML/Network/SocketSelector.hpp>COMMENT
LOWtest/TestUtilities/SystemUtil.cpp1#include <SFML/System/Angle.hpp>COMMENT
LOWtest/System/String.test.cpp1#include <SFML/System/String.hpp>COMMENT
LOWtest/System/Utf.test.cpp1// Some versions of GCC produce a false positive maybe-uninitialized warning when building this file in releaseCOMMENT
LOWtest/Audio/Music.test.cpp1#include <SFML/Audio/Music.hpp>COMMENT
LOWtest/Audio/SoundFileFactory.test.cpp1#include <SFML/Audio/SoundFileFactory.hpp>COMMENT
LOWtest/Window/Context.test.cpp1#include <SFML/Window/Context.hpp>COMMENT
LOWtest/Window/Keyboard.test.cpp1#include <SFML/Window/Keyboard.hpp>COMMENT
LOWtest/Window/WindowBase.test.cpp1#include <SFML/Window/WindowBase.hpp>COMMENT
LOWtest/Graphics/Text.test.cpp1#include <SFML/Graphics/Text.hpp>COMMENT
LOWtest/Graphics/WindowHandleWin32.test.cpp1#include <SFML/Window/WindowHandle.hpp>COMMENT
LOWinclude/SFML/GpuPreference.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/GpuPreference.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/GpuPreference.hpp41COMMENT
LOWinclude/SFML/Main.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Main.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Graphics.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Graphics.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Graphics.hpp41#include <SFML/Graphics/RectangleShape.hpp>COMMENT
LOWinclude/SFML/Graphics.hpp61COMMENT
LOWinclude/SFML/OpenGL.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/OpenGL.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/OpenGL.hpp41#ifdef _MSC_VERCOMMENT
LOWinclude/SFML/OpenGL.hpp61COMMENT
LOWinclude/SFML/Config.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Config.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Config.hpp41#if defined(_WIN32)COMMENT
LOWinclude/SFML/Config.hpp61// macOSCOMMENT
LOWinclude/SFML/Config.hpp81// LinuxCOMMENT
LOWinclude/SFML/Config.hpp101// Unsupported UNIX systemCOMMENT
LOWinclude/SFML/Config.hpp121COMMENT
LOWinclude/SFML/Config.hpp141#define SFML_API_IMPORT __declspec(dllimport)COMMENT
LOWinclude/SFML/Config.hpp161#define SFML_API_EXPORTCOMMENT
LOWinclude/SFML/System.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/System.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/System.hpp41#include <SFML/System/String.hpp>COMMENT
LOWinclude/SFML/Window.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Window.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Window.hpp41#include <SFML/Window/VideoMode.hpp>COMMENT
LOWinclude/SFML/Audio.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Audio.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Audio.hpp41#include <SFML/Audio/SoundFileWriter.hpp>COMMENT
LOWinclude/SFML/Network.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Network.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Network.hpp41#include <SFML/Network/TcpSocket.hpp>COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp1////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp21// 3. This notice may not be removed or altered from any source distribution.COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp41namespace sfCOMMENT
LOWinclude/SFML/Network/UdpSocket.hpp61 ////////////////////////////////////////////////////////////COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp81 /// able to receive data on that port.COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp101COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp121 /// fail and no data will be sent.COMMENT
LOWinclude/SFML/Network/UdpSocket.hpp141 /// the data that you intend to receive, if it is too smallCOMMENT
LOWinclude/SFML/Network/UdpSocket.hpp161COMMENT
2377 more matches not shown…
Example Usage Blocks55 hits · 82 pts
SeverityFileLineSnippetContext
LOWinclude/SFML/Network/UdpSocket.hpp252/// Usage example:COMMENT
LOWinclude/SFML/Network/Dns.hpp188/// Usage example:COMMENT
LOWinclude/SFML/Network/SocketSelector.hpp303/// Usage example:COMMENT
LOWinclude/SFML/Network/Sftp.hpp902/// Usage example:COMMENT
LOWinclude/SFML/Network/Http.hpp462/// Usage example:COMMENT
LOWinclude/SFML/Network/IpAddress.hpp417/// Usage example:COMMENT
LOWinclude/SFML/Network/TcpListener.hpp144/// Usage example:COMMENT
LOWinclude/SFML/Network/Packet.hpp176 /// Usage example:COMMENT
LOWinclude/SFML/Network/Packet.hpp453/// Usage example:COMMENT
LOWinclude/SFML/Network/Ftp.hpp592/// Usage example:COMMENT
LOWinclude/SFML/Network/TcpSocket.hpp656/// Usage example:COMMENT
LOWinclude/SFML/System/Angle.hpp496/// Usage example:COMMENT
LOWinclude/SFML/System/Time.hpp474/// Usage example:COMMENT
LOWinclude/SFML/System/MemoryInputStream.hpp129/// Usage example:COMMENT
LOWinclude/SFML/System/InputStream.hpp113/// Usage example:COMMENT
LOWinclude/SFML/System/TimeoutWithPredicate.hpp168/// Usage example:COMMENT
LOWinclude/SFML/System/FileInputStream.hpp201/// Usage example:COMMENT
LOWinclude/SFML/System/Clock.hpp179/// Usage example:COMMENT
LOWinclude/SFML/System/Vector3.hpp341/// Usage example:COMMENT
LOWinclude/SFML/System/Vector2.hpp421/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundFileReader.hpp128/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundBuffer.hpp416/// Usage example:COMMENT
LOWinclude/SFML/Audio/Music.hpp360/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundFileWriter.hpp99/// Usage example:COMMENT
LOWinclude/SFML/Audio/Sound.hpp275/// Usage example:COMMENT
LOWinclude/SFML/Audio/Listener.hpp222/// Usage example:COMMENT
LOWinclude/SFML/Audio/InputSoundFile.hpp300/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundBufferRecorder.hpp123/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundRecorder.hpp310/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundStream.hpp339/// Usage example:COMMENT
LOWinclude/SFML/Audio/SoundFileFactory.hpp189/// Usage example:COMMENT
LOWinclude/SFML/Audio/OutputSoundFile.hpp130/// Usage example:COMMENT
LOWinclude/SFML/Window/Cursor.hpp291/// Usage example:COMMENT
LOWinclude/SFML/Window/Keyboard.hpp453/// Usage example:COMMENT
LOWinclude/SFML/Window/Joystick.hpp193/// Usage example:COMMENT
LOWinclude/SFML/Window/Clipboard.hpp88/// Usage example:COMMENT
LOWinclude/SFML/Window/Touch.hpp130/// Usage example:COMMENT
LOWinclude/SFML/Window/Sensor.hpp125/// Usage example:COMMENT
LOWinclude/SFML/Window/Window.hpp393/// Usage example:COMMENT
LOWinclude/SFML/Window/Context.hpp210/// Usage example:COMMENT
LOWinclude/SFML/Window/Mouse.hpp167/// Usage example:COMMENT
LOWinclude/SFML/Window/VideoMode.hpp207/// Usage example:COMMENT
LOWinclude/SFML/Window/WindowBase.hpp633/// Usage example:COMMENT
LOWinclude/SFML/Graphics/RectangleShape.hpp130/// Usage example:COMMENT
LOWinclude/SFML/Graphics/CircleShape.hpp143/// Usage example:COMMENT
LOWinclude/SFML/Graphics/Rect.hpp183/// Usage example:COMMENT
LOWinclude/SFML/Graphics/StencilMode.hpp214/// Usage example:COMMENT
LOWinclude/SFML/Graphics/RenderTexture.hpp297/// Usage example:COMMENT
LOWinclude/SFML/Graphics/Sprite.hpp261/// Usage example:COMMENT
LOWinclude/SFML/Graphics/Font.hpp610/// Usage example:COMMENT
LOWinclude/SFML/Graphics/Texture.hpp822/// Usage example:COMMENT
LOWinclude/SFML/Graphics/View.hpp327/// Usage example:COMMENT
LOWinclude/SFML/Graphics/ConvexShape.hpp139/// Usage example:COMMENT
LOWinclude/SFML/Graphics/Text.hpp856/// Usage example:COMMENT
LOWinclude/SFML/Graphics/Image.hpp393/// Usage example:COMMENT
Slop Phrases12 hits · 18 pts
SeverityFileLineSnippetContext
LOWinclude/SFML/Audio/SoundBufferRecorder.hpp119/// As usual, don't forget to call the `isAvailable()` functionCOMMENT
LOWinclude/SFML/Graphics/RenderTexture.hpp212 /// (like a RenderWindow) don't forget to activate it again.COMMENT
LOWinclude/SFML/Graphics/RenderTexture.hpp338/// 3D rendering, don't forget to request it when calling `RenderTexture::create`.COMMENT
LOWinclude/SFML/Graphics/RenderTarget.hpp374 /// don't forget to activate it again. Activating a renderCOMMENT
LOWinclude/SFML/Graphics/VertexBuffer.hpp132 /// as `vertexCount`. Don't forget to recreate with a non-zeroCOMMENT
MEDIUMexamples/event_handling/EventHandling.cpp121 // This example is for demonstration purposes onlyCOMMENT
LOWexamples/win32/Win32.cpp166 // Don't forget to unregister the window classCOMMENT
LOW.github/ISSUE_TEMPLATE/feature_request.yml26 placeholder: "Tell us what you see! And don't forget to add error message in full"CODE
LOW.github/ISSUE_TEMPLATE/bug_report.yml26 placeholder: "Tell us what you see! And don't forget to add error message in full"CODE
LOWsrc/SFML/Audio/InputSoundFile.cpp192 // Don't forget to reset the stream to its beginning before re-opening itCOMMENT
LOWsrc/SFML/Window/macOS/SFOpenGLView+mouse.mm402 // Don't forget to change to SFML coord system.COMMENT
LOWsrc/SFML/Window/iOS/WindowImplUIKit.mm140 // if these sizes are required one day, don't forget to scale them!COMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/SFML/Window/macOS/HIDInputManager.mm751 // The purpose of this function is to initialize m_keys so we can getCOMMENT