AI Slop Code Risk Monitor

godotengine/godot

SlopCodeMonitor badge for godotengine/godot Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Godot Engine – Multi-platform 2D and 3D game engine

1.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for godotengine/godot, a C++ project with 119,313 GitHub stars. SynthScan examined 4,501,850 lines of code across 10475 source files, recording 8247 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 1.7 (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.

1.7
Adjusted Signal
1.7
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
119.3K
Stars
C++
Language
4.5M
Lines of Code
10.5K
Files
8.2K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 7.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 8095 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 82 finding(s).

Agent Over-Engineering Ratio 0.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 114 finding(s).

PR Review Velocity Impact 9.2/100 · LOW

Which changes need focused human review? 8247 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 48MEDIUM 77LOW 8122

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 8247 distinct pattern matches across 22 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.

Over-Commented Block7800 hits · 6784 pts
SeverityFileLineSnippetContext
LOWmethods.py461 # in order for this function to be well encapsulated i choose to force it to receive SCons's TOOLS env (env['ENV']COMMENT
LOWmethods.py981COMMENT
LOW.pre-commit-config.yaml221# End of upstream Godot pre-commit hooks.COMMENT
LOWscu_builders.py161# "includes_per_scu" limits the number of includes in a single scu file.COMMENT
LOWmisc/error_suppressions/asan.txt1# Supported suppression types are:COMMENT
LOWmisc/error_suppressions/lsan.txt1# Supported suppression types are:COMMENT
LOWmisc/utility/clang_format_glsl.yml1# GLSL-specific rules.COMMENT
LOWdrivers/gles3/rasterizer_gles3.h41#include "drivers/gles3/environment/gi.h"COMMENT
LOWdrivers/gles3/rasterizer_scene_gles3.cpp41#include "drivers/gles3/rasterizer_util_gles3.h"COMMENT
LOWdrivers/gles3/rasterizer_gles3.cpp41#include "servers/display/display_server.h"COMMENT
LOWdrivers/gles3/rasterizer_gles3.cpp61#define _EXT_DEBUG_TYPE_MARKER_ARB 0x8268COMMENT
LOWdrivers/gles3/rasterizer_gles3.cpp81COMMENT
LOWdrivers/gles3/storage/texture_storage.h41#include "drivers/gles3/storage/config.h"COMMENT
LOWdrivers/gles3/storage/texture_storage.h61#define _EXT_COMPRESSED_SIGNED_RED_RGTC1 0x8DBCCOMMENT
LOWdrivers/gles3/storage/texture_storage.h81#define _EXT_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277COMMENT
LOWdrivers/gles3/storage/texture_storage.h101#define _EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1COMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c1// This file is generated. Do not edit!COMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c21#define pa_sample_format_to_string pa_sample_format_to_string_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c41#define pa_proplist_unset_many pa_proplist_unset_many_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c61#define pa_channel_map_parse pa_channel_map_parse_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c81#define pa_format_info_snprint pa_format_info_snprint_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c101#define pa_operation_ref pa_operation_ref_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c121#define pa_context_is_local pa_context_is_local_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c141#define pa_volume_snprint_verbose pa_volume_snprint_verbose_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c161#define pa_cvolume_compatible pa_cvolume_compatible_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c181#define pa_stream_ref pa_stream_ref_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c201#define pa_stream_update_timing_info pa_stream_update_timing_info_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c221#define pa_stream_get_timing_info pa_stream_get_timing_info_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c241#define pa_context_set_sink_port_by_index pa_context_set_sink_port_by_index_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c261#define pa_context_kill_client pa_context_kill_client_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c281#define pa_context_kill_source_output pa_context_kill_source_output_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c301#define pa_xmalloc0 pa_xmalloc0_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c321#define pa_threaded_mainloop_accept pa_threaded_mainloop_accept_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c341#define pa_signal_free pa_signal_free_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c361#undef pa_bytes_per_secondCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c381#undef pa_mainloop_api_onceCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c401#undef pa_proplist_sizeCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c421#undef pa_channel_map_to_nameCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c441#undef pa_format_info_get_prop_stringCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c461#undef pa_context_refCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c481#undef pa_context_rttime_newCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c501#undef pa_cvolume_channels_equal_toCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c521#undef pa_cvolume_scaleCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c541#undef pa_stream_connect_playbackCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c561#undef pa_stream_set_latency_update_callbackCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c581#undef pa_stream_proplist_removeCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c601#undef pa_context_set_source_mute_by_nameCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c621#undef pa_context_get_sink_input_info_listCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c641#undef pa_context_add_autoloadCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c661#undef pa_utf8_filterCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c681#undef pa_mainloop_pollCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.c701#undef pa_msleepCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h1#ifndef DYLIBLOAD_WRAPPER_PULSECOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h21#define pa_sample_spec_valid pa_sample_spec_valid_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h41#define pa_proplist_update pa_proplist_update_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h61#define pa_channel_position_to_pretty_string pa_channel_position_to_pretty_string_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h81#define pa_format_info_is_pcm pa_format_info_is_pcm_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h101#define pa_format_info_set_channels pa_format_info_set_channels_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h121#define pa_context_set_default_sink pa_context_set_default_sink_dylibloader_orig_pulseCOMMENT
LOWdrivers/pulseaudio/pulse-so_wrap.h141#define pa_volume_snprint pa_volume_snprint_dylibloader_orig_pulseCOMMENT
7740 more matches not shown…
Cross-File Repetition26 hits · 130 pts
SeverityFileLineSnippetContext
HIGHglsl_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHgles3_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHcore/core_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHcore/input/input_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHcore/profiling/profiling_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/platform_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/macos/platform_macos_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/ios/platform_ios_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/visionos/platform_visionos_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/android/platform_android_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/windows/platform_windows_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHplatform/linuxbsd/platform_linuxbsd_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHtests/test_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHscene/theme/default_theme_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHscene/theme/icons/default_theme_icons_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHmain/main_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHmodules/modules_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHmodules/text_server_adv/text_server_adv_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHeditor/editor_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHeditor/template_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHeditor/icons/editor_icons_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHeditor/themes/editor_theme_builders.py0functions used to generate scu build source files during build timeSTRING
HIGHscu_builders.py0functions used to generate scu build source files during build timeSTRING
HIGH…ourceGenerators.Tests/CSharpSourceGeneratorVerifier.cs0is_global = true build_property.godotprojectdir = {constants.executingassemblypath}STRING
HIGH…Godot.SourceGenerators.Tests/CSharpAnalyzerVerifier.cs0is_global = true build_property.godotprojectdir = {constants.executingassemblypath}STRING
HIGH…/Godot.SourceGenerators.Tests/CSharpCodeFixVerifier.cs0is_global = true build_property.godotprojectdir = {constants.executingassemblypath}STRING
Structural Annotation Overuse78 hits · 102 pts
SeverityFileLineSnippetContext
LOWplatform/macos/godot_application.mm187 // Step 1: Switch focus to macOS SystemUIServer process.COMMENT
LOW⚡platform/macos/godot_application.mm199 // Step 2: Register app as foreground process.COMMENT
LOW⚡platform/macos/godot_application.mm206 // Step 3: Switch focus back to app window.COMMENT
LOW…va/com/android/apksig/internal/asn1/Asn1BerParser.java282 // NOTE: This method returns List rather than Set because ASN.1 SET_OF does require uniquenessCOMMENT
LOWscene/resources/curve.cpp1625 // Step 1: Tessellate curve to (almost) even length segments.COMMENT
LOWscene/resources/curve.cpp1700 // Step 2: Calculate the up vectors and the whole local reference frame.COMMENT
LOWthirdparty/icu4c/common/uidna.cpp320 // Step 4: if the source is ASCII then proceed to step 8COMMENT
LOW⚡thirdparty/icu4c/common/uidna.cpp370 //Step 7: prepend the ACE prefixCOMMENT
LOW⚡thirdparty/icu4c/common/uidna.cpp372 //Step 6: copy the contents in b2 into destCOMMENT
LOWthirdparty/basis_universal/encoder/basisu_frontend.cpp1950 // Step 1: Sort endpoint clusters by the base colors/intensCOMMENT
LOWthirdparty/basis_universal/encoder/basisu_frontend.cpp1971 // Step 2: Eliminate redundant endpoint clusters, or empty endpoint clustersCOMMENT
LOWthirdparty/glslang/SPIRV/SpvBuilder.cpp4057 // Step 2: Construct a matrix from that array.COMMENT
LOWthirdparty/glslang/SPIRV/GlslangToSpv.cpp6176// NOTE: This function can handle any store request; if it's not special itCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h618/// NOTE: This function should compile down to a single V_MAX3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h636/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h654/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h672/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h690/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h708/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h726/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h744/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h762/// NOTE: This function should compile down to a single <c><i>V_MED3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h780/// NOTE: This function should compile down to a single <c><i>V_MED3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h798/// NOTE: This function should compile down to a single <c><i>V_MED3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h816/// NOTE: This function should compile down to a single <c><i>V_MED3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h834/// NOTE: This function should compile down to a single <c><i>V_MED3_I32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h852/// NOTE: This function should compile down to a single <c><i>V_MED3_I32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h870/// NOTE: This function should compile down to a single <c><i>V_MED3_I32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h888/// NOTE: This function should compile down to a single <c><i>V_MED3_I32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h907/// NOTE: This function should compile down to a single <c><i>V_MIN3_F32</i></c> operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h925/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h943/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h961/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h979/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h997/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1015/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1033/// NOTE: This function should compile down to a single V_MIN3_F32 operation onCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1051/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rcp</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1066/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rcp</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1081/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rcp</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1096/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rcp</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1111/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rsqrt</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1126/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rsqrt</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1141/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rsqrt</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1156/// NOTE: This function is only provided for GLSL. In HLSL the intrinsic function <c><i>rsqrt</i></c> can be used.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1225/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1244/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1263/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_glsl.h1282/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h643/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h662/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h681/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h700/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware. It isCOMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h717/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h734/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h751/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h768/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h785/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h802/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
LOWthirdparty/amd-fsr2/shaders/ffx_core_hlsl.h819/// NOTE: This function should compile down to a single <c><i>V_MAX3_F32</i></c> operation on GCN/RDNA hardware.COMMENT
18 more matches not shown…
AI Slop Vocabulary29 hits · 82 pts
SeverityFileLineSnippetContext
MEDIUMmethods.py712 # benefit from a more nuanced search.COMMENT
MEDIUMdrivers/d3d12/rendering_device_driver_d3d12.cpp1422 // If the driver reports relaxed casting is, leverage its new extended resource creation API (via D3D12MA).COMMENT
MEDIUMcore/io/resource_loader.cpp225// This should be robust enough to be called redundantly without issues.COMMENT
MEDIUMcore/math/delaunay_3d.h223 // Scale points to the unit cube to better utilize R128 precisionCOMMENT
MEDIUMcore/object/callable_mp.cpp42 // due to the reuse of old addresses for newer objects. Use byte-wise comparison to leverage theCOMMENT
MEDIUMplatform/windows/windows.h42// HACK: MSVC lacks an `include_next` equivalent, so we'll instead utilize the relative path ofCOMMENT
MEDIUMscene/gui/range.cpp47 // Rescale values to better utilize R128's range before snapping.COMMENT
MEDIUMscene/main/scene_tree_fti.cpp666 // Slow, but robust.COMMENT
MEDIUMscene/2d/line_builder.cpp327 // If the width curve is not seamless, we might need to fetch the line's start points to use them for the final conneCOMMENT
MEDIUMmodules/noise/noise.h146 // Swap the quadrants to make edges seamless.COMMENT
MEDIUMmodules/noise/noise.h218 // Scale seamless generation to third dimension.COMMENT
MEDIUM…les/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs21 /// are more efficient and robust against floating-point errors.COMMENT
MEDIUMthirdparty/tinyexr/tinyexr.h1841 // TODO(syoyo): Add more robust out-of-bounds check in `rleUncompress`.COMMENT
MEDIUMthirdparty/xatlas/xatlas.cpp6427 // It does indeed seem to be a little bit more robust.COMMENT
MEDIUMthirdparty/spirv-cross/spirv_glsl.cpp346 // Sanity check the iteration count to be robust against a certain class of bugs whereCOMMENT
MEDIUMthirdparty/spirv-cross/spirv_glsl.cpp12000 // Essentially, we can only remove one set of swizzles, since that's what we have control over ...COMMENT
MEDIUMthirdparty/spirv-cross/spirv_glsl.cpp12259 // We can look at result type which is more robust.COMMENT
MEDIUMthirdparty/spirv-cross/spirv_cross.cpp3995 // Essentially a map of block -> { variables accessed in the basic block }COMMENT
MEDIUMthirdparty/icu4c/common/locmap.cpp1173 // The purpose of this function is to leverage the Windows platform name->lcidCOMMENT
LOWthirdparty/icu4c/common/unicode/platform.h62 * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PREDCOMMENT
MEDIUM…arty/basis_universal/encoder/basisu_astc_hdr_6x6_enc.h75 bool m_favor_higher_compression = true; // utilize all modesCODE
MEDIUMthirdparty/glslang/SPIRV/GlslangToSpv.cpp6205 // TODO: It would be more robust to do a full recursive verification of the types satisfying SPIR-V rules.COMMENT
MEDIUM…rty/glslang/glslang/MachineIndependent/ParseHelper.cpp9685// for the parameter to the constructor (passed to this function). Essentially, it convertsCOMMENT
LOWthirdparty/sdl/include/SDL3/SDL_main_impl.h134 #else /* platforms that use a standard main() and just call SDL_RunApp(), like iOS and 3DS */COMMENT
MEDIUMthirdparty/sdl/joystick/SDL_gamepad.c1471 // We'll pick up a robust mapping in VIRTUAL_JoystickGetGamepadMappingCOMMENT
MEDIUM…rdparty/sdl/joystick/hidapi/steam/controller_structs.h157// Triton and derivatives utilize output reports for haptic commands. This is aCOMMENT
LOWthirdparty/linuxbsd_headers/dbus/dbus-threads.h56 * #DBusThreadFunctions. Do not just use PTHREAD_MUTEX_RECURSIVE forCOMMENT
MEDIUM…ty/recastnavigation/Recast/Source/RecastMeshDetail.cpp666 // seamless height values across the ply boundaries.COMMENT
MEDIUMthirdparty/ufbx/ufbx.h5027 // Using this and robust linear interpolation will handle stepped tangents correctlyCOMMENT
Self-Referential Comments21 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMdoc/tools/make_rst.py820 # Create the output folder recursively if it doesn't already exist.COMMENT
MEDIUMdoc/classes/TLSOptions.xml11 # Create a TLS client configuration which uses our custom trusted CA chain.COMMENT
MEDIUMdoc/classes/TLSOptions.xml15 # Create a TLS server configuration.COMMENT
MEDIUMdoc/classes/HTTPRequest.xml15 # Create an HTTP request node and connect its completion signal.COMMENT
MEDIUMdoc/classes/HTTPRequest.xml87 # Create an HTTP request node and connect its completion signal.COMMENT
MEDIUMdoc/classes/Control.xml555 # The above code is equivalent to:COMMENT
MEDIUMdoc/classes/ArrayMesh.xml22 # Create the Mesh.COMMENT
MEDIUMdoc/classes/RenderingDevice.xml822 # Create a BLAS for a mesh.COMMENT
MEDIUMdoc/classes/PackedScene.xml28 # Create the objects.COMMENT
MEDIUMdoc/classes/PackedScene.xml33 # Create the object hierarchy.COMMENT
MEDIUMmodules/zip/doc_classes/ZIPPacker.xml9 # Create a ZIP archive with a single file at its root.COMMENT
MEDIUM…party/mbedtls/tf-psa-crypto/include/psa/crypto_extra.h1507 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h958 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h1225 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h1510 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h1570 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h1919 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h1982 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h2437 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/mbedtls/tf-psa-crypto/include/psa/crypto.h2507 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUMthirdparty/vulkan/vk_mem_alloc.h1687-# Create an instance of the #VmaVulkanFunctions structure.CODE
Slop Phrases34 hits · 56 pts
SeverityFileLineSnippetContext
LOWmethods.py462 # and not scons setup environment (env)... so make sure you call the right environment on it or it will fail to deteCOMMENT
LOWcore/os/safe_binary_mutex.h48// Also, don't forget to declare the thread_local variable on each use.COMMENT
LOWplatform/linuxbsd/wayland/wayland_thread.cpp618 // NOTE: Don't forget to also bind/destroy with the respective global.COMMENT
LOWplatform/linuxbsd/wayland/wayland_thread.cpp2740// NOTE: Don't forget to `memfree` the offer's state.COMMENT
LOWplatform/linuxbsd/wayland/wayland_thread.cpp3150// NOTE: Don't forget to `memfree` the offer's state.COMMENT
LOWtests/create_test.py99 "Don't forget to add special tags to the test case if needed, see https://docs.godotengine.org/en/latest/contribCODE
MEDIUMdoc/classes/FileAccess.xml159 Note how the second line can omit the enclosing quotes as it does not include the delimiter. However it [i]could[/i]CODE
LOWscene/3d/iterate_ik_3d.h321 chain_settings = _cast_settings<ChainIK3DSetting>(); // Don't forget to sync super class settings.CODE
LOWscene/3d/iterate_ik_3d.h326 chain_settings.clear(); // Don't forget to sync super class settings.CODE
LOWscene/3d/spline_ik_3d.h167 chain_settings = _cast_settings<ChainIK3DSetting>(); // Don't forget to sync super class settings.CODE
LOWscene/3d/spline_ik_3d.h172 chain_settings.clear(); // Don't forget to sync super class settings.CODE
LOWthirdparty/miniupnpc/src/miniupnpc.c518 * passed as parameters are set. Don't forget to call FreeUPNPUrls(urls) toCOMMENT
MEDIUMthirdparty/freetype/include/freetype/fterrors.h78 * Here is a simple example.COMMENT
MEDIUMthirdparty/freetype/include/freetype/freetype.h1385 * for demonstration purposes.COMMENT
LOWthirdparty/freetype/include/freetype/internal/ftrfork.h35 /* Don't forget to increment the number if you add a new guessing rule. */COMMENT
MEDIUMthirdparty/libjpeg-turbo/src/turbojpeg.h1478 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMthirdparty/libjpeg-turbo/src/turbojpeg.h1538 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMthirdparty/libjpeg-turbo/src/turbojpeg.h1599 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMthirdparty/libjpeg-turbo/src/turbojpeg.h1789 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMthirdparty/libjpeg-turbo/src/turbojpeg.h1844 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
LOWthirdparty/d3d12ma/D3D12MemAlloc.h3406If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the alCODE
LOWthirdparty/sdl/include/SDL3/SDL_process.h39 * Don't forget to call SDL_DestroyProcess() to clean up, whether the processCOMMENT
LOWthirdparty/vulkan/vk_mem_alloc.h17291// At the end, don't forget to:COMMENT
LOWthirdparty/vulkan/vk_mem_alloc.h19344// At the end, don't forget to destroy it!COMMENT
LOWthirdparty/vulkan/vk_mem_alloc.h19379// At the end, don't forget to destroy it!COMMENT
LOWthirdparty/vulkan/vk_mem_alloc.h677 To prepare for this possibility, don't forget to add appropriate flags likeCODE
LOWthirdparty/vulkan/vk_mem_alloc.h2744don't forget to free them.CODE
LOWthirdparty/vulkan/vk_mem_alloc.h2791don't forget to free it as well.CODE
LOWthirdparty/vulkan/vk_mem_alloc.h17328Don't forget to destroy your buffer and allocation objects when no longer needed:CODE
LOWthirdparty/vulkan/vk_mem_alloc.h18490If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the alCODE
LOW…/jolt_physics/Jolt/Physics/Vehicle/VehicleConstraint.h44/// Note: Don't forget to register the constraint as a StepListener with the PhysicsSystem!COMMENT
LOW…/jolt_physics/Jolt/Physics/Collision/PhysicsMaterial.h21/// If you inherit from this material, don't forget to create a suitable default material in sDefaultCOMMENT
LOWthirdparty/linuxbsd_headers/pulse/utf8.h40/** Filter all invalid UTF8 characters from the specified string, returning a new fully UTF8 valid string. Don't forget COMMENT
LOWthirdparty/linuxbsd_headers/pulse/utf8.h43/** Filter all invalid ASCII characters from the specified string, returning a new fully ASCII valid string. Don't forgeCOMMENT
Decorative Section Separators15 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h46/// ┌─────────┬──────────────────────────────┐COMMENT
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h48/// ├─────────┼──────────────────────────────┤COMMENT
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h50/// ├─────────┼──────────────────────────────┤COMMENT
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h52/// ├─────────┼──────────────────────────────┤COMMENT
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h54/// ├─────────┴──────────────────────────────┤COMMENT
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h56/// ├─────────┬──────────────────────────────┤COMMENT
MEDIUM⚡drivers/metal/rendering_shader_container_metal.h58/// └─────────┴──────────────────────────────┘COMMENT
MEDIUMcore/templates/cowdata.h77 // ┌────────────────────┬──┬───────────────┬──┬─────────────┬──┬───────────...COMMENT
MEDIUMcore/templates/cowdata.h80 // └────────────────────┴──┴───────────────┴──┴─────────────┴──┴───────────...COMMENT
MEDIUMcore/os/memory.h54// ┌─────────────────┬──┬────────────────┬──┬───────────...COMMENT
MEDIUMcore/os/memory.h57// └─────────────────┴──┴────────────────┴──┴───────────...COMMENT
MEDIUMcore/os/memory.h73// ┌─────────────────┬─────────┬─────────┬──────────────────┐COMMENT
MEDIUMcore/os/memory.h76// └─────────────────┴─────────┴─────────┴──────────────────┘COMMENT
MEDIUMthirdparty/metal-cpp/update-metal-cpp.sh31# =============================================================================COMMENT
MEDIUMthirdparty/metal-cpp/update-metal-cpp.sh33# =============================================================================COMMENT
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHmethods.py214except (subprocess.CalledProcessError, OSError):CODE
HIGHmethods.py857except OSError:CODE
HIGHmethods.py1139except Exception:CODE
HIGHmethods.py828except OSError:CODE
HIGHmethods.py1047except AttributeError:CODE
HIGHmisc/utility/color.py147except OSError:CODE
HIGHplatform/windows/detect.py43except Exception:CODE
HIGHplatform/windows/detect.py341except OSError:CODE
HIGHmodules/mono/build_scripts/build_assemblies.py106except OSError:CODE
HIGHmodules/mono/build_scripts/build_assemblies.py108except (subprocess.CalledProcessError, OSError):CODE
Deep Nesting48 hits · 44 pts
SeverityFileLineSnippetContext
LOWglsl_builders.py40CODE
LOWmethods.py86CODE
LOWmethods.py167CODE
LOWmethods.py238CODE
LOWmethods.py541CODE
LOWmethods.py624CODE
LOWmethods.py680CODE
LOWmethods.py882CODE
LOWmethods.py1002CODE
LOWmethods.py1642CODE
LOWmethods.py1040CODE
LOWplatform_methods.py98CODE
LOWplatform_methods.py163CODE
LOWplatform_methods.py378CODE
LOWgles3_builders.py43CODE
LOWmisc/scripts/validate_codeowners.py20CODE
LOWmisc/scripts/validate_codeowners.py122CODE
LOWmisc/scripts/purge_cache.py11CODE
LOWmisc/scripts/char_range_fetch.py48CODE
LOWmisc/scripts/validate_includes.py52CODE
LOWcore/core_builders.py95CODE
LOWcore/core_builders.py126CODE
LOWcore/core_builders.py161CODE
LOWcore/extension/make_interface_header.py27CODE
LOWcore/extension/make_interface_header.py221CODE
LOWcore/input/input_builders.py8CODE
LOWplatform/macos/platform_macos_builders.py11CODE
LOWplatform/macos/detect.py95CODE
LOWplatform/android/detect.py154CODE
LOWplatform/windows/detect.py23CODE
LOWplatform/windows/detect.py278CODE
LOWplatform/windows/detect.py648CODE
LOWplatform/windows/detect.py322CODE
LOWplatform/linuxbsd/detect.py96CODE
LOWtests/python_build/validate_builders.py45CODE
LOWdoc/tools/make_rst.py719CODE
LOWdoc/tools/make_rst.py935CODE
LOWdoc/tools/make_rst.py1597CODE
LOWdoc/tools/make_rst.py1756CODE
LOWdoc/tools/make_rst.py1781CODE
LOWdoc/tools/make_rst.py1905CODE
LOWdoc/tools/make_rst.py2548CODE
LOWdoc/tools/make_rst.py2692CODE
LOWdoc/tools/make_rst.py170CODE
LOWdoc/tools/make_rst.py616CODE
LOWdoc/tools/make_rst.py696CODE
LOWdoc/tools/doc_status.py256CODE
LOWeditor/template_builders.py8CODE
Unused Imports56 hits · 42 pts
SeverityFileLineSnippetContext
LOWmisc/utility/scons_hints.py14CODE
LOWmisc/utility/scons_hints.py15CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py16CODE
LOWmisc/utility/scons_hints.py17CODE
LOWmisc/utility/scons_hints.py18CODE
LOWmisc/utility/scons_hints.py19CODE
LOWmisc/utility/scons_hints.py20CODE
LOWmisc/utility/scons_hints.py20CODE
LOWmisc/utility/scons_hints.py21CODE
LOWmisc/utility/scons_hints.py21CODE
LOWmisc/utility/scons_hints.py21CODE
LOWmisc/utility/scons_hints.py21CODE
LOWmisc/utility/scons_hints.py21CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py22CODE
LOWmisc/utility/scons_hints.py35CODE
LOWmisc/utility/scons_hints.py35CODE
LOWmisc/utility/scons_hints.py35CODE
LOWmisc/utility/scons_hints.py36CODE
LOWmisc/utility/scons_hints.py37CODE
LOWmisc/utility/scons_hints.py38CODE
LOWmisc/utility/scons_hints.py38CODE
LOWmisc/utility/scons_hints.py38CODE
LOWmisc/utility/scons_hints.py38CODE
LOWmisc/utility/scons_hints.py38CODE
LOWmisc/utility/scons_hints.py39CODE
LOWmisc/utility/scons_hints.py39CODE
LOWmisc/utility/scons_hints.py40CODE
LOWmisc/utility/scons_hints.py40CODE
LOWmisc/utility/scons_hints.py40CODE
LOWmisc/utility/scons_hints.py40CODE
LOWmisc/utility/scons_hints.py40CODE
LOWmisc/utility/scons_hints.py40CODE
LOWplatform/macos/detect.py9CODE
LOWplatform/web/detect.py22CODE
LOWplatform/ios/detect.py9CODE
LOWplatform/visionos/detect.py9CODE
LOWplatform/android/detect.py11CODE
LOWplatform/windows/detect.py12CODE
LOWplatform/linuxbsd/detect.py11CODE
Hyper-Verbose Identifiers43 hits · 40 pts
SeverityFileLineSnippetContext
LOWglsl_builders.py40def include_file_in_rd_header(filename: str, header_data: RDHeaderStruct, depth: int) -> RDHeaderStruct:CODE
LOWglsl_builders.py245def include_file_in_raw_header(filename: str, header_data: RAWHeaderStruct, depth: int) -> None:STRING
LOWmethods.py121def force_optimization_on_debug(self):CODE
LOWmethods.py131def add_module_version_string(self, s):CODE
LOWmethods.py311def convert_custom_modules_path(path):CODE
LOWmethods.py336def module_check_dependencies(self, module):CODE
LOWmethods.py458def detect_visual_c_compiler_version(tools_env):CODE
LOWmethods.py612def detect_darwin_toolchain_path(env):CODE
LOWmethods.py796def update_compiler_version_cache(value):CODE
LOWmethods.py1507def generate_copyright_header(filename: str) -> str:CODE
LOWmethods.py1686def get_default_include_paths(env):STRING
LOWplatform_methods.py228def combine_libs_apple_embedded(target, source, env):CODE
LOWplatform_methods.py239def lipo_and_copy_apple_embedded(CODE
LOWplatform_methods.py320def generate_bundle_apple_embedded(platform, framework_dir, framework_dir_sim, use_mkv, target, source, env):CODE
LOWscu_builders.py105def write_exception_output_file(file_count, exception_string, output_folder, output_filename_prefix, extension):CODE
LOWmisc/scripts/unicode_ranges_fetch.py66def generate_unicode_ranges_inc() -> None:CODE
LOWcore/extension/make_interface_header.py266def make_deprecated_comment_for_type(type):STRING
LOWcore/input/input_builders.py8def make_default_controller_mappings(target, source, env):CODE
LOWplatform/platform_builders.py24def register_platform_apis_builder(target, source, env):STRING
LOWplatform/web/serve.py22class CORSRequestHandler(SimpleHTTPRequestHandler):CODE
LOWplatform/android/platform_android_builders.py7def generate_android_binaries(target, source, env):CODE
LOWtests/compatibility_test/run_compatibility_test.py78def has_compatibility_test_failed(errors: str) -> bool:CODE
LOWtests/compatibility_test/run_compatibility_test.py102def process_compatibility_test(proc: subprocess.Popen[bytes], timeout: int = 5) -> str | None:CODE
LOWdoc/tools/make_rst.py1689def make_deprecated_experimental(item: DefinitionBase, state: State) -> str:CODE
LOWdoc/tools/doc_status.py150 def to_configured_colored_string(self):CODE
LOWscene/theme/icons/default_theme_icons_builders.py9def make_default_theme_icons_action(target, source, env):CODE
LOWmodules/modules_builders.py15def register_module_types_builder(target, source, env):CODE
LOWmodules/webxr/native/webxr.externs.js453function WebGLRenderingContextBase() {};CODE
LOWmodules/webxr/native/webxr.externs.js463function XRInputSourcesChangeEvent() {};CODE
LOWmodules/mono/build_scripts/build_assemblies.py27def find_msbuild_standalone_windows():CODE
LOWmodules/mono/build_scripts/build_assemblies.py36def find_msbuild_mono_windows(mono_prefix):CODE
LOWmodules/mono/build_scripts/build_assemblies.py76def find_msbuild_tools_path_reg():CODE
LOWmodules/mono/build_scripts/build_assemblies.py262def generate_sdk_package_versions():CODE
LOWthirdparty/harfbuzz/src/hb-unicode.h354typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs,CODE
LOWthirdparty/harfbuzz/src/hb-unicode.h372typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs,CODE
LOWthirdparty/vulkan/vk_mem_alloc.h1542To be used with function vmaBeginDefragmentationPass().CODE
LOWthirdparty/vulkan/vk_mem_alloc.h17243 - Use function vmaImportVulkanFunctionsFromVolk() to fill in the structure #VmaVulkanFunctions.CODE
LOWthirdparty/vulkan/vk_mem_alloc.h17564The easiest way to copy data from a host pointer to an allocation is to use convenience function vmaCopyMemoryToAllocatiCODE
LOWthirdparty/vulkan/vk_mem_alloc.h17593Copy in the other direction - from an allocation to a host pointer can be performed the same way using function vmaCopyACODE
LOWthirdparty/vulkan/vk_mem_alloc.h18041 using default pools with dedicated function vmaCreateBufferWithAlignment().CODE
LOWthirdparty/vulkan/vk_mem_alloc.h18706use special function vmaCreateBufferWithAlignment(), which takes additional parameter `minAlignment`.CODE
LOWeditor/editor_builders.py8def doc_data_class_path_builder(target, source, env):CODE
LOWeditor/editor_builders.py28def register_exporters_builder(target, source, env):STRING
Verbosity Indicators20 hits · 33 pts
SeverityFileLineSnippetContext
LOWcore/io/resource_importer.cpp185 // Note: Some importers do not create files in the .godot folder, so we need to check if the path is empty.COMMENT
LOWplatform/macos/godot_application.mm187 // Step 1: Switch focus to macOS SystemUIServer process.COMMENT
LOW⚡platform/macos/godot_application.mm199 // Step 2: Register app as foreground process.COMMENT
LOW⚡platform/macos/godot_application.mm206 // Step 3: Switch focus back to app window.COMMENT
LOWscene/resources/curve.cpp1625 // Step 1: Tessellate curve to (almost) even length segments.COMMENT
LOWscene/resources/curve.cpp1700 // Step 2: Calculate the up vectors and the whole local reference frame.COMMENT
LOWscene/gui/texture_button.cpp100 // finally, we need to check if the point is inside a rectangle with a position >= 0,0 and a size <= mask_sizeCOMMENT
LOWscene/2d/line_builder.cpp363 // calculate this ourselves as we need to check if the cross productCOMMENT
LOWmodules/gltf/gltf_document.cpp5239 // Occlusion and/or emission textures can use Godot's UV2, so we need to check if KHR_texture_transform animates thCOMMENT
LOWmodules/gltf/gltf_document.cpp5445 // occlusionTexture and emissiveTexture can use Godot's UV2, so we need to check if those are animated.COMMENT
LOWthirdparty/icu4c/common/uidna.cpp320 // Step 4: if the source is ASCII then proceed to step 8COMMENT
LOW⚡thirdparty/icu4c/common/uidna.cpp370 //Step 7: prepend the ACE prefixCOMMENT
LOW⚡thirdparty/icu4c/common/uidna.cpp372 //Step 6: copy the contents in b2 into destCOMMENT
LOWthirdparty/icu4c/common/ucnv2022.cpp430/* The purpose of this function is to get around gcc compiler warnings. */COMMENT
LOWthirdparty/icu4c/common/locmap.cpp1173 // The purpose of this function is to leverage the Windows platform name->lcidCOMMENT
LOWthirdparty/basis_universal/encoder/basisu_frontend.cpp1950 // Step 1: Sort endpoint clusters by the base colors/intensCOMMENT
LOWthirdparty/basis_universal/encoder/basisu_frontend.cpp1971 // Step 2: Eliminate redundant endpoint clusters, or empty endpoint clustersCOMMENT
LOWthirdparty/glslang/SPIRV/SpvBuilder.cpp4057 // Step 2: Construct a matrix from that array.COMMENT
LOWeditor/editor_node.cpp7492 // Do we need to check if the paths are empty?COMMENT
LOWeditor/editor_node.cpp7499 // Do we need to check if the paths are empty?COMMENT
Cross-Language Confusion5 hits · 30 pts
SeverityFileLineSnippetContext
HIGHmisc/utility/godot_gdb_pretty_print.py111 # Return nothing if ptr is null.COMMENT
HIGHmisc/utility/godot_gdb_pretty_print.py138 # Return nothing if data is null.COMMENT
HIGHcore/object/make_virtuals.py13 if (_script_instance && _script_instance->has_method(_gdvirtual_##$VARNAME##_sn)) {\\CODE
HIGHplatform/macos/detect.py209 "-fsanitize=undefined,shift,shift-exponent,integer-divide-by-zero,unreachable,vla-bound,null,return,CODE
HIGHplatform/linuxbsd/detect.py178 "-fsanitize=undefined,shift,shift-exponent,integer-divide-by-zero,unreachable,vla-bound,null,return,CODE
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHthirdparty/mbedtls/library/error.c99 /* Begin Auto-Generated Code. */COMMENT
HIGHthirdparty/mbedtls/library/error.c294 /* End Auto-Generated Code. */COMMENT
HIGHthirdparty/mbedtls/library/error.c315 /* Begin Auto-Generated Code. */COMMENT
HIGHthirdparty/mbedtls/library/error.c410 /* End Auto-Generated Code. */COMMENT
Excessive Try-Catch Wrapping18 hits · 25 pts
SeverityFileLineSnippetContext
LOWmethods.py1139 except Exception:CODE
LOWplatform_methods.py132 except Exception: # Give up.CODE
MEDIUMplatform_methods.py99def int_or_zero(i):CODE
LOWplatform/macos/detect.py43 except Exception: # Give up.CODE
LOWplatform/web/detect.py135 except Exception:CODE
LOWplatform/ios/detect.py37 except Exception:CODE
LOWplatform/android/detect.py42 except Exception: # Give up.CODE
LOWplatform/windows/detect.py43 except Exception:CODE
LOWplatform/windows/detect.py202 except Exception: # Give up.CODE
MEDIUMplatform/windows/detect.py134def int_or_zero(i):CODE
LOWplatform/linuxbsd/detect.py45 except Exception: # Give up.CODE
LOWdoc/tools/make_rst.py813 except Exception as e:CODE
MEDIUMdoc/classes/DirAccess.xml33 print("An error occurred when trying to access the path.")CODE
MEDIUMmain/main.cpp2063 OS::get_singleton()->print("Error: \"--embedded\" requires \"--remote-debug <uri>\", \"--wid <window_id>\", and \"--edCODE
MEDIUMmain/main.cpp2231 OS::get_singleton()->print("Error: Recovery mode can only be used in the editor. Aborting.\n");CODE
MEDIUMmain/main.cpp2299 OS::get_singleton()->print("Error: Connection to debug server failed. Aborting.\n");CODE
LOWmodules/gltf/editor/editor_import_blend_runner.cpp78 except Exception as e:CODE
MEDIUMmodules/mono/build_scripts/build_assemblies.py105 print("Error reading output from vswhere: " + str(e))CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHdoc/classes/MeshDataTool.xml18 # In this example we extend the mesh by one unit, which results in separated faces as it is flat shaded.COMMENT
HIGHdoc/classes/Input.xml760 # In this example we only use the first connected joypad (id 0).COMMENT
HIGHthirdparty/freetype/src/sdf/ftsdf.c2926 #error "corruption. If required I will add this later."COMMENT
Fake / Example Data21 hits · 21 pts
SeverityFileLineSnippetContext
LOWcore/object/script_language_extension.cpp49 GDVIRTUAL_BIND(_placeholder_erased, "placeholder");CODE
LOWcore/variant/variant_call.cpp1997 bind_string_method(format, sarray("values", "placeholder"), varray("{_}"));CODE
LOWtests/scene/test_text_edit.cpp6461 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta ex CODE
LOWtests/scene/test_text_edit.cpp6461 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta ex CODE
LOWtests/scene/test_text_edit.cpp6669 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta ex CODE
LOWtests/scene/test_text_edit.cpp6669 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta ex CODE
LOWtests/scene/test_text_edit.cpp6735 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta exCODE
LOWtests/scene/test_text_edit.cpp6737 text_edit->insert_line_at(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed pCODE
LOWtests/scene/test_text_edit.cpp7497 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta ex CODE
LOWtests/scene/test_text_edit.cpp7497 text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed porta ex CODE
LOWtests/scene/test_text_edit.cpp7547 text_edit->insert_line_at(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed poCODE
LOWtests/scene/test_text_edit.cpp7547 text_edit->insert_line_at(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vasius mattis leo, sed poCODE
LOWdoc/classes/StringName.xml232 <param index="1" name="placeholder" type="String" default="&quot;{_}&quot;" />CODE
LOWdoc/classes/ScriptExtension.xml185 <param index="0" name="placeholder" type="void*" />CODE
LOWdoc/classes/String.xml252 <param index="1" name="placeholder" type="String" default="&quot;{_}&quot;" />CODE
LOWdoc/classes/AccessibilityServer.xml426 <param index="1" name="placeholder" type="String" />CODE
LOWdoc/classes/DisplayServer.xml433 <param index="1" name="placeholder" type="String" />CODE
LOWmodules/gdscript/gdscript_parser.cpp161 register_annotation(MethodInfo("@export_placeholder", PropertyInfo(Variant::STRING, "placeholder")), AnnotationInfo::VCODE
LOWmodules/gdscript/doc_classes/@GDScript.xml652 <param index="0" name="placeholder" type="String" />CODE
LOWservers/display/display_server.cpp1658 ClassDB::bind_method(D_METHOD("accessibility_update_set_placeholder", "id", "placeholder"), &DisplayServer::accessibiliCODE
LOWservers/display/accessibility_server.cpp112 ClassDB::bind_method(D_METHOD("update_set_placeholder", "id", "placeholder"), &AccessibilityServer::update_set_placeholCODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWplatform/android/detect.py109# Check if Android NDK version is installedCOMMENT
LOWdoc/tools/doc_status.py435# Print output table #COMMENT
LOWdoc/classes/int.xml120 # Check if the first or second bit are enabled.COMMENT
LOWdoc/classes/HashingContext.xml20 # Open the file to hash.COMMENT
LOWdoc/classes/HashingContext.xml28 # Print the result as hex string and array.COMMENT
LOWmodules/zip/doc_classes/ZIPReader.xml37 # Write file contents, creating folders automatically when needed.COMMENT
LOWmodules/mono/config.py6 # Check if the platform has marked mono as supported.COMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…dules/mono/glue/GodotSharp/GodotSharp/Core/Callable.cs189 /// Usage example:COMMENT
LOWservers/rendering/multi_uma_buffer.h162/// # How to useCOMMENT
LOWthirdparty/icu4c/common/ucase.cpp1448# Usage:COMMENT
LOWthirdparty/minizip/skipset.h20// Example usage:COMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/servers/test_navigation_server_2d.cpp334 // TODO: Add tests for setters/getters once getters are added.COMMENT
LOWtests/servers/test_navigation_server_3d.cpp313 // TODO: Add tests for setters/getters once getters are added.COMMENT
LOW…ty/glslang/glslang/MachineIndependent/linkValidate.cpp233 // TODO: implement support for geometry passthroughCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdoc/tools/make_rst.py616 def update_class_group(self, state: State) -> None:CODE
AI Structural Patterns1 hit · 0 pts
SeverityFileLineSnippetContext
LOWmethods.py418CODE