Mirror of CMake upstream repository
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 2718 finding(s).
Are imports declared and package/API names verified? 35 finding(s).
Are wrappers, guards, and repeated structures necessary? 198 finding(s).
Which changes need focused human review? 2905 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 481 | include(CheckSymbolExists) | COMMENT |
| LOW | .pre-commit-config.yaml | 1 | # Read the docs here: https://pre-commit.com | COMMENT |
| LOW | .gitlab-ci.yml | 21 | COMMENT | |
| LOW | .gitlab-ci.yml | 41 | # - needs jobs for required jobs | COMMENT |
| LOW | .gitlab/rules.yml | 1 | # Rules for where jobs can run | COMMENT |
| LOW | .gitlab/rules.yml | 21 | ## Set to "true" if the job should run even if dependent jobs fail (e.g., | COMMENT |
| LOW | .gitlab/ci/devcontainer-run.sh | 21 | COMMENT | |
| LOW | .gitlab/ci/env_cuda11.8_splayed_nvidia.sh | 1 | # | COMMENT |
| LOW | Source/cmGlobalVisualStudioGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmRule.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGeneratorTarget.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGeneratorTarget.h | 21 | #include "cmAlgorithms.h" | COMMENT |
| LOW | Source/cmExportFileGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmSystemTools.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmComputeLinkInformation.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGlobalVisualStudio7Generator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGlobalNinjaGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmDebuggerWindowsPipeConnection.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGeneratorFileSets.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmCMakePresetsGraphInternal.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmFastbuildNormalTargetGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmFindPackageCommand.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmSbomBuilder.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmDebuggerBreakpointManager.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmList.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmAlgorithms.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGeneratorExpression.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmQtAutoGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmInstrumentation.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmLocalGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmLocalGenerator.h | 21 | #include "cmCustomCommandTypes.h" | COMMENT |
| LOW | Source/cmMakefileTargetGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGlobalGhsMultiGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGlobalUnixMakefileGenerator3.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmInstrumentationInterrupt.h | 21 | // Whether the caught interrupt should be re-raised so the process exit | COMMENT |
| LOW | Source/cmFastbuildTargetGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGlobalGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGlobalGenerator.h | 21 | #include <cmext/algorithm> | COMMENT |
| LOW | Source/cmSourceFile.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmGraphVizWriter.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmNinjaTargetGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmArgumentParser.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmFortranParser.h | 81 | #if !defined(cmFortranLexer_cxx) | COMMENT |
| LOW | Source/cmComputeLinkDepends.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmUVHandlePtr.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmStandardLexer.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmStandardLexer.h | 21 | #if defined(__FreeBSD__) || defined(__NetBSD__) | COMMENT |
| LOW | Source/cmStandardLexer.h | 41 | # pragma warning(disable : 4251) | COMMENT |
| LOW | Source/cmStandardLexer.h | 61 | #endif | COMMENT |
| LOW | Source/cmXMLWriter.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmExportInstallFileGenerator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmCryptoHash.h | 41 | /// @brief Returns a new hash generator of the requested type | COMMENT |
| LOW | Source/cmCryptoHash.h | 61 | COMMENT | |
| LOW | Source/cmState.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmLocalVisualStudio7Generator.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmTarget.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmCMakeSarifLogger.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmFindCommon.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| LOW | Source/cmEvaluatedTargetProperty.h | 61 | // IncludeRuntimeInterface is used to break the cycle in computing | COMMENT |
| LOW | Source/cmMessenger.h | 1 | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying | COMMENT |
| 2562 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 279 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 282 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 411 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 414 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 426 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 449 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | CMakeLists.txt | 452 | #----------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab/ci/extdeps-linux.sh | 9 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab/ci/extdeps-linux.sh | 41 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab/ci/extdeps-linux.sh | 51 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .gitlab/ci/extdeps-linux.sh | 69 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 103 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 112 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 309 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 315 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 351 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 374 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 579 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 587 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 603 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 642 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 722 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Source/kwsys/CMakeLists.txt | 915 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/CMakeLists.txt | 278 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/RunCMake/CMP0156/subdir2/CMakeLists.txt | 4 | # ----------------------------------- | COMMENT |
| MEDIUM | Tests/FindPackageCMakeTest/CMakeLists.txt | 66 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/FindPackageCMakeTest/CMakeLists.txt | 98 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/FindPackageCMakeTest/CMakeLists.txt | 379 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/FindPackageCMakeTest/CMakeLists.txt | 478 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/Contracts/VTK/CMakeLists.txt | 2 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/Preprocess/CMakeLists.txt | 48 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/Preprocess/CMakeLists.txt | 182 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/Preprocess/CMakeLists.txt | 192 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/Preprocess/CMakeLists.txt | 202 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ConfigSources/CMakeLists.txt | 167 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ConfigSources/CMakeLists.txt | 177 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/PDBDirectoryAndName/CMakeLists.txt | 74 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/PolicyScope/CMakeLists.txt | 4 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/PolicyScope/CMakeLists.txt | 12 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/PolicyScope/CMakeLists.txt | 26 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/PolicyScope/CMakeLists.txt | 75 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/PolicyScope/CMakeLists.txt | 93 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Export/CMakeLists.txt | 684 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Export/CMakeLists.txt | 700 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Tests/ExportImport/Export/CMakeLists.txt | 710 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Tests/ExportImport/Export/CMakeLists.txt | 722 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Tests/ExportImport/Export/CMakeLists.txt | 735 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Tests/ExportImport/Export/CMakeLists.txt | 752 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Tests/ExportImport/Import/A/CMakeLists.txt | 215 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Import/A/CMakeLists.txt | 225 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Import/A/CMakeLists.txt | 279 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Import/A/CMakeLists.txt | 337 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Import/A/CMakeLists.txt | 348 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/ExportImport/Import/A/CMakeLists.txt | 398 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/ExportImport/Import/A/CMakeLists.txt | 598 | #--------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/ExportImport/Import/A/CMakeLists.txt | 603 | #--------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/ExportImport/Import/A/CMakeLists.txt | 608 | #--------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Tests/ExportImport/Import/A/CMakeLists.txt | 615 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | Tests/GeneratorExpression/CMakeLists.txt | 374 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | Tests/GeneratorExpression/CMakeLists.txt | 429 | #----------------------------------------------------------------------------- | COMMENT |
| 86 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tests/RunCMake/VsDotnetSdk/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_whitespace__internal.h | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_file__internal.h | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_dep__internal.h | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_types.h | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_frag__internal.c | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_file__internal.c | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_whitespace__internal.c | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_dep__internal.c | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| HIGH | Utilities/cmllpkgc/llpkgc_frag__internal.h | 3 | /* This code was generated by llpkgc, do not edit it by hand | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 89 | def check_query_client_member(q): | CODE |
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 104 | def check_query_json_bad_root(q): | CODE |
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 128 | def check_query_requests_empty(q): | CODE |
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 138 | def check_query_requests_not_kinded(q): | CODE |
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 163 | def check_query_requests_not_objects(q): | CODE |
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 179 | def check_query_requests_unknown(q): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 201 | def check_query_response_array_negative_major_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 204 | def check_query_response_array_negative_minor_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 207 | def check_query_response_array_negative_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 210 | def check_query_response_array_no_major_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 213 | def check_query_response_array_no_supported_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 216 | def check_query_response_array_no_supported_version_among(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 228 | def check_query_response_negative_major_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 231 | def check_query_response_negative_minor_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 234 | def check_query_response_negative_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 237 | def check_query_response_no_major_version(r): | CODE |
| LOW⚡ | Tests/RunCMake/FileAPI/ClientStateful-check.py | 240 | def check_query_response_no_version(r): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 452 | def check_install_destination(actual, expected): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 519 | def check_link_command_fragments(actual, expected): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 638 | def check_interface_link_library(actual, expected): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 692 | def check_only_target_dependency(actual, expected): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 778 | def check_compile_command_fragments(actual, expected): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1039 | def gen_check_build_system_targets(c, g, inSource): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1270 | def gen_check_abstract_targets(c, g, inSource): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1308 | def check_build_system_targets(c, g, major, minor, inSource): | CODE |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1362 | def check_object_codemodel_configuration(c, g, major, minor, inSource): | CODE |
| LOW⚡ | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 24 | def check_backtracegraph_commands(c): | CODE |
| LOW⚡ | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 30 | def check_backtracegraph_files(f): | CODE |
| LOW⚡ | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 38 | def check_backtracegraph_nodes(n): | CODE |
| LOW | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 68 | def check_generated_resource_spec_file_property(p): | CODE |
| LOW | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 101 | def check_timeout_signal_name_property(p): | CODE |
| LOW | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 109 | def check_timeout_signal_grace_property(p): | CODE |
| LOW | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 125 | def check_resource_groups_property(p): | CODE |
| LOW | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 133 | def check_workingdir_property(p): | CODE |
| LOW⚡ | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 24 | def check_backtracegraph_commands(c): | CODE |
| LOW⚡ | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 30 | def check_backtracegraph_files(f): | CODE |
| LOW⚡ | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 38 | def check_backtracegraph_nodes(n): | CODE |
| LOW | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 68 | def check_generated_resource_spec_file_property(p): | CODE |
| LOW | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 104 | def check_timeout_signal_name_property(p): | CODE |
| LOW | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 112 | def check_timeout_signal_grace_property(p): | CODE |
| LOW | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 128 | def check_resource_groups_property(p): | CODE |
| LOW | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 184 | def check_workingdir_property(p): | CODE |
| LOW | Tests/RunCMake/ExternalProject/DownloadServer.py | 13 | class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): | CODE |
| LOW | Tests/FindMatlab/cmake_matlab_unit_tests_timeout.m | 9 | function testCallHangsShouldBeTimedOut(testCase) | CODE |
| LOW | Utilities/Sphinx/cmake.py | 410 | def _break_signature_verbatim(sig: str) -> str: | CODE |
| LOW | Utilities/Sphinx/cmake.py | 716 | def _document_findall_as_list(self, condition): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Source/cmConvertMSBuildXMLToJSON.py | 5 | CODE | |
| LOW | Source/cmConvertMSBuildXMLToJSON.py | 12 | CODE | |
| LOW | Tests/UseSWIG/runme.py | 6 | CODE | |
| LOW | Tests/UseSWIG/ModuleName/runme.py | 6 | CODE | |
| LOW | Tests/UseSWIG/SwigSrcFileExtension/runme.py | 3 | CODE | |
| LOW | Tests/RunCMake/UseSWIG/runme.py | 3 | CODE | |
| LOW | Tests/RunCMake/UseSWIG/runme.py | 5 | CODE | |
| LOW | Tests/RunCMake/FileAPI/cache-v2-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/MixedStateless-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/SharedStateless-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-import-std-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/DuplicateStateless-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/cmakeFiles-v1-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/FailConfigure-check.py | 1 | CODE | |
| LOW | …/RunCMake/FileAPI/toolchains-v1-FailConfigure-check.py | 1 | CODE | |
| LOW | …/RunCMake/FileAPI/toolchains-v1-FailConfigure-check.py | 2 | CODE | |
| LOW | …unCMake/FileAPI/configureLog-v1-FailConfigure-check.py | 1 | CODE | |
| LOW | …/RunCMake/FileAPI/cmakeFiles-v1-FailConfigure-check.py | 1 | CODE | |
| LOW | …/RunCMake/FileAPI/cmakeFiles-v1-FailConfigure-check.py | 2 | CODE | |
| LOW | Tests/RunCMake/FileAPI/cache-v2-FailConfigure-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/cache-v2-FailConfigure-check.py | 2 | CODE | |
| LOW | Tests/RunCMake/FileAPI/ClientStateless-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/Empty-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/ClientStateful-check.py | 1 | CODE | |
| LOW | …s/RunCMake/FileAPI/codemodel-v2-FailConfigure-check.py | 1 | CODE | |
| LOW | …s/RunCMake/FileAPI/codemodel-v2-FailConfigure-check.py | 2 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/configureLog-v1-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/toolchains-v1-check.py | 1 | CODE | |
| LOW | Tests/RunCMake/FileAPI/EmptyClient-check.py | 1 | CODE | |
| LOW | …nCMake/CTestCommandLine/show-only_json-v1-raw_check.py | 3 | CODE | |
| LOW | …s/RunCMake/CTestCommandLine/show-only_json-v1_check.py | 3 | CODE | |
| LOW | …Make/Instrumentation/project/process_metrics_memory.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tests/CPackComponents/CMakeLists.txt | 3 | # In this example, we have a simple library (mylib) with an example | COMMENT |
| HIGH | Tests/CPackComponentsForAll/CMakeLists.txt | 3 | # In this example, we have a simple library (mylib) with an example | COMMENT |
| HIGH | Tests/CPackComponentsDEB/CMakeLists.txt | 3 | # In this example, we have a simple library (mylib) with an example | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .gitlab/ci/devcontainer-verify.sh | 37 | # Create a temporary build directory | COMMENT |
| MEDIUM | .gitlab/ci/devcontainer-verify.sh | 41 | # Create a minimal C project | COMMENT |
| MEDIUM | Source/cmake.h | 77 | * -# Create a cmake instance | COMMENT |
| MEDIUM | .devcontainer/create_user.sh | 3 | # Create the unprivileged user that the container runs as, given its name, | COMMENT |
| MEDIUM | Utilities/Release/macos/sign-notarize.bash | 147 | # 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.bash | 134 | # Create the final tarball containing universal binaries. | COMMENT |
| MEDIUM | Utilities/Scripts/update-third-party.bash | 194 | # Create a repo to hold this package's history | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Source/cmConvertMSBuildXMLToJSON.py | 363 | CODE | |
| LOW | Tests/RunCMake/FileAPI/check_index.py | 29 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-import-std-check.py | 17 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-import-std-check.py | 47 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 57 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 283 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 973 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1039 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1324 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 58 | CODE | |
| LOW | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 284 | CODE | |
| LOW | Tests/RunCMake/FileAPI/toolchains-v1-check.py | 64 | CODE | |
| LOW | Utilities/Sphinx/cmake.py | 173 | CODE | |
| LOW | Utilities/Sphinx/cmake.py | 275 | CODE | |
| LOW | Utilities/Sphinx/cmake.py | 302 | CODE | |
| LOW | Utilities/Sphinx/cmake.py | 414 | CODE | |
| LOW | Utilities/Sphinx/cmake.py | 658 | CODE | |
| LOW | Utilities/Sphinx/cmake.py | 856 | CODE | |
| LOW | Utilities/Scripts/regenerate-presets.py | 543 | CODE | |
| LOW | Utilities/Scripts/regenerate-presets.py | 627 | CODE | |
| LOW | Utilities/Scripts/regenerate-presets.py | 706 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1175 | except TypeError: # "link" is not a dict, no problem. | CODE |
| HIGH | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 1179 | except TypeError: # "archive" is not a dict, no problem. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Source/cmGlobalVisualStudio14Generator.h | 33 | // These aren't virtual because we need to check if the selected version | COMMENT |
| LOW | Source/cmGlobalVisualStudio11Generator.h | 45 | // These aren't virtual because we need to check if the selected version | COMMENT |
| LOW | Source/cmGlobalVisualStudioVersionedGenerator.h | 72 | // These aren't virtual because we need to check if the selected version | COMMENT |
| LOW | Source/cmGlobalVisualStudio12Generator.h | 33 | // These aren't virtual because we need to check if the selected version | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Utilities/cmliblzma/liblzma/common/stream_decoder_mt.c | 1824 | // NOTE: This function gets/sets memlimit_stop. For now, | COMMENT |
| LOW | Utilities/cmliblzma/liblzma/common/index_hash.c | 182 | // NOTE: This function has many similarities to index_encode() and | COMMENT |
| LOW | Utilities/cmliblzma/liblzma/common/block_util.c | 50 | // NOTE: This function is used for validation too, so it is | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp | 57 | // Don't forget to declare your application's minimum required feature level | COMMENT |
| MEDIUM | Utilities/cmcurl/lib/vtls/gtls.c | 1731 | given hostname. This is a basic implementation of the matching described | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Source/cmConvertMSBuildXMLToJSON.py | 50 | except Exception as e: | CODE |
| LOW | Source/cmConvertMSBuildXMLToJSON.py | 96 | except Exception as e: | CODE |
| LOW | Tests/RunCMake/validate_json_schema.py | 46 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nCMake/add_custom_target/CommentGenex-build-stdout.txt | 1 | lorem ipsum, 01 | CODE |
| LOW | …CMake/add_custom_command/CommentGenex-build-stdout.txt | 1 | "lorem ipsum, 01" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Utilities/Sphinx/cmake.py | 143 | logger = logging.getLogger(__name__) | CODE |