AI Slop Code Risk Monitor

baldurk/renderdoc

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

RenderDoc is a stand-alone graphics debugging tool.

2.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for baldurk/renderdoc, a C++ project with 11,249 GitHub stars. SynthScan examined 2,132,723 lines of code across 3370 source files, recording 6118 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 2.4 (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.

2.4
Adjusted Signal
2.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
11.2K
Stars
C++
Language
2.1M
Lines of Code
3.4K
Files
6.1K
Pattern Hits
2026-10-31
Scan Date
0.01
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 11.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 13.7/100 · LOW

Which changes need focused human review? 6118 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 2HIGH 17MEDIUM 37LOW 6062

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 6118 distinct pattern matches across 20 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 Block5721 hits · 4594 pts
SeverityFileLineSnippetContext
LOWutil/make_python_lib_zip.py1from pathlib import PathCOMMENT
LOWutil/test/rdtest/png.py1#!/usr/bin/env pythonCOMMENT
LOWutil/test/rdtest/png.py21# The above copyright notice and this permission notice shall beCOMMENT
LOWutil/test/rdtest/png.py1961 # of doing this without generating a whole load ofCOMMENT
LOWutil/test/demos/renderdoc_app.h21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INCOMMENT
LOWutil/test/demos/renderdoc_app.h41#define RENDERDOC_CCCOMMENT
LOWutil/test/demos/renderdoc_app.h81 // Allow the application to enable vsyncCOMMENT
LOWutil/test/demos/renderdoc_app.h101 // 1 - Enable built-in API debugging features and records the results intoCOMMENT
LOWutil/test/demos/renderdoc_app.h121 // Ignored if CaptureCallstacks is disabledCOMMENT
LOWutil/test/demos/renderdoc_app.h141 //COMMENT
LOWutil/test/demos/renderdoc_app.h161 eRENDERDOC_Option_HookIntoChildren = 7,COMMENT
LOWutil/test/demos/renderdoc_app.h181 // Default - disabledCOMMENT
LOWutil/test/demos/renderdoc_app.h201 // 0 - Command lists are only captured if their recording begins duringCOMMENT
LOWutil/test/demos/renderdoc_app.h221COMMENT
LOWutil/test/demos/renderdoc_app.h361 // Enable all bitsCOMMENT
LOWutil/test/demos/renderdoc_app.h381COMMENT
LOWutil/test/demos/renderdoc_app.h401// If pathtemplate is NULL, the template will remain unchangedCOMMENT
LOWutil/test/demos/renderdoc_app.h421// This function returns the details of a capture, by index. New captures are addedCOMMENT
LOWutil/test/demos/renderdoc_app.h441// filePath should be a path to the capture file to add comments to. If set to NULL or ""COMMENT
LOWutil/test/demos/renderdoc_app.h461// if connectTargetControl is 1, the Replay UI will be launched with a command line parameterCOMMENT
LOWutil/test/demos/renderdoc_app.h481// target control connection to make such a request, or if there was another errorCOMMENT
LOWutil/test/demos/renderdoc_app.h501//COMMENT
LOWutil/test/demos/renderdoc_app.h521// or in the simplest case of one window and one API, you can just pass NULL for both.COMMENT
LOWutil/test/demos/renderdoc_app.h541// This will return 1 if a capture is ongoing, and 0 if there is no capture runningCOMMENT
LOWutil/test/demos/renderdoc_app.h561// this call. The second capture to end will have no title, unless this function is called again.COMMENT
LOWutil/test/demos/renderdoc_app.h661COMMENT
LOWutil/test/demos/renderdoc_app.h681 uint32_t valueVectorWidth,COMMENT
LOWutil/test/demos/renderdoc_app.h721//COMMENT
LOWutil/test/demos/renderdoc_app.h841typedef RENDERDOC_API_1_7_0 RENDERDOC_API_1_2_0;COMMENT
LOWutil/test/demos/renderdoc_app.h861// Parameters:COMMENT
LOWutil/test/demos/test_common.h21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INCOMMENT
LOWutil/test/demos/test_common.h41#include <string.h>COMMENT
LOWutil/test/demos/main.cpp21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INCOMMENT
LOWutil/test/demos/apple/nuklear_appkit.h61#define nk_appkit_key_1 49COMMENT
LOWutil/test/demos/apple/nuklear_appkit.h81#define nk_appkit_key_K 75COMMENT
LOWutil/test/demos/apple/nuklear_appkit.h101#define nk_appkit_key_delete 305COMMENT
LOWutil/test/demos/apple/apple_platform.h21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INCOMMENT
LOWutil/test/demos/apple/official/metal-cpp.h1//COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h21#pragma onceCOMMENT
LOWutil/test/demos/apple/official/metal-cpp.h41#define _NS_VALIDATE_ENUM(ns, name) static_assert(_NS_CAST_TO_UINT(ns::name) == _NS_CAST_TO_UINT(ns##name), "value mismaCOMMENT
LOWutil/test/demos/apple/official/metal-cpp.h61#elseCOMMENT
LOWutil/test/demos/apple/official/metal-cpp.h3301}COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h3341//----------------------------------------------------------------------------------------------------------------------COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h3361#define _MTL_PRIVATE_CLS(symbol) (Private::Class::s_k##symbol)COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h3421COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h7001COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h7021#define _CA_PRIVATE_OBJC_LOOKUP_CLASS(symbol) ((__bridge void*)objc_lookUpClass(#symbol))COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h21381COMMENT
LOWutil/test/demos/apple/official/metal-cpp.h21401#define _MTLFX_VALIDATE_ENUM( mtlfx, name ) _NS_VALIDATE_ENUM( mtlfx, name )COMMENT
LOWutil/test/demos/d3d11/d3d11_video_textures.cpp41COMMENT
LOWutil/test/demos/d3d11/d3d11_cbuffer_zoo.cpp101 // row3: {104, 105, 106, 107}COMMENT
LOWutil/test/demos/d3d11/d3d11_cbuffer_zoo.cpp141COMMENT
LOWutil/test/demos/d3d11/d3d11_cbuffer_zoo.cpp161 // [2][1] = {248, 249, 250, 251}COMMENT
LOWutil/test/demos/d3d11/d3d11_cbuffer_zoo.cpp181 // .c[1] = { { 312, 313, 314 }, 315 }COMMENT
LOWutil/test/demos/d3d11/d3d11_cbuffer_zoo.cpp201 // <347, 351>COMMENT
LOWutil/test/demos/d3d11/d3d11_cbuffer_zoo.cpp241 // }COMMENT
LOWutil/test/demos/vk/vk_descriptor_buffer.cpp181#elif TEST == 8COMMENT
LOWutil/test/demos/vk/vk_video_textures.cpp21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INCOMMENT
LOWutil/test/demos/vk/vk_cbuffer_zoo.cpp81 // row0: {76, 80, 84, 88}COMMENT
LOWutil/test/demos/vk/vk_cbuffer_zoo.cpp121 // row0: {184, 185}, <186, 187>COMMENT
5661 more matches not shown…
TODO Padding103 hits · 128 pts
SeverityFileLineSnippetContext
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp51 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp77 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp94 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp121 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp138 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp165 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp180 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp206 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp219 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp244 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp262 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp293 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp319 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_render_command_encoder.cpp344 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_library.cpp48 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_library.cpp84 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp88 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp160 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp217 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp288 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp341 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp364 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp409 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp464 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_device.cpp743 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_core.cpp817 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_buffer.cpp51 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_buffer.cpp77 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_buffer.cpp109 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_queue.cpp48 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_queue.cpp78 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp52 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp82 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp102 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp145 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp160 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp208 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp219 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp243 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp254 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp279 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp290 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_command_buffer.cpp317 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_init_state.cpp151 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp46 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp71 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp82 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp107 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp120 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp145 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp157 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp182 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp193 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp218 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp231 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp256 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp273 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp299 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp316 // TODO: implement RD MTL replayCOMMENT
LOWrenderdoc/driver/metal/metal_blit_command_encoder.cpp345 // TODO: implement RD MTL replayCOMMENT
43 more matches not shown…
Deep Nesting95 hits · 87 pts
SeverityFileLineSnippetContext
LOWutil/test/ui_harness/__init__.py113CODE
LOWutil/test/rdtest/logging.py165CODE
LOWutil/test/rdtest/runner.py65CODE
LOWutil/test/rdtest/runner.py222CODE
LOWutil/test/rdtest/runner.py383CODE
LOWutil/test/rdtest/analyse.py152CODE
LOWutil/test/rdtest/analyse.py280CODE
LOWutil/test/rdtest/analyse.py334CODE
LOWutil/test/rdtest/analyse.py377CODE
LOWutil/test/rdtest/analyse.py423CODE
LOWutil/test/rdtest/testcase.py46CODE
LOWutil/test/rdtest/testcase.py552CODE
LOWutil/test/rdtest/testcase.py681CODE
LOWutil/test/rdtest/testcase.py865CODE
LOWutil/test/rdtest/testcase.py1068CODE
LOWutil/test/rdtest/testcase.py1120CODE
LOWutil/test/rdtest/testcase.py1339CODE
LOWutil/test/rdtest/png.py1305CODE
LOWutil/test/rdtest/png.py1468CODE
LOWutil/test/rdtest/shared/Overlay_Test.py12CODE
LOWutil/test/rdtest/shared/Buffer_Truncation.py10CODE
LOWutil/test/rdtest/shared/Discard_Zoo.py22CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py53CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py546CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py656CODE
LOWutil/test/rdtest/shared/Groupshared.py10CODE
LOWutil/test/rdtest/shared/Stripped_Shaders.py59CODE
LOWutil/test/rdtest/shared/Subgroup_Zoo.py14CODE
LOWutil/test/rdtest/shared/Subgroup_Zoo.py56CODE
LOWutil/test/rdtest/shared/Subgroup_Zoo.py119CODE
LOWutil/test/rdtest/shared/Pixel_History.py956CODE
LOWutil/test/tests/Iter_Test.py165CODE
LOWutil/test/tests/Iter_Test.py362CODE
LOWutil/test/tests/D3D11/D3D11_Shader_Debug_Zoo.py9CODE
LOWutil/test/tests/D3D11/D3D11_Counters.py10CODE
LOWutil/test/tests/Vulkan/VK_Resource_Usage.py34CODE
LOWutil/test/tests/Vulkan/VK_Blend_Pixel_History.py23CODE
LOWutil/test/tests/Vulkan/VK_Multi_View.py7CODE
LOWutil/test/tests/Vulkan/VK_Synchronization_2.py16CODE
LOWutil/test/tests/Vulkan/VK_Image_Layouts.py16CODE
LOWutil/test/tests/Vulkan/VK_Shader_Debug_Zoo.py11CODE
LOWutil/test/tests/Vulkan/VK_Counters.py10CODE
LOWutil/test/tests/Vulkan/VK_Spec_Constants.py9CODE
LOWutil/test/tests/Vulkan/VK_Descriptor_Buffer.py9CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py261CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py318CODE
LOWutil/test/tests/Vulkan/VK_Mesh_Shader.py20CODE
LOWutil/test/tests/Vulkan/VK_Custom_Resolve.py42CODE
LOWutil/test/tests/Vulkan/VK_Custom_Resolve.py68CODE
LOWutil/test/tests/Vulkan/VK_Discard_Zoo.py12CODE
LOWutil/test/tests/GL/GL_Counters.py10CODE
LOWutil/test/tests/GL/GL_Shader_Debug_Zoo.py9CODE
LOWutil/test/tests/GL/GL_Queries_In_Use.py8CODE
LOWutil/test/tests/GL/GL_Renderbuffer_Zoo.py10CODE
LOWutil/test/tests/GL/GL_Parameter_Zoo.py11CODE
LOWutil/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py9CODE
LOWutil/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py93CODE
LOWutil/test/tests/D3D12/D3D12_Vertex_UAV.py10CODE
LOWutil/test/tests/D3D12/D3D12_Execute_Indirect.py68CODE
LOWutil/test/tests/D3D12/D3D12_Descriptor_Indexing.py37CODE
35 more matches not shown…
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHutil/test/ui_harness/__init__.py123except ImportError:CODE
HIGHutil/test/ui_harness/__init__.py138except AbortTestException as ex:CODE
HIGHutil/test/rdtest/runner.py58except Exception:CODE
HIGHutil/test/rdtest/runner.py356except AttributeError:CODE
HIGHutil/test/rdtest/util.py297except ImportError:CODE
HIGHutil/test/rdtest/shared/Overlay_Test.py500except rdtest.TestFailureException:CODE
HIGHutil/test/rdtest/shared/Overlay_Test.py513except rdtest.TestFailureException:CODE
HIGHutil/test/rdtest/shared/Texture_Zoo.py101except Exception:CODE
HIGHutil/test/rdtest/shared/Texture_Zoo.py125except Exception:CODE
HIGHdocs/verify-docstrings.py339except TypeError:CODE
HIGHdocs/verify-docstrings.py337except NotImplementedError:CODE
HIGHdocs/sphinx_exts/sphinx_paramlinks/sphinx_paramlinks.py34except:CODE
HIGHqrenderdoc/Code/pyrenderdoc/parse_reflection.py1910except:CODE
HIGHqrenderdoc/Code/pyrenderdoc/parse_reflection.py2249except:CODE
HIGHqrenderdoc/Code/pyrenderdoc/parse_reflection.py2311except:CODE
HIGHqrenderdoc/Code/pyrenderdoc/parse_reflection.py1969except:CODE
AI Slop Vocabulary20 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMutil/test/rdtest/runner.py307 # On windows, try to elevate. This will mean a UAC promptCOMMENT
MEDIUMutil/test/demos/3rdparty/ags/amd_ags.h669/// This extension allows an apllication to voluntarily register itself with the driver, providing a more robust app detCOMMENT
MEDIUMutil/test/demos/3rdparty/nuklear/nuklear.h53/// - Absolutely no platform dependent codeCOMMENT
MEDIUMdocs/sphinx_exts/sphinxcontrib_jquery/jquery-3.6.0.js10830// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUMqrenderdoc/Code/QRDUtils.cpp478// is being initialised before being assigned to a widget and we want the most seamless interface weCOMMENT
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py1652 # if this function was a property, don't make a callable just setCOMMENT
MEDIUMqrenderdoc/Windows/DescriptorViewer.cpp738 // seamless and unnormalizedCOMMENT
MEDIUMrenderdoc/driver/d3d11/d3d11_replay.cpp3149 // to checking against the forward direction of the camera, but more robustCOMMENT
MEDIUMrenderdoc/driver/ihv/amd/official/ags/amd_ags.h669/// This extension allows an apllication to voluntarily register itself with the driver, providing a more robust app detCOMMENT
MEDIUM…erdoc/driver/ihv/nv/official/nvapi/nvapi_lite_common.h537 //!< On discrete GPUs, it is used to utilize system memory for various opCOMMENT
MEDIUM…ihv/nv/official/PerfSDK/redist/include/nvperf_common.h79 /// LD_LIBRARY_PATH environment variable is set correctly. Alternatively, you may utilizeCOMMENT
MEDIUMrenderdoc/driver/vulkan/vk_debug.cpp1317 // to checking against the forward direction of the camera, but more robustCOMMENT
MEDIUMrenderdoc/driver/vulkan/vk_core.cpp2417 // indexing doesn't support robust update after bind, but require it anyway as weCOMMENT
MEDIUMrenderdoc/driver/vulkan/wrappers/vk_get_funcs.cpp1014 // we force the use of robustness, so tweak sizes to be robust sizes as the application doesn'tCOMMENT
MEDIUMrenderdoc/driver/gl/gl_debug.cpp2580 // to checking against the forward direction of the camera, but more robustCOMMENT
MEDIUMrenderdoc/driver/gl/gl_replay.cpp2414 // GLES 3 is always seamlessCOMMENT
MEDIUMrenderdoc/driver/d3d12/d3d12_replay.cpp2435 // to checking against the forward direction of the camera, but more robustCOMMENT
MEDIUMrenderdoc/3rdparty/tinyexr/tinyexr.h1697 // TODO(syoyo): Add more robust out-of-bounds check in `rleUncompress`.COMMENT
MEDIUMrenderdoc/3rdparty/glslang/SPIRV/GlslangToSpv.cpp6505 // 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.cpp9840// for the parameter to the constructor (passed to this function). Essentially, it convertsCOMMENT
Unused Imports55 hits · 53 pts
SeverityFileLineSnippetContext
LOWutil/test/run_tests.py141CODE
LOWutil/test/run_tests.py81CODE
LOWutil/test/ui_harness/__init__.py1CODE
LOWutil/test/ui_harness/__init__.py14CODE
LOWutil/test/rdtest/logging.py1CODE
LOWutil/test/rdtest/runner.py1CODE
LOWutil/test/rdtest/analyse.py1CODE
LOWutil/test/rdtest/testcase.py1CODE
LOWutil/test/rdtest/util.py1CODE
LOWutil/test/rdtest/__init__.py1CODE
LOWutil/test/rdtest/__init__.py2CODE
LOWutil/test/rdtest/__init__.py3CODE
LOWutil/test/rdtest/__init__.py4CODE
LOWutil/test/rdtest/__init__.py5CODE
LOWutil/test/rdtest/__init__.py6CODE
LOWutil/test/rdtest/__init__.py7CODE
LOWutil/test/rdtest/__init__.py8CODE
LOWutil/test/rdtest/__init__.py9CODE
LOWutil/test/rdtest/__init__.py10CODE
LOWutil/test/rdtest/__init__.py11CODE
LOWutil/test/rdtest/__init__.py12CODE
LOWutil/test/rdtest/__init__.py13CODE
LOWutil/test/rdtest/__init__.py14CODE
LOWutil/test/rdtest/__init__.py15CODE
LOWutil/test/rdtest/__init__.py16CODE
LOWutil/test/rdtest/__init__.py17CODE
LOWutil/test/rdtest/png.py172CODE
LOWutil/test/rdtest/png.py172CODE
LOWutil/test/rdtest/capture.py1CODE
LOWutil/test/rdtest/remoteserver.py1CODE
LOWutil/test/rdtest/shared/Mesh_Zoo.py1CODE
LOWutil/test/rdtest/shared/Draw_Zoo.py1CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py1CODE
LOWutil/test/rdtest/shared/Pixel_History.py1CODE
LOWutil/test/tests/Iter_Test.py1CODE
LOWutil/test/tests/D3D11/D3D11_PrimitiveID.py1CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py1CODE
LOWutil/test/tests/D3D12/D3D12_PrimitiveID.py1CODE
LOWutil/test/tests/D3D12/D3D12_Reflection_Zoo.py1CODE
LOWdocs/conf.py463CODE
LOWdocs/python_api/examples/miniqt_ui.py2CODE
LOWdocs/sphinx_exts/sphinx_paramlinks/__init__.py3CODE
LOWqrenderdoc/sort_qt_ui.py5CODE
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py4CODE
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py2460CODE
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py2496CODE
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py2497CODE
LOW.github/workflows/install-vs-components.py7CODE
LOWrenderdoc/librenderdoc.so-gdb.py1CODE
LOWrenderdoc/driver/vulkan/gen_dispatch_table.py4CODE
LOWrenderdoc/driver/vulkan/gen_dispatch_table.py6CODE
LOWrenderdoc/driver/vulkan/gen_dispatch_table.py96CODE
LOWrenderdoc/driver/gl/gen_dispatch_table.py4CODE
LOWrenderdoc/driver/shaders/spirv/gen_spirv_code.py4CODE
LOWrenderdoc/driver/shaders/spirv/gen_spirv_code.py7CODE
Self-Referential Comments12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMutil/test/rdtest/png.py2128 # Create a fresh target row, then copy L channelCOMMENT
MEDIUMutil/buildscripts/scripts/prepare_symbols.sh25# Create a source-mapping file to embed into PDBsCOMMENT
MEDIUMdocs/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUM…y/qt/x64/mkspecs/features/uikit/device_destinations.sh8## This file is the build configuration utility of the Qt Toolkit.COMMENT
MEDIUM…rdoc/3rdparty/qt/x64/mkspecs/features/uikit/devices.pl8## This file is the build configuration utility of the Qt Toolkit.COMMENT
MEDIUM…rty/qt/x64/mkspecs/features/data/mac/objc_namespace.sh8## This file is the build configuration utility of the Qt Toolkit.COMMENT
MEDIUM…rty/qt/x64/mkspecs/features/data/unix/findclasslist.pl7## This file is part of the build configuration tools of the Qt Toolkit.COMMENT
MEDIUM…qt/Win32/mkspecs/features/uikit/device_destinations.sh8## This file is the build configuration utility of the Qt Toolkit.COMMENT
MEDIUM…oc/3rdparty/qt/Win32/mkspecs/features/uikit/devices.pl8## This file is the build configuration utility of the Qt Toolkit.COMMENT
MEDIUM…y/qt/Win32/mkspecs/features/data/mac/objc_namespace.sh8## This file is the build configuration utility of the Qt Toolkit.COMMENT
MEDIUM…y/qt/Win32/mkspecs/features/data/unix/findclasslist.pl7## This file is part of the build configuration tools of the Qt Toolkit.COMMENT
MEDIUMrenderdoc/driver/gl/gen_dispatch_table.py109 # Create an array with each parameter as an elementCOMMENT
Hyper-Verbose Identifiers35 hits · 35 pts
SeverityFileLineSnippetContext
LOWutil/test/rdtest/analyse.py423def get_event_parameters_text(chunk: rd.SDObject) -> str:CODE
LOWutil/test/rdtest/testcase.py536 def get_source_shader_var_value(self, sourceVars: List[rd.SourceVariableMapping], name: str, varType: str, debugVarsCODE
LOWutil/test/rdtest/testcase.py888 def compare_shader_variable_change(self, expectedChange: rd.ShaderVariableChange, change: rd.ShaderVariableChange, sCODE
LOWutil/test/rdtest/testcase.py905 def compare_shader_variable_changes(self, expectedChanges: List[rd.ShaderVariableChange], changes: List[rd.ShaderVarCODE
LOWutil/test/rdtest/testcase.py1439 def check_indirect_action_name_consistency(self, controller: rd.ReplayController):CODE
LOWutil/test/rdtest/util.py183def get_android_demo_app_name():CODE
LOWutil/test/rdtest/png.py855 def array_scanlines_interlace(self, pixels):CODE
LOWutil/test/rdtest/remoteserver.py78 def retrieve_latest_server_log(self, dst: str, timeout=10) -> str | None:CODE
LOWutil/test/rdtest/remoteserver.py324 def retrieve_latest_server_log(self, dst, timeout=10):CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py546 def check_capture_with_controller(self, proxy_api: str):CODE
LOWutil/test/rdtest/shared/Groupshared.py10 def check_compute_thread_result(self, test: int, action: rd.ActionDescription, x: int, y: int, z: int, expected: rdtCODE
LOWutil/test/rdtest/shared/Groupshared.py95 def check_compute_section_tests(self, sectionAction: rd.ActionDescription):CODE
LOWutil/test/rdtest/shared/Subgroup_Zoo.py14 def check_compute_thread_result(self, test: int, action: rd.ActionDescription, x: int, y: int, z: int, dim: Tuple[inCODE
LOWutil/test/rdtest/shared/Annotations.py12 def check_resource_annotations(self):CODE
LOWutil/test/rdtest/shared/Annotations.py72 def check_command_annotations(self, cmd_buffers: bool):CODE
LOWutil/test/tests/Vulkan/VK_VRS.py21 def get_shading_rate_for_quad(self, tex: rd.ResourceId, x: int, y: int):CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py65 def check_pixel_history_succeeds(self, eid: int, x: int, y: int):CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py150 def check_overlay_and_pixel_history(self, eid: int, coords: List[Tuple[int,int]]):CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py158 def check_overlays_and_pixel_history(self):CODE
LOWutil/test/tests/Vulkan/VK_Indirect.py261 def check_empty_draw_overlays(self):CODE
LOWutil/test/tests/Vulkan/VK_Mesh_Shader.py10 def build_local_taskout_reference(self):CODE
LOWutil/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py9 def check_compute_derivative_tests(self):CODE
LOWutil/test/tests/D3D12/D3D12_Execute_Indirect.py45 def check_pixel_history_succeeds(self, x: int, y: int):CODE
LOWutil/test/tests/D3D12/D3D12_VRS.py21 def get_shading_rate_for_quad(self, tex: rd.ResourceId, x: int, y: int):CODE
LOWutil/test/tests/D3D12/D3D12_Mesh_Shader.py10 def build_global_taskout_reference(self):CODE
LOWutil/test/tests/D3D12/D3D12_Mesh_Shader.py18 def build_local_taskout_reference(self):CODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h1545To be used with function vmaBeginDefragmentationPass().CODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h17115The easiest way to copy data from a host pointer to an allocation is to use convenience function vmaCopyMemoryToAllocatiCODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h17144Copy in the other direction - from an allocation to a host pointer can be performed the same way using function vmaCopyACODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h17592 using default pools with dedicated function vmaCreateBufferWithAlignment().CODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h18257use special function vmaCreateBufferWithAlignment(), which takes additional parameter `minAlignment`.CODE
LOWdocs/sphinx_exts/sphinxcontrib_jquery/jquery-3.6.0.js9047function addToPrefiltersOrTransports( structure ) {CODE
LOWdocs/sphinx_exts/sphinxcontrib_jquery/jquery-3.6.0.js9081function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {CODE
LOWdocs/sphinx_exts/sphinx_paramlinks/sphinx_paramlinks.py51def autodoc_process_docstring(app, what, name, obj, options, lines):CODE
LOWqrenderdoc/Code/pyrenderdoc/PythonContext.cpp876 def _request_terminate_process_hack(self, py_db):CODE
Excessive Try-Catch Wrapping20 hits · 29 pts
SeverityFileLineSnippetContext
LOWutil/test/ui_harness/__init__.py144 except Exception as ex:CODE
LOWutil/test/rdtest/runner.py58 except Exception:CODE
LOWutil/test/rdtest/runner.py421 except Exception as ex:CODE
LOWutil/test/rdtest/runner.py552 except Exception as ex:CODE
LOWutil/test/rdtest/util.py201 except Exception as ex:CODE
LOWutil/test/rdtest/capture.py112 except Exception:CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py101 except Exception:CODE
LOWutil/test/rdtest/shared/Texture_Zoo.py125 except Exception:CODE
LOWutil/test/rdtest/shared/Groupshared.py43 except Exception as ex:CODE
LOWutil/test/rdtest/shared/Subgroup_Zoo.py18 except Exception as ex:CODE
LOWutil/test/tests/Vulkan/VK_Shader_Debug_Zoo.py115 except Exception as ex:CODE
LOWutil/test/tests/D3D12/D3D12_Shader_Debug_Zoo.py54 except Exception as ex:CODE
MEDIUMdocs/remove_lines.py37 print("Error: no search pattern specified")CODE
MEDIUMdocs/verify-docstrings.py212 print("Error {:3} in {}: {} couldn't be found in C++ headers.\nCould be wrong types or missing default values. TCODE
MEDIUMdocs/verify-docstrings.py260 print("Error {:3} in {}: Unrecognised reference {}".format(count, objname, type_name))CODE
MEDIUM⚡docs/verify-docstrings.py450 print("Error {:3}: {}.{} is missing :type: declaration, should be {}".format(count, qualname, meCODE
MEDIUM⚡docs/verify-docstrings.py455 print("Error {:3}: {}.{} has wrong :type: declaration {}, should be {}".format(count, qualnaCODE
MEDIUM⚡docs/verify-docstrings.py465 print("Error {:3}: {}.{} is missing a .. data: declaration in object docstring".format(count, quCODE
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py695 except Exception:CODE
LOWqrenderdoc/Code/pyrenderdoc/parse_reflection.py710 except Exception:CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALdocs/sphinx_exts/sphinxcontrib_jquery/jquery-3.6.0.js8092jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {CODE
CRITICALdocs/sphinx_exts/sphinxcontrib_jquery/jquery.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Slop Phrases15 hits · 19 pts
SeverityFileLineSnippetContext
LOWutil/test/demos/3rdparty/ags/amd_ags.h102/// Don't forget to cleanup AGS by calling \ref agsDeInitialize when the app exits, after the device has been destroyed.COMMENT
LOWutil/test/demos/3rdparty/nuklear/nuklear.h9376 * and don't forget to specify the new element size in your drawingCOMMENT
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h16842// At the end, don't forget to:COMMENT
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h18895// At the end, don't forget to destroy it!COMMENT
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h18930// At the end, don't forget to destroy it!COMMENT
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h680 To prepare for this possibility, don't forget to add appropriate flags likeCODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h2678don't forget to free them.CODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h2725don't forget to free it as well.CODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h16879Don't forget to destroy your buffer and allocation objects when no longer needed:CODE
LOW…st/demos/3rdparty/VulkanMemoryAllocator/vk_mem_alloc.h18041If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the alCODE
LOWqrenderdoc/3rdparty/python/include/boolobject.h15Don't forget to apply Py_INCREF() when returning either!!! */CODE
LOWqrenderdoc/3rdparty/python/include/object.h907Don't forget to apply Py_INCREF() when returning this value!!!CODE
LOWqrenderdoc/3rdparty/python/include/token.h65/* Don't forget to update the table _PyParser_TokenNames in tokenizer.c! */COMMENT
LOW…enderdoc/3rdparty/qt/include/QtWidgets/qgraphicsitem.h107 // NB! Don't forget to increase the d_ptr->flags bit field by 1 when adding a new flag.COMMENT
LOWrenderdoc/driver/ihv/amd/official/ags/amd_ags.h102/// Don't forget to cleanup AGS by calling \ref agsDeInitialize when the app exits, after the device has been destroyed.COMMENT
Verbosity Indicators6 hits · 8 pts
SeverityFileLineSnippetContext
LOWqrenderdoc/3rdparty/catch/official/catch.hpp12693 // No children have started. We need to check if they _can_COMMENT
LOWqrenderdoc/Windows/MainWindow.cpp951 // however we need to check if the user selected 'always replay locally' andCOMMENT
LOWrenderdoc/driver/dxgi/dxgi_common.cpp1806 // this ALWAYS fails, we need to check if the er ror was just an insufficient buffer.COMMENT
LOWrenderdoc/api/replay/shader_types.h585 DOCUMENT(R"(Utility function to check if this variable stores a resource reference directly accessed by a shader.CODE
LOWrenderdoc/3rdparty/glslang/SPIRV/SpvBuilder.cpp4322 // Step 2: Construct a matrix from that array.COMMENT
LOWrenderdoc/3rdparty/catch/official/catch.hpp12693 // No children have started. We need to check if they _can_COMMENT
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…y/qt/x64/mkspecs/features/uikit/device_destinations.sh48 [[ $id == *"placeholder"* ]] && continueCODE
LOW…qt/Win32/mkspecs/features/uikit/device_destinations.sh48 [[ $id == *"placeholder"* ]] && continueCODE
LOWrenderdoc/android/android_utils.cpp808 line2.parse("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam lacus lacus, "CODE
LOWrenderdoc/android/android_utils.cpp808 line2.parse("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam lacus lacus, "CODE
LOWrenderdoc/replay/basic_types_tests.cpp1353 R"(So: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce viverra dui dolor. Donec fermentum metus eu loreCODE
LOWrenderdoc/replay/basic_types_tests.cpp1353 R"(So: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce viverra dui dolor. Donec fermentum metus eu loreCODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHrenderdoc/driver/shaders/spirv/gen_spirv_code.py265 for(size_t w=0; w < remainingChars && w < 4; w++)CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWutil/clang_format_all.sh48# Check if we have a valid $CLANG_FORMATCOMMENT
LOWutil/test/rdtest/runner.py302 # Check if it succeededCOMMENT
LOWdocs/make.sh92# Check if sphinx-build is available and fallback to Python version if anyCOMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWutil/test/rdtest/png.py193__all__ = ['Image', 'Reader', 'Writer', 'write_chunks', 'from_array']CODE
LOWutil/test/tests/__init__.py3__all__ = []CODE
LOWdocs/sphinx_exts/sphinx_copybutton/__init__.py7logger = logging.getLogger(__name__)CODE
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWrenderdoc/3rdparty/glslang/SPIRV/SpvBuilder.cpp4322 // Step 2: Construct a matrix from that array.COMMENT
LOWrenderdoc/3rdparty/glslang/SPIRV/GlslangToSpv.cpp6476// NOTE: This function can handle any store request; if it's not special itCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ty/breakpad/client/windows/handler/exception_handler.h186 // Usage example:COMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWutil/test/rdtest/png.py360CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/sphinx_exts/sphinxcontrib_jquery/jquery-3.6.0.js4405function getData( data ) {CODE