AI Slop Code Risk Monitor

Kitware/CMake

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

Mirror of CMake upstream repository

3.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Kitware/CMake, a C project with 8,144 GitHub stars. SynthScan examined 955,412 lines of code across 15499 source files, recording 2905 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 3.1 (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.

3.1
Adjusted Signal
3.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
8.1K
Stars
C
Language
955.4K
Lines of Code
15.5K
Files
2.9K
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 12.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 1.9/100 · LOW

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

PR Review Velocity Impact 15.8/100 · LOW

Which changes need focused human review? 2905 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 15MEDIUM 154LOW 2736

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 2905 distinct pattern matches across 15 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 Block2622 hits · 2397 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt481 include(CheckSymbolExists)COMMENT
LOW.pre-commit-config.yaml1# Read the docs here: https://pre-commit.comCOMMENT
LOW.gitlab-ci.yml21COMMENT
LOW.gitlab-ci.yml41# - needs jobs for required jobsCOMMENT
LOW.gitlab/rules.yml1# Rules for where jobs can runCOMMENT
LOW.gitlab/rules.yml21## Set to "true" if the job should run even if dependent jobs fail (e.g.,COMMENT
LOW.gitlab/ci/devcontainer-run.sh21COMMENT
LOW.gitlab/ci/env_cuda11.8_splayed_nvidia.sh1#COMMENT
LOWSource/cmGlobalVisualStudioGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmRule.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGeneratorTarget.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGeneratorTarget.h21#include "cmAlgorithms.h"COMMENT
LOWSource/cmExportFileGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmSystemTools.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmComputeLinkInformation.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGlobalVisualStudio7Generator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGlobalNinjaGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmDebuggerWindowsPipeConnection.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGeneratorFileSets.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmCMakePresetsGraphInternal.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmFastbuildNormalTargetGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmFindPackageCommand.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmSbomBuilder.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmDebuggerBreakpointManager.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmList.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmAlgorithms.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGeneratorExpression.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmQtAutoGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmInstrumentation.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmLocalGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmLocalGenerator.h21#include "cmCustomCommandTypes.h"COMMENT
LOWSource/cmMakefileTargetGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGlobalGhsMultiGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGlobalUnixMakefileGenerator3.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmInstrumentationInterrupt.h21 // Whether the caught interrupt should be re-raised so the process exitCOMMENT
LOWSource/cmFastbuildTargetGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGlobalGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGlobalGenerator.h21#include <cmext/algorithm>COMMENT
LOWSource/cmSourceFile.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmGraphVizWriter.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmNinjaTargetGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmArgumentParser.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmFortranParser.h81#if !defined(cmFortranLexer_cxx)COMMENT
LOWSource/cmComputeLinkDepends.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmUVHandlePtr.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmStandardLexer.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmStandardLexer.h21#if defined(__FreeBSD__) || defined(__NetBSD__)COMMENT
LOWSource/cmStandardLexer.h41# pragma warning(disable : 4251)COMMENT
LOWSource/cmStandardLexer.h61#endifCOMMENT
LOWSource/cmXMLWriter.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmExportInstallFileGenerator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmCryptoHash.h41 /// @brief Returns a new hash generator of the requested typeCOMMENT
LOWSource/cmCryptoHash.h61COMMENT
LOWSource/cmState.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmLocalVisualStudio7Generator.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmTarget.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmCMakeSarifLogger.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmFindCommon.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
LOWSource/cmEvaluatedTargetProperty.h61// IncludeRuntimeInterface is used to break the cycle in computingCOMMENT
LOWSource/cmMessenger.h1/* Distributed under the OSI-approved BSD 3-Clause License. See accompanyingCOMMENT
2562 more matches not shown…
Decorative Section Separators146 hits · 300 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt279#-----------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt282#-----------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt411#-----------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt414#-----------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt426#-----------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt449#-----------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt452#-----------------------------------------------------------------------COMMENT
MEDIUM.gitlab/ci/extdeps-linux.sh9#----------------------------------------------------------------------------COMMENT
MEDIUM.gitlab/ci/extdeps-linux.sh41#----------------------------------------------------------------------------COMMENT
MEDIUM.gitlab/ci/extdeps-linux.sh51#----------------------------------------------------------------------------COMMENT
MEDIUM.gitlab/ci/extdeps-linux.sh69#----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt103#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt112#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt309#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt315#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt351#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt374#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt579#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt587#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt603#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt642#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt722#-----------------------------------------------------------------------------COMMENT
MEDIUMSource/kwsys/CMakeLists.txt915#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/CMakeLists.txt278 #---------------------------------------------------------------------------COMMENT
MEDIUMTests/RunCMake/CMP0156/subdir2/CMakeLists.txt4# -----------------------------------COMMENT
MEDIUMTests/FindPackageCMakeTest/CMakeLists.txt66#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/FindPackageCMakeTest/CMakeLists.txt98#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/FindPackageCMakeTest/CMakeLists.txt379#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/FindPackageCMakeTest/CMakeLists.txt478#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/Contracts/VTK/CMakeLists.txt2# ---------------------------------------------------------------------------COMMENT
MEDIUMTests/Preprocess/CMakeLists.txt48#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/Preprocess/CMakeLists.txt182#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/Preprocess/CMakeLists.txt192#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/Preprocess/CMakeLists.txt202#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ConfigSources/CMakeLists.txt167# ---------------------------------------------------------------------------COMMENT
MEDIUMTests/ConfigSources/CMakeLists.txt177# ---------------------------------------------------------------------------COMMENT
MEDIUMTests/PDBDirectoryAndName/CMakeLists.txt74#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/PolicyScope/CMakeLists.txt4#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/PolicyScope/CMakeLists.txt12#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/PolicyScope/CMakeLists.txt26#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/PolicyScope/CMakeLists.txt75#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/PolicyScope/CMakeLists.txt93#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Export/CMakeLists.txt684#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Export/CMakeLists.txt700#------------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Export/CMakeLists.txt710#------------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Export/CMakeLists.txt722#------------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Export/CMakeLists.txt735#------------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Export/CMakeLists.txt752#------------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Import/A/CMakeLists.txt215#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Import/A/CMakeLists.txt225#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Import/A/CMakeLists.txt279#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Import/A/CMakeLists.txt337#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Import/A/CMakeLists.txt348#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/ExportImport/Import/A/CMakeLists.txt398#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/ExportImport/Import/A/CMakeLists.txt598#---------------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/ExportImport/Import/A/CMakeLists.txt603#---------------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/ExportImport/Import/A/CMakeLists.txt608#---------------------------------------------------------------------------------COMMENT
MEDIUM⚡Tests/ExportImport/Import/A/CMakeLists.txt615#------------------------------------------------------------------------------COMMENT
MEDIUMTests/GeneratorExpression/CMakeLists.txt374#-----------------------------------------------------------------------------COMMENT
MEDIUMTests/GeneratorExpression/CMakeLists.txt429#-----------------------------------------------------------------------------COMMENT
86 more matches not shown…
Synthetic Comment Markers10 hits · 75 pts
SeverityFileLineSnippetContext
HIGHTests/RunCMake/VsDotnetSdk/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGHUtilities/cmllpkgc/llpkgc_whitespace__internal.h3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_file__internal.h3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_dep__internal.h3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_types.h3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_frag__internal.c3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_file__internal.c3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_whitespace__internal.c3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_dep__internal.c3/* This code was generated by llpkgc, do not edit it by handCOMMENT
HIGHUtilities/cmllpkgc/llpkgc_frag__internal.h3/* This code was generated by llpkgc, do not edit it by handCOMMENT
Hyper-Verbose Identifiers46 hits · 54 pts
SeverityFileLineSnippetContext
LOWTests/RunCMake/FileAPI/ClientStateful-check.py89def check_query_client_member(q):CODE
LOWTests/RunCMake/FileAPI/ClientStateful-check.py104def check_query_json_bad_root(q):CODE
LOWTests/RunCMake/FileAPI/ClientStateful-check.py128def check_query_requests_empty(q):CODE
LOWTests/RunCMake/FileAPI/ClientStateful-check.py138def check_query_requests_not_kinded(q):CODE
LOWTests/RunCMake/FileAPI/ClientStateful-check.py163def check_query_requests_not_objects(q):CODE
LOWTests/RunCMake/FileAPI/ClientStateful-check.py179def check_query_requests_unknown(q):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py201def check_query_response_array_negative_major_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py204def check_query_response_array_negative_minor_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py207def check_query_response_array_negative_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py210def check_query_response_array_no_major_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py213def check_query_response_array_no_supported_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py216def check_query_response_array_no_supported_version_among(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py228def check_query_response_negative_major_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py231def check_query_response_negative_minor_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py234def check_query_response_negative_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py237def check_query_response_no_major_version(r):CODE
LOW⚡Tests/RunCMake/FileAPI/ClientStateful-check.py240def check_query_response_no_version(r):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py452 def check_install_destination(actual, expected):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py519 def check_link_command_fragments(actual, expected):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py638 def check_interface_link_library(actual, expected):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py692 def check_only_target_dependency(actual, expected):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py778 def check_compile_command_fragments(actual, expected):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1039def gen_check_build_system_targets(c, g, inSource):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1270def gen_check_abstract_targets(c, g, inSource):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1308def check_build_system_targets(c, g, major, minor, inSource):CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1362def check_object_codemodel_configuration(c, g, major, minor, inSource):CODE
LOW⚡…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py24def check_backtracegraph_commands(c):CODE
LOW⚡…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py30def check_backtracegraph_files(f):CODE
LOW⚡…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py38def check_backtracegraph_nodes(n):CODE
LOW…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py68def check_generated_resource_spec_file_property(p):CODE
LOW…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py101def check_timeout_signal_name_property(p):CODE
LOW…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py109def check_timeout_signal_grace_property(p):CODE
LOW…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py125def check_resource_groups_property(p):CODE
LOW…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py133def check_workingdir_property(p):CODE
LOW⚡…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py24def check_backtracegraph_commands(c):CODE
LOW⚡…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py30def check_backtracegraph_files(f):CODE
LOW⚡…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py38def check_backtracegraph_nodes(n):CODE
LOW…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py68def check_generated_resource_spec_file_property(p):CODE
LOW…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py104def check_timeout_signal_name_property(p):CODE
LOW…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py112def check_timeout_signal_grace_property(p):CODE
LOW…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py128def check_resource_groups_property(p):CODE
LOW…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py184def check_workingdir_property(p):CODE
LOWTests/RunCMake/ExternalProject/DownloadServer.py13class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):CODE
LOWTests/FindMatlab/cmake_matlab_unit_tests_timeout.m9 function testCallHangsShouldBeTimedOut(testCase)CODE
LOWUtilities/Sphinx/cmake.py410 def _break_signature_verbatim(sig: str) -> str:CODE
LOWUtilities/Sphinx/cmake.py716 def _document_findall_as_list(self, condition):CODE
Unused Imports33 hits · 33 pts
SeverityFileLineSnippetContext
LOWSource/cmConvertMSBuildXMLToJSON.py5CODE
LOWSource/cmConvertMSBuildXMLToJSON.py12CODE
LOWTests/UseSWIG/runme.py6CODE
LOWTests/UseSWIG/ModuleName/runme.py6CODE
LOWTests/UseSWIG/SwigSrcFileExtension/runme.py3CODE
LOWTests/RunCMake/UseSWIG/runme.py3CODE
LOWTests/RunCMake/UseSWIG/runme.py5CODE
LOWTests/RunCMake/FileAPI/cache-v2-check.py1CODE
LOWTests/RunCMake/FileAPI/MixedStateless-check.py1CODE
LOWTests/RunCMake/FileAPI/SharedStateless-check.py1CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-import-std-check.py1CODE
LOWTests/RunCMake/FileAPI/DuplicateStateless-check.py1CODE
LOWTests/RunCMake/FileAPI/cmakeFiles-v1-check.py1CODE
LOWTests/RunCMake/FileAPI/FailConfigure-check.py1CODE
LOW…/RunCMake/FileAPI/toolchains-v1-FailConfigure-check.py1CODE
LOW…/RunCMake/FileAPI/toolchains-v1-FailConfigure-check.py2CODE
LOW…unCMake/FileAPI/configureLog-v1-FailConfigure-check.py1CODE
LOW…/RunCMake/FileAPI/cmakeFiles-v1-FailConfigure-check.py1CODE
LOW…/RunCMake/FileAPI/cmakeFiles-v1-FailConfigure-check.py2CODE
LOWTests/RunCMake/FileAPI/cache-v2-FailConfigure-check.py1CODE
LOWTests/RunCMake/FileAPI/cache-v2-FailConfigure-check.py2CODE
LOWTests/RunCMake/FileAPI/ClientStateless-check.py1CODE
LOWTests/RunCMake/FileAPI/Empty-check.py1CODE
LOWTests/RunCMake/FileAPI/ClientStateful-check.py1CODE
LOW…s/RunCMake/FileAPI/codemodel-v2-FailConfigure-check.py1CODE
LOW…s/RunCMake/FileAPI/codemodel-v2-FailConfigure-check.py2CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1CODE
LOWTests/RunCMake/FileAPI/configureLog-v1-check.py1CODE
LOWTests/RunCMake/FileAPI/toolchains-v1-check.py1CODE
LOWTests/RunCMake/FileAPI/EmptyClient-check.py1CODE
LOW…nCMake/CTestCommandLine/show-only_json-v1-raw_check.py3CODE
LOW…s/RunCMake/CTestCommandLine/show-only_json-v1_check.py3CODE
LOW…Make/Instrumentation/project/process_metrics_memory.py1CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHTests/CPackComponents/CMakeLists.txt3# In this example, we have a simple library (mylib) with an exampleCOMMENT
HIGHTests/CPackComponentsForAll/CMakeLists.txt3# In this example, we have a simple library (mylib) with an exampleCOMMENT
HIGHTests/CPackComponentsDEB/CMakeLists.txt3# In this example, we have a simple library (mylib) with an exampleCOMMENT
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab/ci/devcontainer-verify.sh37# Create a temporary build directoryCOMMENT
MEDIUM.gitlab/ci/devcontainer-verify.sh41# Create a minimal C projectCOMMENT
MEDIUMSource/cmake.h77 * -# Create a cmake instanceCOMMENT
MEDIUM.devcontainer/create_user.sh3# Create the unprivileged user that the container runs as, given its name,COMMENT
MEDIUMUtilities/Release/macos/sign-notarize.bash147# Create a tarball of the volume next to the original disk image.COMMENT
MEDIUM…s/Release/macos/qt-5.9.9-macosx10.10-x86_64-arm64.bash134# Create the final tarball containing universal binaries.COMMENT
MEDIUMUtilities/Scripts/update-third-party.bash194 # Create a repo to hold this package's historyCOMMENT
Deep Nesting21 hits · 20 pts
SeverityFileLineSnippetContext
LOWSource/cmConvertMSBuildXMLToJSON.py363CODE
LOWTests/RunCMake/FileAPI/check_index.py29CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-import-std-check.py17CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-import-std-check.py47CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py57CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py283CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py973CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1039CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py1324CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py58CODE
LOWTests/RunCMake/FileAPI/codemodel-v2-check.py284CODE
LOWTests/RunCMake/FileAPI/toolchains-v1-check.py64CODE
LOWUtilities/Sphinx/cmake.py173CODE
LOWUtilities/Sphinx/cmake.py275CODE
LOWUtilities/Sphinx/cmake.py302CODE
LOWUtilities/Sphinx/cmake.py414CODE
LOWUtilities/Sphinx/cmake.py658CODE
LOWUtilities/Sphinx/cmake.py856CODE
LOWUtilities/Scripts/regenerate-presets.py543CODE
LOWUtilities/Scripts/regenerate-presets.py627CODE
LOWUtilities/Scripts/regenerate-presets.py706CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHTests/RunCMake/FileAPI/codemodel-v2-check.py1175except TypeError: # "link" is not a dict, no problem.CODE
HIGHTests/RunCMake/FileAPI/codemodel-v2-check.py1179except TypeError: # "archive" is not a dict, no problem.CODE
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOWSource/cmGlobalVisualStudio14Generator.h33 // These aren't virtual because we need to check if the selected versionCOMMENT
LOWSource/cmGlobalVisualStudio11Generator.h45 // These aren't virtual because we need to check if the selected versionCOMMENT
LOWSource/cmGlobalVisualStudioVersionedGenerator.h72 // These aren't virtual because we need to check if the selected versionCOMMENT
LOWSource/cmGlobalVisualStudio12Generator.h33 // These aren't virtual because we need to check if the selected versionCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWUtilities/cmliblzma/liblzma/common/stream_decoder_mt.c1824 // NOTE: This function gets/sets memlimit_stop. For now,COMMENT
LOWUtilities/cmliblzma/liblzma/common/index_hash.c182 // NOTE: This function has many similarities to index_encode() andCOMMENT
LOWUtilities/cmliblzma/liblzma/common/block_util.c50 // NOTE: This function is used for validation too, so it isCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWTests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp57 // Don't forget to declare your application's minimum required feature levelCOMMENT
MEDIUMUtilities/cmcurl/lib/vtls/gtls.c1731 given hostname. This is a basic implementation of the matching describedCODE
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippetContext
LOWSource/cmConvertMSBuildXMLToJSON.py50 except Exception as e:CODE
LOWSource/cmConvertMSBuildXMLToJSON.py96 except Exception as e:CODE
LOWTests/RunCMake/validate_json_schema.py46 except Exception as e:CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…nCMake/add_custom_target/CommentGenex-build-stdout.txt1lorem ipsum, 01CODE
LOW…CMake/add_custom_command/CommentGenex-build-stdout.txt1"lorem ipsum, 01"CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWUtilities/Sphinx/cmake.py143logger = logging.getLogger(__name__)CODE