Repository Analysis

MonoGame/MonoGame

One framework for creating powerful cross-platform games.

3.8 Likely human-written View on GitHub
3.8
Adjusted Score
3.8
Raw Score
100%
Time Factor
2026-05-30
Last Push
13,947
Stars
C#
Language
262,617
Lines of Code
1425
Files
921
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 8HIGH 0MEDIUM 1LOW 912

Pattern Findings

921 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block907 hits · 894 pts
SeverityFileLineSnippet
LOWMonoGame.Framework/BoundingSphere.cs561
LOWMonoGame.Framework/BoundingSphere.cs601 /// Deconstruction method for <see cref="BoundingSphere"/>.
LOWMonoGame.Framework/Game.cs361
LOWMonoGame.Framework/Game.cs501 private Stopwatch _gameTimer;
LOWMonoGame.Framework/Game.cs661 /// <summary>
LOWMonoGame.Framework/GameServiceContainer.cs21 public GameServiceContainer()
LOWMonoGame.Framework/GameServiceContainer.cs81 }
LOWMonoGame.Framework/GamePlatform.cs121 #endregion Events
LOWMonoGame.Framework/GamePlatform.cs141 /// <returns></returns>
LOWMonoGame.Framework/GamePlatform.cs161 /// </summary>
LOWMonoGame.Framework/GamePlatform.cs181
LOWMonoGame.Framework/GamePlatform.cs201 {
LOWMonoGame.Framework/GamePlatform.cs221 /// The new width of the game's client window.
LOWMonoGame.Framework/DrawableGameComponent.cs1// MonoGame - Copyright (C) MonoGame Foundation, Inc
LOWMonoGame.Framework/DrawableGameComponent.cs21 private bool _disposed;
LOWMonoGame.Framework/Quaternion.cs21
LOWMonoGame.Framework/Quaternion.cs41 [DataMember]
LOWMonoGame.Framework/Quaternion.cs261 /// <summary>
LOWMonoGame.Framework/Quaternion.cs541
LOWMonoGame.Framework/Quaternion.cs581
LOWMonoGame.Framework/Quaternion.cs881
LOWMonoGame.Framework/Quaternion.cs921
LOWMonoGame.Framework/Quaternion.cs1041 #region Operators
LOWMonoGame.Framework/Vector2.cs121 #endregion
LOWMonoGame.Framework/Vector2.cs241 /// Compares whether two <see cref="Vector2"/> instances are equal.
LOWMonoGame.Framework/Vector2.cs281 /// <paramref name="value2"/>, storing the result of the
LOWMonoGame.Framework/Vector2.cs341 /// Creates a new <see cref="Vector2"/> that contains CatmullRom interpolation of the specified vectors.
LOWMonoGame.Framework/Vector2.cs401 /// <summary>
LOWMonoGame.Framework/Vector2.cs461
LOWMonoGame.Framework/Vector2.cs501 /// <summary>
LOWMonoGame.Framework/Vector2.cs521 {
LOWMonoGame.Framework/Vector2.cs601 return (X.GetHashCode() * 397) ^ Y.GetHashCode();
LOWMonoGame.Framework/Vector2.cs621 /// </summary>
LOWMonoGame.Framework/Vector2.cs641 }
LOWMonoGame.Framework/Vector2.cs681 /// Uses <see cref="MathHelper.LerpPrecise"/> on MathHelper for the interpolation.
LOWMonoGame.Framework/Vector2.cs701 /// </summary>
LOWMonoGame.Framework/Vector2.cs721 value1.Y > value2.Y ? value1.Y : value2.Y);
LOWMonoGame.Framework/Vector2.cs761 /// Creates a new <see cref="Vector2"/> that contains a multiplication of two vectors.
LOWMonoGame.Framework/Vector2.cs941
LOWMonoGame.Framework/Vector2.cs1021 result.Y = y;
LOWMonoGame.Framework/Vector2.cs1181 /// <param name="matrix">The transformation <see cref="Matrix"/>.</param>
LOWMonoGame.Framework/Vector2.cs1261 /// <param name="radians">The amount to rotate the vector.</param>
LOWMonoGame.Framework/Vector2.cs1301 /// <param name="radians">The amount to rotate by in radians</param>
LOWMonoGame.Framework/Ray.cs21 /// The direction of this <see cref="Ray"/>.
LOWMonoGame.Framework/Ray.cs41 /// <param name="direction">The direction of the <see cref="Ray"/>.</param>
LOWMonoGame.Framework/Ray.cs81 /// </summary>
LOWMonoGame.Framework/Ray.cs221 /// Check if this <see cref="Ray"/> intersects the specified <see cref="Plane"/>.
LOWMonoGame.Framework/Vector3.cs241 /// </summary>
LOWMonoGame.Framework/Vector3.cs261 /// <param name="value3">The third vector of 3d-triangle.</param>
LOWMonoGame.Framework/Vector3.cs341 /// Clamps the specified value within a range.
LOWMonoGame.Framework/Vector3.cs421
LOWMonoGame.Framework/Vector3.cs501 result.Z = value1.Z / value2.Z;
LOWMonoGame.Framework/Vector3.cs601 }
LOWMonoGame.Framework/Vector3.cs621 /// </summary>
LOWMonoGame.Framework/Vector3.cs641 return MathF.Sqrt((X * X) + (Y * Y) + (Z * Z));
LOWMonoGame.Framework/Vector3.cs681
LOWMonoGame.Framework/Vector3.cs701 /// Creates a new <see cref="Vector3"/> that contains linear interpolation of the specified vectors.
LOWMonoGame.Framework/Vector3.cs961 /// <summary>
LOWMonoGame.Framework/Vector3.cs1421
LOWMonoGame.Framework/GameRunBehavior.cs1// MonoGame - Copyright (C) MonoGame Foundation, Inc
847 more matches not shown…
Hallucination Indicators8 hits · 90 pts
SeverityFileLineSnippet
CRITICALMonoGame.Framework/Platform/TitleContainer.Android.cs16 return Android.App.Application.Context.Assets.Open(safeName);
CRITICAL….Framework/Platform/Android/MonoGameAndroidGameView.cs1102 Microsoft.Xna.Framework.Content.ContentManager.ReloadGraphicsContent();
CRITICAL…ame.Framework/Platform/Windows/WinFormsGamePlatform.cs133 Microsoft.Xna.Framework.Media.MediaManagerState.CheckShutdown();
CRITICALMonoGame.Framework/Graphics/IGraphicsDeviceService.cs32 /// <seealso cref="Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset()"/>
CRITICALMonoGame.Framework/Media/Album.cs30 /// <see cref="P:Microsoft.Xna.Framework.Media.AlbumCollection.Item(System.Int32)"/>
CRITICAL…lder.Editor/Common/PipelineController.IncludeAction.cs82 citem.ProcessorParams = new Microsoft.Xna.Framework.Content.Pipeline.OpaqueDataDictionary();
CRITICAL…er/MouseGetStateAndIsMouseVisibleTester/TextManager.cs40 spriteBatch.DrawString(sfStandard, "MouseX = " + cG.Window.Window.MouseLocationOutsideOfEventStream.X.ToStr
CRITICAL…er/MouseGetStateAndIsMouseVisibleTester/TextManager.cs41 spriteBatch.DrawString(sfStandard, "MouseY = " + cG.Window.Window.MouseLocationOutsideOfEventStream.Y.ToStr
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippet
LOWMonoGame.Framework/Platform/SDL/SDLGamePlatform.cs176 // we're reading the first UTF8 byte, we need to check if it's multibyte
LOWMonoGame.Framework/Platform/Android/ScreenReceiver.cs23 // will not be broadcast. We need to check if the lock is currently active
LOWnative/monogame/sdl/MGP_sdl.cpp570 // we're reading the first UTF8 byte, we need to check if it's multibyte
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM…Framework.Content.Pipeline/Graphics/FontDescription.cs12 /// Provides information to the FontDescriptionProcessor describing which font to rasterize, which font size to utilize
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippet
LOWMonoGame.Framework/Input/KeyboardInput.cs52 /// KeyboardInput.Cancel("John Doe");
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippet
LOWnative/monogame/directx12/D3D12MemAlloc.h2329If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the al