Repository Analysis

raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

3.3 Likely human-written View on GitHub
3.3
Adjusted Score
3.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
33,190
Stars
C
Language
392,818
Lines of Code
467
Files
1473
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 2MEDIUM 18LOW 1453

Pattern Findings

1473 matches across 8 categories. Click a row to expand file-level details.

Over-Commented Block1437 hits · 1187 pts
SeverityFileLineSnippet
LOWCMakeLists.txt1cmake_minimum_required(VERSION 3.22)
LOWtools/rlparser/rlparser.c61#include <stdlib.h> // Required for: malloc(), calloc(), realloc(), free(), atoi(), strtol()
LOWtools/rlparser/rlparser.c1041 free(funcLines);
LOWtools/rexm/rexm.c61#else
LOWtools/rexm/rexm.c261 //--------------------------------------------------------------------------------------
LOWtools/rexm/rexm.c661 LOG("INFO: [%s] Adding project to raylib solution (.sln)\n",
LOWtools/rexm/rexm.c1481 } break;
LOWtools/rexm/rexm.c1521 // STEP 1: Load example.c and replace required code to inject basic testing code: frames to run
LOWtools/rexm/rexm.c1761 }
LOWprojects/Zig/src/core_basic_window.c21
LOWprojects/CMake/core_basic_window.c21
LOW…aylib_android.NativeActivity/android_native_app_glue.h121 // возврате. Верните 1, если событие обработано, 0 — для любой диспетчеризации
LOW…aylib_android.NativeActivity/android_native_app_glue.c21#include <stdlib.h>
LOWprojects/scripts/build-osx.sh1#!/bin/sh
LOWprojects/scripts/build-rpi.sh1#!/bin/sh
LOWprojects/scripts/build-linux.sh1#!/bin/sh
LOWprojects/VSCode/main.c21
LOWexamples/examples_list.txt1#
LOWexamples/core/core_undo_redo.c21#include <string.h> // Required for: memcpy(), strcmp()
LOWexamples/core/msf_gif.h161//These functions are equivalent to the ones above, but they write results to a file incrementally,
LOWexamples/core/msf_gif.h181
LOWexamples/core/msf_gif.h201#include <stdlib.h> //malloc, etc.
LOWexamples/core/core_3d_camera_fps.c21
LOWexamples/core/core_window_web.c21#if defined(PLATFORM_WEB)
LOWexamples/core/raygui.h341#define RAYGUI_H
LOWexamples/core/raygui.h361#endif
LOWexamples/core/raygui.h381// TODO: Define additionally required macros for missing inputs
LOWexamples/core/raygui.h401 #define GUI_SCROLL_DELTA ((float)IsGamepadButtonDown(0, GAMEPAD_BUTTON_RIGHT_TRIGGER_2) - (float)IsGamepadBut
LOWexamples/core/raygui.h621 //TEXT_DECORATION // Text decoration: 0-None, 1-Underline, 2-Line-through, 3-Overline
LOWexamples/core/raygui.h1101#include <math.h> // Required for: roundf() [GuiColorPicker()]
LOWexamples/core/raygui.h1121
LOWexamples/core/raygui.h1141//----------------------------------------------------------------------------------
LOWexamples/core/raygui.h1421// if changed, previous saved styles could become incompatible
LOWexamples/core/raygui.h1461// but default gui style could always be recovered with GuiLoadStyleDefault()
LOWexamples/core/raygui.h4621// Get full icons data pointer
LOWexamples/core/raygui.h4641 // Icons name id (32 bytes per name id)
LOWexamples/core/core_input_gamepad.c21
LOWexamples/others/rlgl_standalone.c61//#define RL_MAX_SHADER_LOCATIONS 32 // Maximum number of shader locations supported
LOWexamples/others/raylib_opengl_interop.c21* rlgl batched draw operations internally so we have to flush the current batch before
LOWexamples/others/raylib_opengl_interop.c41 #include <OpenGL/gl3.h> // OpenGL 3 library for OSX
LOWexamples/others/resources/audio_data.h1
LOWexamples/others/external/include/glad.h21#define __glad_h_
LOWexamples/others/external/include/glad.h61# define GLAPI __declspec(dllexport) extern
LOWexamples/others/external/include/glad.h81GLAPI int gladLoadGLLoader(GLADloadproc);
LOWexamples/others/external/include/glad.h101#endif /* __arch64__ */
LOWexamples/others/external/include/glad.h161typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar
LOWexamples/others/external/include/glad.h181#define GL_LEQUAL 0x0203
LOWexamples/others/external/include/glad.h201#define GL_BACK_RIGHT 0x0403
LOWexamples/others/external/include/glad.h221#define GL_POLYGON_MODE 0x0B40
LOWexamples/others/external/include/glad.h241#define GL_DITHER 0x0BD0
LOWexamples/others/external/include/glad.h261#define GL_UNPACK_SKIP_PIXELS 0x0CF4
LOWexamples/others/external/include/glad.h281#define GL_TEXTURE_WIDTH 0x1000
LOWexamples/others/external/include/glad.h301#define GL_AND 0x1501
LOWexamples/others/external/include/glad.h321#define GL_DEPTH_COMPONENT 0x1902
LOWexamples/others/external/include/glad.h341#define GL_NEAREST_MIPMAP_NEAREST 0x2700
LOWexamples/others/external/include/glad.h361#define GL_RGB5_A1 0x8057
LOWexamples/others/external/include/glad.h381#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
LOWexamples/others/external/include/glad.h401#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
LOWexamples/others/external/include/glad.h421#define GL_TEXTURE19 0x84D3
LOWexamples/others/external/include/glad.h441#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
1377 more matches not shown…
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippet
MEDIUMsrc/external/glfw/CMakeLists.txt62#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt64#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt78#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt81#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt103#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt105#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt119#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt121#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt136#--------------------------------------------------------------------
MEDIUMsrc/external/glfw/CMakeLists.txt139#--------------------------------------------------------------------
Fake / Example Data12 hits · 17 pts
SeverityFileLineSnippet
LOWexamples/core/resources/text_file.txt1Starting of the Lorem ipsum dolor sit amet file
LOWexamples/core/resources/text_file.txt1Starting of the Lorem ipsum dolor sit amet file
LOWexamples/core/resources/text_file.txt2Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque at interdum ex, et iaculis quam. Mauris consectetu
LOWexamples/core/resources/text_file.txt2Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque at interdum ex, et iaculis quam. Mauris consectetu
LOWexamples/core/resources/text_file.txt7Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque at interdum ex, et iaculis quam. Mauris consectetu
LOWexamples/core/resources/text_file.txt7Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque at interdum ex, et iaculis quam. Mauris consectetu
LOWexamples/core/resources/text_file.txt13Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque at interdum ex, et iaculis quam. Mauris consectetu
LOWexamples/core/resources/text_file.txt13Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque at interdum ex, et iaculis quam. Mauris consectetu
LOWexamples/core/resources/text_file.txt18Ending of the Lorem ipsum dolor sit amet file
LOWexamples/core/resources/text_file.txt18Ending of the Lorem ipsum dolor sit amet file
LOWexamples/text/text_rectangle_bounds.c41a long text for testing.\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod \
LOWexamples/text/text_rectangle_bounds.c41a long text for testing.\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod \
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippet
LOWexamples/core/core_custom_frame_control.c82 #ifdef PLATFORM_WEB // NOTE: On web platform for some reason the PollInputEvents only works after th
MEDIUMsrc/shell.html252 // To make your application robust, you may want to override this behavior before shipping!
MEDIUMsrc/rlgl.h2368 // Init state: Cubemap seamless
MEDIUMsrc/external/stb_vorbis.c51// 1.10 - 2017-03-03 - more robust seeking; fix negative ilog(); clear error in open_memory
MEDIUMsrc/external/rlsw.h3439 // This test is robust for points with w > 0 or w < 0, correctly
MEDIUMsrc/external/rlsw.h3551 // This test is robust for points with w > 0 or w < 0 within the triangle,
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippet
HIGHsrc/external/rlsw.h1498 // TODO: WARNING: Sample code generated by AI, needs testing and review
HIGHsrc/external/rlsw.h1544 // TODO: WARNING: Sample code generated by AI, needs testing and review
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUMprojects/scripts/build-osx.sh108# Create the raylib cache directory
MEDIUMprojects/scripts/build-rpi.sh108# Create the raylib cache directory
MEDIUMprojects/scripts/build-linux.sh108# Create the raylib cache directory
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWsrc/external/sdefl.h17## Usage:
LOWsrc/external/sinfl.h18## Usage:
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOWsrc/external/dr_flac.h5956 /* We found a FLAC frame. We need to check if it contains the sample we're looking for. */