Simple and Fast Multimedia Library
This report presents the forensic synthetic code analysis of SFML/SFML, a C++ project with 11,978 GitHub stars. SynthScan v2.0 examined 179,802 lines of code across 629 source files, recording 2500 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 13.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2500 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | |
| 2372 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 |