Repository Analysis

hajimehoshi/ebiten

A dead simple 2D game engine for Go

5.0 Low AI signal View on GitHub
5.0
Adjusted Score
5.0
Raw Score
100%
Time Factor
2026-05-28
Last Push
13,194
Stars
Go
Language
168,798
Lines of Code
714
Files
853
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 853

Pattern Findings

853 matches across 1 category. Click a row to expand file-level details.

Over-Commented Block853 hits · 842 pts
SeverityFileLineSnippet
LOWgeom_test.go1// Copyright 2014 Hajime Hoshi
LOWgenerate.go1// Copyright 2015 Hajime Hoshi
LOWgenerate.go21//
LOWwindow.go1// Copyright 2019 The Ebiten Authors
LOWwindow.go41 WindowResizingModeOnlyFullscreenEnabled WindowResizingModeType = WindowResizingModeType(ui.WindowResizingModeOnlyFullsc
LOWwindow.go101
LOWwindow.go121// If ColorModeUnknown is passed, the window color mode is reset to the system default.
LOWwindow.go141// The desired image sizes varies depending on platform and system settings.
LOWwindow.go161//
LOWwindow.go221// SetWindowSizeLimits sets the limitation of the window size on desktops.
LOWwindow.go241//
LOWwindow.go261//
LOWwindow.go301// IsWindowBeingClosed returns true when the user is trying to close the window on desktops.
LOWwindow.go321//
LOWwindow.go341// SetWindowMousePassthrough works only on desktops.
LOWcolorm.go1// Copyright 2014 Hajime Hoshi
LOWcolorm.go21)
LOWcolorm.go121// hueTheta is a radian value to rotate hue.
LOWshader_test.go1// Copyright 2020 The Ebiten Authors
LOWmousebuttons.go1// Copyright 2015 Hajime Hoshi
LOWgameforui.go1// Copyright 2014 Hajime Hoshi
LOWmonitor.go1// Copyright 2023 The Ebitengine Authors
LOWshader.go1// Copyright 2020 The Ebiten Authors
LOWebiten_test.go1// Copyright 2024 The Ebitengine Authors
LOWimagetobytes_test.go1// Copyright 2016 The Ebiten Authors
LOWcolormode.go1// Copyright 2026 The Ebitengine Authors
LOWrun.go1// Copyright 2014 Hajime Hoshi
LOWrun.go41 // An actual TPS is available by ActualTPS(), and the result might slightly differ from your expected TPS,
LOWrun.go61 // Draw draws the game screen by one frame.
LOWrun.go81 // It is ensured that Layout is invoked before Update is called in the first frame.
LOWrun.go121 // even if the Ebitengine major version is not updated.
LOWrun.go141// ActualFPS returns the current number of FPS (frames per second), that represents
LOWrun.go181// SetScreenFilterEnabled enables/disables the use of the "screen" filter Ebitengine uses.
LOWrun.go201func IsScreenFilterEnabled() bool {
LOWrun.go221// RunGame must be called on the main thread.
LOWrun.go241}
LOWrun.go261
LOWrun.go281
LOWrun.go301 // This is useful for GUI applications, but some APIs like [AppendInputChars]'s behavior is changed:
LOWrun.go321//
LOWrun.go381// On browsers, ScreenSizeInFullscreen returns the 'window' (global object) size, not 'screen' size.
LOWrun.go401// CursorMode returns CursorModeHidden on mobiles.
LOWrun.go421// Check for user interaction before calling capturing a cursor e.g. by IsMouseButtonPressed or IsKeyPressed.
LOWrun.go441// In fullscreen mode, the game screen is automatically enlarged
LOWrun.go461// IsFocused returns a boolean value indicating whether
LOWrun.go481// If the given value is true, the game runs even in background e.g. when losing focus.
LOWrun.go501//
LOWrun.go541 // the game is updated whenever possible.
LOWrun.go561 // See examples/skipdraw for GPU optimization with SetScreenClearedEveryFrame(false).
LOWrun.go601// MaxTPS returns the current maximum TPS.
LOWrun.go621// Deprecated: as of v2.4. Use ActualTPS instead.
LOWrun.go741}
LOWrun.go761}
LOWblend.go1// Copyright 2022 The Ebitengine Authors
LOWblend.go21)
LOWblend.go101 // BlendFactorOne is a factor:
LOWblend.go121 // BlendFactorOneMinusSourceAlpha is a factor:
LOWblend.go221 // c_out = (BlendFactorSourceRGB) × c_src - (BlendFactorDestinationRGB) × c_dst
LOWblend.go301
LOWblend.go321 //
793 more matches not shown…