Simple and Fast Multimedia Library
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2505 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 2505 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/Network/Dns.test.cpp | 1 | #include <SFML/Network/Dns.hpp> | COMMENT |
| LOW | test/Network/SocketSelector.test.cpp | 1 | #include <SFML/Network/SocketSelector.hpp> | COMMENT |
| LOW | test/Network/SocketSelector.test.cpp | 41 | << SFML_NETWORK_TESTS_MAX_FDS << std::endl; | COMMENT |
| LOW | test/Network/Packet.test.cpp | 1 | #include <SFML/Network/Packet.hpp> | COMMENT |
| LOW | test/Network/IpAddress.test.cpp | 1 | #include <SFML/Network/IpAddress.hpp> | COMMENT |
| LOW | test/Network/IpAddress.test.cpp | 61 | // Strings that fail parsing as an IP address will be treated as hostnames | COMMENT |
| LOW | test/Network/TcpLoopback.test.cpp | 1 | #include <SFML/Network/SocketSelector.hpp> | COMMENT |
| LOW | test/TestUtilities/SystemUtil.cpp | 1 | #include <SFML/System/Angle.hpp> | COMMENT |
| LOW | test/System/String.test.cpp | 1 | #include <SFML/System/String.hpp> | COMMENT |
| LOW | test/System/Utf.test.cpp | 1 | // Some versions of GCC produce a false positive maybe-uninitialized warning when building this file in release | COMMENT |
| LOW | test/Audio/Music.test.cpp | 1 | #include <SFML/Audio/Music.hpp> | COMMENT |
| LOW | test/Audio/SoundFileFactory.test.cpp | 1 | #include <SFML/Audio/SoundFileFactory.hpp> | COMMENT |
| LOW | test/Window/Context.test.cpp | 1 | #include <SFML/Window/Context.hpp> | COMMENT |
| LOW | test/Window/Keyboard.test.cpp | 1 | #include <SFML/Window/Keyboard.hpp> | COMMENT |
| LOW | test/Window/WindowBase.test.cpp | 1 | #include <SFML/Window/WindowBase.hpp> | COMMENT |
| LOW | test/Graphics/Text.test.cpp | 1 | #include <SFML/Graphics/Text.hpp> | COMMENT |
| LOW | test/Graphics/WindowHandleWin32.test.cpp | 1 | #include <SFML/Window/WindowHandle.hpp> | COMMENT |
| LOW | include/SFML/GpuPreference.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/GpuPreference.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/GpuPreference.hpp | 41 | COMMENT | |
| LOW | include/SFML/Main.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Main.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Graphics.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Graphics.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Graphics.hpp | 41 | #include <SFML/Graphics/RectangleShape.hpp> | COMMENT |
| LOW | include/SFML/Graphics.hpp | 61 | COMMENT | |
| LOW | include/SFML/OpenGL.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/OpenGL.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/OpenGL.hpp | 41 | #ifdef _MSC_VER | COMMENT |
| LOW | include/SFML/OpenGL.hpp | 61 | COMMENT | |
| LOW | include/SFML/Config.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Config.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Config.hpp | 41 | #if defined(_WIN32) | COMMENT |
| LOW | include/SFML/Config.hpp | 61 | // macOS | COMMENT |
| LOW | include/SFML/Config.hpp | 81 | // Linux | COMMENT |
| LOW | include/SFML/Config.hpp | 101 | // Unsupported UNIX system | COMMENT |
| LOW | include/SFML/Config.hpp | 121 | COMMENT | |
| LOW | include/SFML/Config.hpp | 141 | #define SFML_API_IMPORT __declspec(dllimport) | COMMENT |
| LOW | include/SFML/Config.hpp | 161 | #define SFML_API_EXPORT | COMMENT |
| LOW | include/SFML/System.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/System.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/System.hpp | 41 | #include <SFML/System/String.hpp> | COMMENT |
| LOW | include/SFML/Window.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Window.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Window.hpp | 41 | #include <SFML/Window/VideoMode.hpp> | COMMENT |
| LOW | include/SFML/Audio.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Audio.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Audio.hpp | 41 | #include <SFML/Audio/SoundFileWriter.hpp> | COMMENT |
| LOW | include/SFML/Network.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Network.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Network.hpp | 41 | #include <SFML/Network/TcpSocket.hpp> | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 1 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 21 | // 3. This notice may not be removed or altered from any source distribution. | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 41 | namespace sf | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 61 | //////////////////////////////////////////////////////////// | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 81 | /// able to receive data on that port. | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 101 | COMMENT | |
| LOW | include/SFML/Network/UdpSocket.hpp | 121 | /// fail and no data will be sent. | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 141 | /// the data that you intend to receive, if it is too small | COMMENT |
| LOW | include/SFML/Network/UdpSocket.hpp | 161 | COMMENT | |
| 2377 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/SFML/Network/UdpSocket.hpp | 252 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/Dns.hpp | 188 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/SocketSelector.hpp | 303 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/Sftp.hpp | 902 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/Http.hpp | 462 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/IpAddress.hpp | 417 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/TcpListener.hpp | 144 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/Packet.hpp | 176 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/Packet.hpp | 453 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/Ftp.hpp | 592 | /// Usage example: | COMMENT |
| LOW | include/SFML/Network/TcpSocket.hpp | 656 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/Angle.hpp | 496 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/Time.hpp | 474 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/MemoryInputStream.hpp | 129 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/InputStream.hpp | 113 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/TimeoutWithPredicate.hpp | 168 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/FileInputStream.hpp | 201 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/Clock.hpp | 179 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/Vector3.hpp | 341 | /// Usage example: | COMMENT |
| LOW | include/SFML/System/Vector2.hpp | 421 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundFileReader.hpp | 128 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundBuffer.hpp | 416 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/Music.hpp | 360 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundFileWriter.hpp | 99 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/Sound.hpp | 275 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/Listener.hpp | 222 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/InputSoundFile.hpp | 300 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundBufferRecorder.hpp | 123 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundRecorder.hpp | 310 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundStream.hpp | 339 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/SoundFileFactory.hpp | 189 | /// Usage example: | COMMENT |
| LOW | include/SFML/Audio/OutputSoundFile.hpp | 130 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Cursor.hpp | 291 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Keyboard.hpp | 453 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Joystick.hpp | 193 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Clipboard.hpp | 88 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Touch.hpp | 130 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Sensor.hpp | 125 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Window.hpp | 393 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Context.hpp | 210 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/Mouse.hpp | 167 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/VideoMode.hpp | 207 | /// Usage example: | COMMENT |
| LOW | include/SFML/Window/WindowBase.hpp | 633 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/RectangleShape.hpp | 130 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/CircleShape.hpp | 143 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/Rect.hpp | 183 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/StencilMode.hpp | 214 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/RenderTexture.hpp | 297 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/Sprite.hpp | 261 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/Font.hpp | 610 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/Texture.hpp | 822 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/View.hpp | 327 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/ConvexShape.hpp | 139 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/Text.hpp | 856 | /// Usage example: | COMMENT |
| LOW | include/SFML/Graphics/Image.hpp | 393 | /// Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | include/SFML/Audio/SoundBufferRecorder.hpp | 119 | /// As usual, don't forget to call the `isAvailable()` function | COMMENT |
| LOW | include/SFML/Graphics/RenderTexture.hpp | 212 | /// (like a RenderWindow) don't forget to activate it again. | COMMENT |
| LOW | include/SFML/Graphics/RenderTexture.hpp | 338 | /// 3D rendering, don't forget to request it when calling `RenderTexture::create`. | COMMENT |
| LOW | include/SFML/Graphics/RenderTarget.hpp | 374 | /// don't forget to activate it again. Activating a render | COMMENT |
| LOW | include/SFML/Graphics/VertexBuffer.hpp | 132 | /// as `vertexCount`. Don't forget to recreate with a non-zero | COMMENT |
| MEDIUM | examples/event_handling/EventHandling.cpp | 121 | // This example is for demonstration purposes only | COMMENT |
| LOW | examples/win32/Win32.cpp | 166 | // Don't forget to unregister the window class | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/feature_request.yml | 26 | placeholder: "Tell us what you see! And don't forget to add error message in full" | CODE |
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 26 | placeholder: "Tell us what you see! And don't forget to add error message in full" | CODE |
| LOW | src/SFML/Audio/InputSoundFile.cpp | 192 | // Don't forget to reset the stream to its beginning before re-opening it | COMMENT |
| LOW | src/SFML/Window/macOS/SFOpenGLView+mouse.mm | 402 | // Don't forget to change to SFML coord system. | COMMENT |
| LOW | src/SFML/Window/iOS/WindowImplUIKit.mm | 140 | // if these sizes are required one day, don't forget to scale them! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/SFML/Window/macOS/HIDInputManager.mm | 751 | // The purpose of this function is to initialize m_keys so we can get | COMMENT |