One framework for creating powerful cross-platform games.
This report summarizes scanner evidence for MonoGame/MonoGame, a C# project with 14,592 GitHub stars. SynthScan examined 277,754 lines of code across 1451 source files, recording 1041 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 4.1 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 1029 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 1041 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 1041 distinct pattern matches across 8 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 | MonoGame.Framework/BoundingSphere.cs | 561 | COMMENT | |
| LOW | MonoGame.Framework/BoundingSphere.cs | 601 | /// Deconstruction method for <see cref="BoundingSphere"/>. | COMMENT |
| LOW | MonoGame.Framework/Game.cs | 361 | COMMENT | |
| LOW | MonoGame.Framework/Game.cs | 501 | private Stopwatch _gameTimer; | COMMENT |
| LOW | MonoGame.Framework/Game.cs | 661 | /// <summary> | COMMENT |
| LOW | MonoGame.Framework/GameServiceContainer.cs | 21 | public GameServiceContainer() | COMMENT |
| LOW | MonoGame.Framework/GameServiceContainer.cs | 81 | } | COMMENT |
| LOW | MonoGame.Framework/FrameworkDispatcher.cs | 1 | // MonoGame - Copyright (C) MonoGame Foundation, Inc | COMMENT |
| LOW | MonoGame.Framework/GamePlatform.cs | 121 | #endregion Events | COMMENT |
| LOW | MonoGame.Framework/GamePlatform.cs | 141 | /// <returns></returns> | COMMENT |
| LOW | MonoGame.Framework/GamePlatform.cs | 161 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/GamePlatform.cs | 181 | COMMENT | |
| LOW | MonoGame.Framework/GamePlatform.cs | 201 | { | COMMENT |
| LOW | MonoGame.Framework/GamePlatform.cs | 221 | /// The new width of the game's client window. | COMMENT |
| LOW | MonoGame.Framework/DrawableGameComponent.cs | 1 | // MonoGame - Copyright (C) MonoGame Foundation, Inc | COMMENT |
| LOW | MonoGame.Framework/DrawableGameComponent.cs | 21 | private bool _disposed; | COMMENT |
| LOW | MonoGame.Framework/Quaternion.cs | 21 | COMMENT | |
| LOW | MonoGame.Framework/Quaternion.cs | 41 | [DataMember] | COMMENT |
| LOW | MonoGame.Framework/Quaternion.cs | 261 | /// <summary> | COMMENT |
| LOW | MonoGame.Framework/Quaternion.cs | 541 | COMMENT | |
| LOW | MonoGame.Framework/Quaternion.cs | 581 | COMMENT | |
| LOW | MonoGame.Framework/Quaternion.cs | 881 | COMMENT | |
| LOW | MonoGame.Framework/Quaternion.cs | 921 | COMMENT | |
| LOW | MonoGame.Framework/Quaternion.cs | 1041 | #region Operators | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 121 | #endregion | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 241 | /// Compares whether two <see cref="Vector2"/> instances are equal. | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 281 | /// <paramref name="value2"/>, storing the result of the | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 341 | /// Creates a new <see cref="Vector2"/> that contains CatmullRom interpolation of the specified vectors. | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 401 | /// <summary> | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 461 | COMMENT | |
| LOW | MonoGame.Framework/Vector2.cs | 501 | /// <summary> | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 521 | { | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 601 | return (X.GetHashCode() * 397) ^ Y.GetHashCode(); | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 621 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 641 | } | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 681 | /// Uses <see cref="MathHelper.LerpPrecise"/> on MathHelper for the interpolation. | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 701 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 721 | value1.Y > value2.Y ? value1.Y : value2.Y); | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 761 | /// Creates a new <see cref="Vector2"/> that contains a multiplication of two vectors. | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 961 | /// <summary> | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 1001 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 1021 | result.Y = MathF.Round(value.Y, digits, mode); | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 1061 | } | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 1361 | (normal.X * matrix.M12) + (normal.Y * matrix.M22)); | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 1401 | Y = oldx * sin + Y * cos; | COMMENT |
| LOW | MonoGame.Framework/Vector2.cs | 1421 | /// <summary> | COMMENT |
| LOW | MonoGame.Framework/Ray.cs | 21 | /// The direction of this <see cref="Ray"/>. | COMMENT |
| LOW | MonoGame.Framework/Ray.cs | 41 | /// <param name="direction">The direction of the <see cref="Ray"/>.</param> | COMMENT |
| LOW | MonoGame.Framework/Ray.cs | 81 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/Ray.cs | 221 | /// Check if this <see cref="Ray"/> intersects the specified <see cref="Plane"/>. | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 241 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 261 | /// <param name="value3">The third vector of 3d-triangle.</param> | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 341 | /// Clamps the specified value within a range. | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 421 | COMMENT | |
| LOW | MonoGame.Framework/Vector3.cs | 501 | result.Z = value1.Z / value2.Z; | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 601 | } | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 621 | /// </summary> | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 641 | return MathF.Sqrt((X * X) + (Y * Y) + (Z * Z)); | COMMENT |
| LOW | MonoGame.Framework/Vector3.cs | 681 | COMMENT | |
| LOW | MonoGame.Framework/Vector3.cs | 701 | /// Creates a new <see cref="Vector3"/> that contains linear interpolation of the specified vectors. | COMMENT |
| 963 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | MonoGame.Framework/Platform/TitleContainer.Android.cs | 16 | return global::Android.App.Application.Context.Assets.Open(safeName); | CODE |
| CRITICAL | ….Framework/Platform/Android/MonoGameAndroidGameView.cs | 1102 | Microsoft.Xna.Framework.Content.ContentManager.ReloadGraphicsContent(); | CODE |
| CRITICAL | …ame.Framework/Platform/Windows/WinFormsGamePlatform.cs | 133 | Microsoft.Xna.Framework.Media.MediaManagerState.CheckShutdown(); | CODE |
| CRITICAL | MonoGame.Framework/Graphics/IGraphicsDeviceService.cs | 32 | /// <seealso cref="Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset()"/> | COMMENT |
| CRITICAL | MonoGame.Framework/Media/Album.cs | 31 | /// <see cref="P:Microsoft.Xna.Framework.Media.AlbumCollection.Item(System.Int32)"/> | COMMENT |
| CRITICAL | …lder.Editor/Common/PipelineController.IncludeAction.cs | 82 | citem.ProcessorParams = new Microsoft.Xna.Framework.Content.Pipeline.OpaqueDataDictionary(); | CODE |
| CRITICAL | …er/MouseGetStateAndIsMouseVisibleTester/TextManager.cs | 40 | spriteBatch.DrawString(sfStandard, "MouseX = " + cG.Window.Window.MouseLocationOutsideOfEventStream.X.ToStr | CODE |
| CRITICAL | …er/MouseGetStateAndIsMouseVisibleTester/TextManager.cs | 41 | spriteBatch.DrawString(sfStandard, "MouseY = " + cG.Window.Window.MouseLocationOutsideOfEventStream.Y.ToStr | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tools/MonoGame.Generator.CTypes/PInvokeWritter.cs | 0 | // monogame - copyright (c) monogame foundation, inc // this file is subject to the terms and conditions defined in // f | STRING |
| HIGH | Tools/MonoGame.Generator.CTypes/EnumWritter.cs | 0 | // monogame - copyright (c) monogame foundation, inc // this file is subject to the terms and conditions defined in // f | STRING |
| HIGH | Tools/MonoGame.Generator.CTypes/StructWritter.cs | 0 | // monogame - copyright (c) monogame foundation, inc // this file is subject to the terms and conditions defined in // f | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MonoGame.Framework/Platform/SDL/SDLGamePlatform.cs | 176 | // we're reading the first UTF8 byte, we need to check if it's multibyte | COMMENT |
| LOW | MonoGame.Framework/Platform/Android/ScreenReceiver.cs | 23 | // will not be broadcast. We need to check if the lock is currently active | COMMENT |
| LOW | native/monogame/sdl/MGP_sdl.cpp | 588 | // we're reading the first UTF8 byte, we need to check if it's multibyte | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …Framework.Content.Pipeline/Graphics/FontDescription.cs | 8 | /// Provides information to the FontDescriptionProcessor describing which font to rasterize, which font size to utilize, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MonoGame.Framework/BoundingBox.cs | 106 | /// NOTE: This method may return false positives (indicating an intersection or containment when there is none | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MonoGame.Framework/Input/KeyboardInput.cs | 52 | /// KeyboardInput.Cancel("John Doe"); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | native/monogame/directx12/D3D12MemAlloc.h | 2329 | If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the al | CODE |