AI Slop Code RIsk Monitor

mesonbuild/meson

The Meson Build System

15.3 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mesonbuild/meson, a Python project with 6,645 GitHub stars. SynthScan examined 199,128 lines of code across 3257 source files, recording 2576 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 15.3 (Elevated 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.

15.3
Adjusted Signal
15.3
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.6K
Stars
Python
Language
199.1K
Lines of Code
3.3K
Files
2.6K
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 31.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 16.1/100 · LOW

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

Agent Over-Engineering Ratio 32.7/100 · MEDIUM

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

PR Review Velocity Impact 59.0/100 · HIGH

Which changes need focused human review? 2576 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 12HIGH 148MEDIUM 64LOW 2352

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 2576 distinct pattern matches across 18 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.

Hyper-Verbose Identifiers938 hits · 720 pts
SeverityFileLineSnippetContext
LOWrun_tests.py160def get_convincing_fake_env_and_cc(bdir, prefix):CODE
LOWrun_tests.py292def clear_meson_configure_class_caches() -> None:CODE
LOWrun_project_tests.py606def create_deterministic_builddir(test: TestDef, use_tmpdir: bool) -> str:CODE
LOWrun_project_tests.py1407def check_meson_commands_work(use_tmpdir: bool, extra_args: T.List[str]) -> None:CODE
LOWunittests/baseplatformtests.py368 def get_meson_log_compiler_checks(self):CODE
LOWunittests/baseplatformtests.py379 def get_meson_log_sanitychecks(self):CODE
LOWunittests/datatests.py66 def test_compiler_options_documented(self):CODE
LOWunittests/datatests.py100 def test_builtin_options_documented(self):CODE
LOWunittests/datatests.py177 def test_cpu_families_documented(self):CODE
LOWunittests/datatests.py190 def test_markdown_files_in_sitemap(self):CODE
LOWunittests/datatests.py224 def test_vim_syntax_highlighting(self):CODE
LOWunittests/datatests.py242 def test_all_functions_defined_in_ast_interpreter(self):CODE
LOWunittests/datatests.py254 def test_ast_interpreter_unsupported_operators(self):CODE
LOW⚡unittests/machinefiletests.py820 def test_needs_exe_wrapper_true(self):STRING
LOW⚡unittests/machinefiletests.py830 def test_needs_exe_wrapper_false(self):STRING
LOW⚡unittests/machinefiletests.py840 def test_needs_exe_wrapper_true_wrapper(self):STRING
LOW⚡unittests/machinefiletests.py1092 def test_external_property_build_machine_native(self):STRING
LOW⚡unittests/machinefiletests.py1098 def test_external_property_host_machine_native(self):STRING
LOW⚡unittests/machinefiletests.py1104 def test_external_property_build_machine_cross(self):STRING
LOWunittests/machinefiletests.py106 def helper_create_native_file(self, values: T.Dict[str, T.Dict[str, T.Union[str, int, float, bool, T.Sequence[T.UnioSTRING
LOWunittests/machinefiletests.py126 def helper_create_binary_wrapper(self, binary, dir_=None, extra_args=None, **kwargs):STRING
LOWunittests/machinefiletests.py190 def test_multiple_native_files_override(self):STRING
LOWunittests/machinefiletests.py222 def test_multiple_native_files(self):STRING
LOWunittests/machinefiletests.py239 def test_find_program_machine_file_version(self):STRING
LOWunittests/machinefiletests.py471 def _single_implementation_compiler(self, lang: str, binary: str, version_str: str, version: str) -> None:STRING
LOWunittests/machinefiletests.py531 def test_native_file_dirs_overridden(self):STRING
LOWunittests/machinefiletests.py564 def test_user_options_command_line_overrides(self):STRING
LOWunittests/machinefiletests.py569 def test_user_options_subproject(self):STRING
LOWunittests/machinefiletests.py629 def test_builtin_options_conf_overrides_env(self):STRING
LOWunittests/machinefiletests.py642 def test_builtin_options_subprojects(self):STRING
LOWunittests/machinefiletests.py663 def test_builtin_options_machinefile_overrides_subproject(self):STRING
LOWunittests/machinefiletests.py676 def test_builtin_options_machinefile_global_loses_over_subproject(self):STRING
LOWunittests/machinefiletests.py682 def test_builtin_options_compiler_properties(self):STRING
LOWunittests/machinefiletests.py700 def test_builtin_options_compiler_properties_legacy(self):STRING
LOWunittests/machinefiletests.py718 def test_builtin_options_paths(self):STRING
LOWunittests/machinefiletests.py736 def test_builtin_options_paths_legacy(self):STRING
LOWunittests/machinefiletests.py753 def test_bindgen_clang_arguments(self) -> None:STRING
LOWunittests/machinefiletests.py857 def test_cross_exe_passed_no_wrapper(self):STRING
LOWunittests/machinefiletests.py873 def test_cross_file_system_paths(self):STRING
LOWunittests/machinefiletests.py947 def test_cross_file_dirs_overridden(self):STRING
LOWunittests/machinefiletests.py965 def test_cross_file_dirs_chain(self):STRING
LOWunittests/machinefiletests.py1007 def test_builtin_options_per_machine(self):STRING
LOWunittests/machinefiletests.py1047 def test_builtin_options_conf_overrides_env(self):STRING
LOWunittests/machinefiletests.py1131 def test_project_options_native_only(self) -> None:STRING
LOWunittests/machinefiletests.py1149 def test_bindgen_finds_target_in_clang_options(self) -> None:STRING
LOWunittests/cargotests.py105 def test_semver_has_prerelease(self) -> None:CODE
LOWunittests/cargotests.py468 def test_cargo_toml_ws_exclude(self) -> None:STRING
LOWunittests/cargotests.py501 def test_cargo_toml_ws_package(self) -> None:STRING
LOWunittests/cargotests.py528 def test_cargo_toml_ws_dependency(self) -> None:STRING
LOWunittests/cargotests.py612 def test_cargo_toml_lints_to_args(self) -> None:STRING
LOWunittests/cargotests.py628 def test_cargo_toml_dependencies(self) -> None:STRING
LOWunittests/cargotests.py682 def test_cargo_toml_proc_macro(self) -> None:STRING
LOWunittests/cargotests.py734 def test_cargo_toml_system_deps(self) -> None:STRING
LOWunittests/cargotests.py797 def test_cargo_toml_profile_to_meson_options(self) -> None:STRING
LOW⚡unittests/optiontests.py323 def test_backend_option_pending(self):CODE
LOW⚡unittests/optiontests.py329 def test_reconfigure_b_nonexistent(self):CODE
LOW⚡unittests/optiontests.py333 def test_unconfigure_nonexistent(self):CODE
LOW⚡unittests/optiontests.py338 def test_subproject_proj_opt_with_same_name(self):CODE
LOW⚡unittests/optiontests.py582 def test_sanitize_prefix_cygwin_host(self):CODE
LOW⚡unittests/optiontests.py591 def test_sanitize_dir_option_cross_to_windows(self):CODE
878 more matches not shown…
Empty Error Handlers120 hits · 600 pts
SeverityFileLineSnippetContext
HIGHrun_unittests.py122except ImportError:CODE
HIGHrun_meson_command_tests.py73except FileNotFoundError:CODE
HIGHsetup.py19except ModuleNotFoundError:CODE
HIGHrun_project_tests.py1582except FileNotFoundError:CODE
HIGHrun_project_tests.py1587except FileNotFoundError:CODE
HIGHrun_project_tests.py1593except FileNotFoundError:CODE
HIGHrun_project_tests.py1684except StopException:CODE
HIGHrun_project_tests.py1241except ImportError:CODE
HIGHtools/ac_converter.py383except Exception:CODE
HIGH…cases/unit/111 replace unencodable xml chars/script.py21except:CODE
HIGH…cases/unit/111 replace unencodable xml chars/script.py36except:CODE
HIGHtest cases/python3/3 cython/cytest.py22except TypeError:CODE
HIGHtest cases/python/3 cython/cytest.py18except TypeError:CODE
HIGHtest cases/cython/1 basic/cytest.py18except TypeError:CODE
HIGHtest cases/common/65 build always/version_gen.py20except OSError:CODE
HIGH…s/common/123 custom target directory install/docgen.py10except FileExistsError:CODE
HIGHunittests/machinefiletests.py1023except KeyError:CODE
HIGHunittests/allplatformstests.py96except OSError:CODE
HIGHunittests/allplatformstests.py1620except PermissionError:CODE
HIGHunittests/allplatformstests.py1657except PermissionError:CODE
HIGHunittests/allplatformstests.py1680except PermissionError:CODE
HIGHunittests/allplatformstests.py1700except PermissionError:CODE
HIGHunittests/allplatformstests.py5602except PermissionError:CODE
HIGHunittests/allplatformstests.py3163except KeyError:CODE
HIGHmesonbuild/build.py1829except KeyError:CODE
HIGHmesonbuild/build.py2036except KeyError:CODE
HIGHmesonbuild/options.py1160except KeyError:CODE
HIGHmesonbuild/options.py919except KeyError:CODE
HIGHmesonbuild/options.py994except ValueError:CODE
HIGHmesonbuild/coredata.py156except KeyError:CODE
HIGHmesonbuild/mdevenv.py122except (FileExistsError, shutil.SameFileError):CODE
HIGHmesonbuild/mdevenv.py48except (subprocess.CalledProcessError, OSError):CODE
HIGHmesonbuild/mlog.py536except ValueError:CODE
HIGHmesonbuild/mlog.py167except OSError:CODE
HIGHmesonbuild/mlog.py421except AttributeError:CODE
HIGHmesonbuild/msubprojects.py544except WrapException:CODE
HIGHmesonbuild/msubprojects.py553except WrapException:CODE
HIGHmesonbuild/msubprojects.py561except FileNotFoundError:CODE
HIGHmesonbuild/mconf.py400except BrokenPipeError:CODE
HIGHmesonbuild/msetup.py94except FileNotFoundError:CODE
HIGHmesonbuild/envconfig.py640except mesonlib.MesonException:CODE
HIGHmesonbuild/mesondata.py33except AttributeError:CODE
HIGHmesonbuild/mtest.py1341except asyncio.CancelledError:CODE
HIGHmesonbuild/mtest.py1155except FileNotFoundError:CODE
HIGHmesonbuild/mtest.py1537except IndexError:CODE
HIGHmesonbuild/mtest.py2190except KeyError:CODE
HIGHmesonbuild/mintro.py172except KeyError:CODE
HIGHmesonbuild/interpreter/interpreter.py382except cargo.TomlImplementationMissing:CODE
HIGHmesonbuild/linkers/detect.py180except (AttributeError, IndexError, ValueError):CODE
HIGHmesonbuild/cmake/traceparser.py302except (ValueError, IndexError):CODE
HIGHmesonbuild/cmake/fileapi.py236except (IndexError, KeyError):CODE
HIGHmesonbuild/cmake/fileapi.py250except (IndexError, KeyError):CODE
HIGHmesonbuild/cmake/interpreter.py192except ValueError:CODE
HIGHmesonbuild/cmake/interpreter.py313except KeyError:CODE
HIGHmesonbuild/interpreterbase/interpreterbase.py181except SubdirDoneRequest:CODE
HIGHmesonbuild/interpreterbase/interpreterbase.py734except SubdirDoneRequest:CODE
HIGHmesonbuild/cargo/manifest.py332except AttributeError:CODE
HIGHmesonbuild/cargo/manifest.py336except AttributeError:CODE
HIGHmesonbuild/cargo/toml.py21except ImportError:CODE
HIGHmesonbuild/dependencies/cmake.py629except KeyError:CODE
60 more matches not shown…
Unused Imports586 hits · 553 pts
SeverityFileLineSnippetContext
LOWrun_tests.py6CODE
LOWrun_tests.py13CODE
LOWrun_tests.py15CODE
LOWrun_tests.py41CODE
LOWrun_unittests.py101CODE
LOWrun_unittests.py105CODE
LOWrun_unittests.py119CODE
LOWrun_meson_command_tests.py9CODE
LOWsetup.py18CODE
LOWrun_project_tests.py5CODE
LOWrun_project_tests.py66CODE
LOWpackaging/mpackage.py7CODE
LOW…t cases/rust/5 polyglot static/overflow_size_checks.py5CODE
LOWtest cases/common/299 program in kwargs/customtarget.py4CODE
LOWtest cases/fortran/7 generated/gen.py5CODE
LOWunittests/baseplatformtests.py5CODE
LOWunittests/machinefiletests.py4CODE
LOWunittests/cargotests.py4CODE
LOWunittests/cargotests.py6CODE
LOWunittests/cargotests.py15CODE
LOWunittests/allplatformstests.py5CODE
LOWunittests/allplatformstests.py19CODE
LOWunittests/linuxcrosstests.py5CODE
LOWunittests/darwintests.py4CODE
LOWunittests/failuretests.py4CODE
LOWunittests/internaltests.py47CODE
LOWunittests/internaltests.py60CODE
LOWunittests/rewritetests.py15CODE
LOWunittests/rewritetests.py15CODE
LOWunittests/helpers.py4CODE
LOWunittests/linuxliketests.py60CODE
LOWunittests/windowstests.py22CODE
LOWunittests/platformagnostictests.py5CODE
LOWdocs/extensions/refman_links.py10CODE
LOWdocs/extensions/refman_links.py18CODE
LOWdocs/refman/generatorjson.py3CODE
LOWdocs/refman/generatorvim.py3CODE
LOWdocs/refman/generatorprint.py5CODE
LOWmesonbuild/build.py4CODE
LOWmesonbuild/build.py49CODE
LOWmesonbuild/build.py51CODE
LOWmesonbuild/build.py54CODE
LOWmesonbuild/build.py55CODE
LOWmesonbuild/mcompile.py4CODE
LOWmesonbuild/mcompile.py25CODE
LOWmesonbuild/options.py5CODE
LOWmesonbuild/minit.py6CODE
LOWmesonbuild/minit.py26CODE
LOWmesonbuild/coredata.py5CODE
LOWmesonbuild/coredata.py28CODE
LOWmesonbuild/coredata.py28CODE
LOWmesonbuild/coredata.py31CODE
LOWmesonbuild/coredata.py33CODE
LOWmesonbuild/mdist.py5CODE
LOWmesonbuild/mdevenv.py1CODE
LOWmesonbuild/mdevenv.py20CODE
LOWmesonbuild/rewriter.py10CODE
LOWmesonbuild/mesonlib.py9CODE
LOWmesonbuild/mesonlib.py11CODE
LOWmesonbuild/mesonlib.py12CODE
526 more matches not shown…
Deep Nesting423 hits · 356 pts
SeverityFileLineSnippetContext
LOWrun_tests.py224CODE
LOWrun_tests.py256CODE
LOWrun_format_tests.py27CODE
LOWrun_mypy.py38CODE
LOWrun_project_tests.py369CODE
LOWrun_project_tests.py495CODE
LOWrun_project_tests.py814CODE
LOWrun_project_tests.py843CODE
LOWrun_project_tests.py1166CODE
LOWrun_project_tests.py151CODE
LOWtools/regenerate_docs.py124CODE
LOWtools/boost_names.py76CODE
LOWtools/boost_names.py187CODE
LOWtools/cmake2meson.py38CODE
LOWtools/cmake2meson.py152CODE
LOWtools/cmake2meson.py175CODE
LOWtools/cmake2meson.py289CODE
LOW…_i single from multiple/generate_conflicting_stlibs.py63CODE
LOWtest cases/common/53 install script/myinstall.py11CODE
LOW…ink custom_i multiple from multiple/generate_stlibs.py65CODE
LOWci/ciimage/build.py220CODE
LOWunittests/datatests.py40CODE
LOWunittests/machinefiletests.py66CODE
LOWunittests/machinefiletests.py106CODE
LOWunittests/machinefiletests.py239CODE
LOWunittests/machinefiletests.py324CODE
LOWunittests/machinefiletests.py446CODE
LOWunittests/machinefiletests.py642CODE
LOWunittests/machinefiletests.py873CODE
LOWunittests/machinefiletests.py1007CODE
LOWunittests/machinefiletests.py1047CODE
LOWunittests/machinefiletests.py447CODE
LOWunittests/allplatformstests.py328CODE
LOWunittests/allplatformstests.py927CODE
LOWunittests/allplatformstests.py1054CODE
LOWunittests/allplatformstests.py1096CODE
LOWunittests/allplatformstests.py1195CODE
LOWunittests/allplatformstests.py1359CODE
LOWunittests/allplatformstests.py2125CODE
LOWunittests/allplatformstests.py2167CODE
LOWunittests/allplatformstests.py2277CODE
LOWunittests/allplatformstests.py2639CODE
LOWunittests/allplatformstests.py2703CODE
LOWunittests/allplatformstests.py2833CODE
LOWunittests/allplatformstests.py3332CODE
LOWunittests/allplatformstests.py3506CODE
LOWunittests/allplatformstests.py3841CODE
LOWunittests/allplatformstests.py4470CODE
LOWunittests/allplatformstests.py5151CODE
LOWunittests/allplatformstests.py3847CODE
LOWunittests/allplatformstests.py4479CODE
LOWunittests/allplatformstests.py5159CODE
LOWunittests/internaltests.py401CODE
LOWunittests/internaltests.py1136CODE
LOWunittests/internaltests.py1266CODE
LOWunittests/internaltests.py1337CODE
LOWunittests/pythontests.py53CODE
LOWunittests/rewritetests.py221CODE
LOWunittests/linuxliketests.py566CODE
LOWunittests/linuxliketests.py894CODE
363 more matches not shown…
Over-Commented Block210 hits · 202 pts
SeverityFileLineSnippetContext
LOWrun_tests.py61COMMENT
LOWrun_format_tests.py1#!/usr/bin/env python3COMMENT
LOWazure-pipelines.yml1# intel oneapi installation is based on the examples atCOMMENT
LOWrun_shell_checks.py1#!/usr/bin/env python3COMMENT
LOWtest cases/unit/17 prebuilt shared/alexandria.h1#pragma onceCOMMENT
LOW…st cases/unit/29 guessed linker dependencies/lib/lib.c1#if defined _WIN32COMMENT
LOWtest cases/unit/19 array option/meson_options.txt1# Copyright © 2017 Intel CorporationCOMMENT
LOWtest cases/unit/30 shared_mod linking/libfile.c1#if defined _WIN32 || defined __CYGWIN__COMMENT
LOW…es/unit/31 forcefallback/subprojects/notzlib/notzlib.h1#pragma onceCOMMENT
LOWtest cases/unit/88 multiple envvars/prog.cpp1#include<cstdio>COMMENT
LOWtest cases/unit/88 multiple envvars/prog.c1#include<stdio.h>COMMENT
LOWtest cases/unit/60 identity cross/stuff.h1#ifdef EXTERNAL_BUILDCOMMENT
LOWtest cases/unit/60 identity cross/stuff.h21#if defined(EXTERNAL_BUILD) && defined(EXTERNAL_HOST)COMMENT
LOW…t library install/subprojects/sublib/include/subdefs.h1#ifndef SUBDEFS_H_COMMENT
LOWtest cases/native/2 global arg/prog.c1#ifndef MYTHINGCOMMENT
LOWtest cases/native/2 global arg/prog.c21#ifdef GLOBAL_BUILDCOMMENT
LOW…cases/native/8 external program shebang parsing/main.c1#include <stdio.h>COMMENT
LOW…e/27 dependency fallback/subprojects/cmMod/cpp_pch.hpp1#include <vector>COMMENT
LOW… object library advanced/subprojects/cmObjLib/libA.hpp1#pragma onceCOMMENT
LOW… object library advanced/subprojects/cmObjLib/libB.hpp1#pragma onceCOMMENT
LOW…/6 object library no dep/subprojects/cmObjLib/libA.hpp1#pragma onceCOMMENT
LOW…/6 object library no dep/subprojects/cmObjLib/libB.hpp1#pragma onceCOMMENT
LOW…cmake/19 advanced options/subprojects/cmOpts/cmMod.cpp1#include "cmMod.hpp"COMMENT
LOW…make/19 advanced options/subprojects/cmOpts/cmTest.cpp1#include "cmTest.hpp"COMMENT
LOW…s/cmake/5 object library/subprojects/cmObjLib/libA.hpp1#pragma onceCOMMENT
LOW…s/cmake/5 object library/subprojects/cmObjLib/libB.hpp1#pragma onceCOMMENT
LOWtest cases/cmake/1 basic/subprojects/cmMod/cpp_pch.hpp1#include <vector>COMMENT
LOW…17 include path order/subprojects/cmMod/incF/cmMod.hpp1// cmMod.hpp (F)COMMENT
LOW…17 include path order/subprojects/cmMod/incA/cmMod.hpp1// cmMod.hpp (A)COMMENT
LOW…17 include path order/subprojects/cmMod/incH/cmMod.hpp1// cmMod.hpp (H)COMMENT
LOW…17 include path order/subprojects/cmMod/incO/cmMod.hpp1// cmMod.hpp (O)COMMENT
LOW…17 include path order/subprojects/cmMod/incN/cmMod.hpp1// cmMod.hpp (N)COMMENT
LOW…17 include path order/subprojects/cmMod/incI/cmMod.hpp1// cmMod.hpp (I)COMMENT
LOW…17 include path order/subprojects/cmMod/incB/cmMod.hpp1// cmMod.hpp (B)COMMENT
LOW…17 include path order/subprojects/cmMod/incE/cmMod.hpp1// cmMod.hpp (E)COMMENT
LOW…17 include path order/subprojects/cmMod/incL/cmMod.hpp1// cmMod.hpp (L)COMMENT
LOW…17 include path order/subprojects/cmMod/incP/cmMod.hpp1// cmMod.hpp (P)COMMENT
LOW…17 include path order/subprojects/cmMod/incJ/cmMod.hpp1// cmMod.hpp (J)COMMENT
LOW…17 include path order/subprojects/cmMod/incM/cmMod.hpp1// cmMod.hpp (M)COMMENT
LOW…17 include path order/subprojects/cmMod/incD/cmMod.hpp1// cmMod.hpp (D)COMMENT
LOW…17 include path order/subprojects/cmMod/incC/cmMod.hpp1// cmMod.hpp (C)COMMENT
LOW…make/18 skip include files/subprojects/cmMod/cmMod.cpp1#include "cmMod.hpp"COMMENT
LOWtest cases/cmake/16 threads/subprojects/cmMod/cmMod.hpp1#pragma onceCOMMENT
LOW…erator expressions/subprojects/cmMod/include/cmMod.hpp1#pragma onceCOMMENT
LOW…erator expressions/subprojects/cmMod/include/cmMod.hpp21#ifndef CMAKE_TRUE_FLAGCOMMENT
LOW…ake/21 shared module/subprojects/cmMod/module/module.c1#if defined _WIN32 || defined __CYGWIN__COMMENT
LOWtest cases/osx/7 bitcode/vis.h1#if defined __GNUC__COMMENT
LOWtest cases/failing test/3 ambiguous/test_runner.sh1#!/bin/shCOMMENT
LOWtest cases/cuda/5 threads/shared/kernels.h41# define TAG_ATTRIBUTE_EXPORT __declspec(dllexport)COMMENT
LOWtest cases/cuda/4 shared/shared/kernels.h41# define TAG_ATTRIBUTE_EXPORT __declspec(dllexport)COMMENT
LOWtest cases/rust/12 bindgen/include/other.h1// SPDX-License-Identifier: Apache-2.0COMMENT
LOWtest cases/rust/12 bindgen/src/global-project.h1#ifndef GLOBAL_ARGCOMMENT
LOWtest cases/rust/16 internal c dependencies/lib.h1#pragma onceCOMMENT
LOWtest cases/rust/15 polyglot sharedlib/adder.h1#pragma onceCOMMENT
LOWtest cases/rust/9 unit tests/doctest1.rs1//! This is a doctestCOMMENT
LOWtest cases/failing/31 exe static shared/shlib2.c1#if defined _WIN32 || defined __CYGWIN__COMMENT
LOWtest cases/common/21 target arg/func.c1#ifndef CTHINGCOMMENT
LOWtest cases/common/21 target arg/func2.c1#ifdef CTHINGCOMMENT
LOWtest cases/common/173 as-needed/config.h1#if defined _WIN32 || defined __CYGWIN__COMMENT
LOW…ases/common/125 configure file in generator/src/main.c1#include<stdio.h>COMMENT
150 more matches not shown…
Self-Referential Comments46 hits · 122 pts
SeverityFileLineSnippetContext
MEDIUMrun_meson_command_tests.py128 # Create a symlink to meson.py in bindir, and add it to PATHCOMMENT
MEDIUMunittests/allplatformstests.py3491 # Create a file in builddir and verify wipe command removes itSTRING
MEDIUMunittests/subprojectscommandtests.py127 # Create a fake remote git repository and a wrap file. Checks thatSTRING
MEDIUMunittests/subprojectscommandtests.py135 # Create a new remote branch and update the wrap file. Checks thatSTRING
MEDIUMunittests/subprojectscommandtests.py180 # Create a new remote tag and update the wrap file. Checks thatSTRING
MEDIUMunittests/subprojectscommandtests.py188 # Create a new remote commit and update the wrap file with the commit id.STRING
MEDIUMunittests/subprojectscommandtests.py199 # Create a local project not in a git repository, then update it withSTRING
MEDIUMunittests/subprojectscommandtests.py213 # Create a fake remote git repository and a wrap file targetingSTRING
MEDIUMunittests/linuxliketests.py775 # Create a new testdir under tmpdir.COMMENT
MEDIUMdocs/refman/generatormd.py52# This function is designed to be used with `dedent`COMMENT
MEDIUM⚡mesonbuild/build.py1518 # Create an empty commands list, and start adding arguments fromSTRING
MEDIUMmesonbuild/options.py939 # Create a copy of the object, as we're going to mutate itCOMMENT
MEDIUMmesonbuild/coredata.py210# This class contains all data that must persist over multipleCOMMENT
MEDIUMmesonbuild/rewriter.py1026 # Create an empty file if it does not existCOMMENT
MEDIUM⚡mesonbuild/msetup.py35git_ignore_file = '''# This file is autogenerated by Meson. If you change or delete it, it won't be recreated.CODE
MEDIUM⚡mesonbuild/msetup.py39hg_ignore_file = '''# This file is autogenerated by Meson. If you change or delete it, it won't be recreated.STRING
MEDIUM⚡mesonbuild/msetup.py45# This file is a cache directory tag created by meson.COMMENT
MEDIUMmesonbuild/mesonmain.py12# This file is an entry point for all commands, including scripts. Include theCOMMENT
MEDIUMmesonbuild/cmake/traceparser.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/cmake/__init__.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/cmake/interpreter.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/interpreterbase/interpreterbase.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/interpreterbase/decorators.py558 # Create a shallow copy of the container. This allows mutableCOMMENT
MEDIUMmesonbuild/dependencies/misc.py4# This file contains the detection logic for miscellaneous external dependencies.COMMENT
MEDIUMmesonbuild/dependencies/ui.py4# This file contains the detection logic for external dependencies thatCOMMENT
MEDIUMmesonbuild/dependencies/hdf5.py4# This file contains the detection logic for miscellaneous external dependencies.COMMENT
MEDIUMmesonbuild/dependencies/platform.py4# This file contains the detection logic for external dependencies that areCOMMENT
MEDIUMmesonbuild/dependencies/dev.py397 # Initialize basic variablesCOMMENT
MEDIUMmesonbuild/dependencies/base.py5# This file contains the detection logic for external dependencies.COMMENT
MEDIUMmesonbuild/backend/xcodebackend.py186 # This class is a bit weird, because we want to write PBX dicts inCOMMENT
MEDIUMmesonbuild/backend/backends.py284# This class contains the basic functionality that is needed by all backends.COMMENT
MEDIUMmesonbuild/backend/backends.py1055 # Create an empty commands list, and start adding arguments fromCOMMENT
MEDIUMmesonbuild/backend/vs2010backend.py459 # Create the solution configurationCOMMENT
MEDIUMmesonbuild/backend/ninjabackend.py3846 # Create an empty commands list, and start adding link arguments fromCOMMENT
MEDIUMmesonbuild/backend/ninjabackend.py4240 # Create a list of all custom target outputsCOMMENT
MEDIUMmesonbuild/scripts/symbolextractor.py9# This file is basically a reimplementation ofCOMMENT
MEDIUMmesonbuild/scripts/coverage.py100 # Create a shim to allow using llvm-cov as a gcov tool.COMMENT
MEDIUMmesonbuild/ast/postprocess.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/ast/__init__.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/ast/interpreter.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/ast/visitor.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/ast/introspection.py5# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/ast/printer.py4# This class contains the basic functionality needed to run any interpreterCOMMENT
MEDIUMmesonbuild/compilers/mixins/clike.py702 # Define the symbol to something else since it is defined by theCOMMENT
MEDIUMmesonbuild/modules/dlang.py4# This file contains the detection logic for external dependencies thatCOMMENT
MEDIUMmesonbuild/modules/__init__.py4# This file contains the base representation for import('modname')COMMENT
Hallucination Indicators12 hits · 120 pts
SeverityFileLineSnippetContext
CRITICALmesonbuild/interpreter/mesonmain.py308 optval = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('unity'))CODE
CRITICALmesonbuild/backend/ninjabackend.py612 for compiler in self.environment.coredata.compilers.host.values():CODE
CRITICALmesonbuild/backend/ninjabackend.py2934 for lang, c in self.environment.coredata.compilers.host.items():CODE
CRITICALmesonbuild/modules/pkgconfig.py784 compiler = state.environment.coredata.compilers.host.get('d')CODE
CRITICALmesonbuild/modules/python.py122 prefix = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('prefix'))CODE
CRITICALmesonbuild/modules/python.py194 allow_limited_api = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.allow_limitedCODE
CRITICALmesonbuild/modules/python.py235 is_debug = self.interpreter.environment.coredata.optstore.get_value_for('debug')CODE
CRITICALmesonbuild/modules/python.py287 build_config = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.build_config'))CODE
CRITICALmesonbuild/modules/python.py428 optlevel = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.bytecompile'))CODE
CRITICALmesonbuild/modules/python.py494 build_config = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.build_config'))CODE
CRITICALmesonbuild/modules/hotdoc.py323 if self.state.environment.coredata.optstore.get_value_for(OptionKey('werror', subproject=self.state.subproject))CODE
CRITICALmesonbuild/modules/rust.py928 [state.environment.coredata.compilers.host.get(T.cast('Language', l))CODE
Cross-File Repetition22 hits · 110 pts
SeverityFileLineSnippetContext
HIGHmesonbuild/templates/ctemplates.py0#pragma once #if defined _win32 || defined __cygwin__ #ifdef building_{utoken} #define {utoken}_public __declspec(dllexpSTRING
HIGHmesonbuild/templates/objcpptemplates.py0#pragma once #if defined _win32 || defined __cygwin__ #ifdef building_{utoken} #define {utoken}_public __declspec(dllexpSTRING
HIGHmesonbuild/templates/objctemplates.py0#pragma once #if defined _win32 || defined __cygwin__ #ifdef building_{utoken} #define {utoken}_public __declspec(dllexpSTRING
HIGHmesonbuild/templates/ctemplates.py0#import <{header_file}> /* this function will not be exported and is not * directly callable by users of this library. *STRING
HIGHmesonbuild/templates/dlangtemplates.py0#import <{header_file}> /* this function will not be exported and is not * directly callable by users of this library. *STRING
HIGHmesonbuild/templates/objcpptemplates.py0#import <{header_file}> /* this function will not be exported and is not * directly callable by users of this library. *STRING
HIGHmesonbuild/templates/objctemplates.py0#import <{header_file}> /* this function will not be exported and is not * directly callable by users of this library. *STRING
HIGHmesonbuild/templates/ctemplates.py0project( '{project_name}', 'cpp', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warniSTRING
HIGHmesonbuild/templates/fortrantemplates.py0project( '{project_name}', 'cpp', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warniSTRING
HIGHmesonbuild/templates/cudatemplates.py0project( '{project_name}', 'cpp', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warniSTRING
HIGHmesonbuild/templates/objcpptemplates.py0project( '{project_name}', 'cpp', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warniSTRING
HIGHmesonbuild/templates/objctemplates.py0project( '{project_name}', 'cpp', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warniSTRING
HIGHmesonbuild/templates/cpptemplates.py0project( '{project_name}', 'cpp', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warniSTRING
HIGHmesonbuild/templates/ctemplates.py0project( '{project_name}', 'objc', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warnSTRING
HIGHmesonbuild/templates/cstemplates.py0project( '{project_name}', 'objc', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warnSTRING
HIGHmesonbuild/templates/fortrantemplates.py0project( '{project_name}', 'objc', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warnSTRING
HIGHmesonbuild/templates/dlangtemplates.py0project( '{project_name}', 'objc', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warnSTRING
HIGHmesonbuild/templates/objcpptemplates.py0project( '{project_name}', 'objc', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warnSTRING
HIGHmesonbuild/templates/objctemplates.py0project( '{project_name}', 'objc', version : '{version}', meson_version : '>= {meson_version}', default_options : ['warnSTRING
HIGHmesonbuild/compilers/c.py0{prefix} #include <{hname}> int main(void) {{ /* if it's not defined as a macro, try to use as a symbol */ #ifndef {symbSTRING
HIGHmesonbuild/compilers/cuda.py0{prefix} #include <{hname}> int main(void) {{ /* if it's not defined as a macro, try to use as a symbol */ #ifndef {symbSTRING
HIGHmesonbuild/compilers/mixins/clike.py0{prefix} #include <{hname}> int main(void) {{ /* if it's not defined as a macro, try to use as a symbol */ #ifndef {symbSTRING
Modern Structural Boilerplate68 hits · 66 pts
SeverityFileLineSnippetContext
LOWrun_project_tests.py1145 def update_log(self, new_status: TestStatus) -> None:CODE
LOWmesonbuild/build.py340 def set_install_subdir(self, subdir: str) -> None:CODE
LOWmesonbuild/build.py1132 def _set_vala_args(self, kwargs: BuildTargetKeywordArguments) -> None:STRING
LOWmesonbuild/build.py2325 def _set_vala_args(self, kwargs: BuildTargetKeywordArguments) -> None:STRING
LOWmesonbuild/build.py2549 def set_shared(self, shared_library: SharedLibrary) -> None:STRING
LOWmesonbuild/build.py2913 def set_static(self, static_library: StaticLibrary) -> None:STRING
LOWmesonbuild/options.py603 def set_versions(self, versions: T.List[str], gnu: bool = False, gnu_deprecated: bool = False) -> None:CODE
LOWmesonbuild/options.py800 def set_host_machine(self, machine: MachineInfo) -> None:CODE
LOWmesonbuild/options.py1385 def update_project_options(self, project_options: MutableKeyedOptionDictType, subproject: SubProject) -> None:CODE
LOWmesonbuild/_typing.py10__all__ = [CODE
LOWmesonbuild/cmdline.py96def update_cmd_line_file(build_dir: str, options: SharedCMDOptions) -> None:CODE
LOWmesonbuild/minstall.py220def set_mode(path: str, mode: T.Optional['FileMode'], default_umask: T.Union[str, int]) -> None:CODE
LOW⚡mesonbuild/minstall.py358 def set_chown(self, *args: T.Any, **kwargs: T.Any) -> None:CODE
LOW⚡mesonbuild/minstall.py362 def set_chmod(self, *args: T.Any, **kwargs: T.Any) -> None:CODE
LOW⚡mesonbuild/minstall.py370 def set_mode(self, *args: T.Any, **kwargs: T.Any) -> None:CODE
LOWmesonbuild/mparser.py376 def set_kwarg(self, name: IdNode, value: BaseNode) -> None:CODE
LOWmesonbuild/mparser.py389 def set_kwarg_no_check(self, name: BaseNode, value: BaseNode) -> None:CODE
LOW⚡mesonbuild/mlog.py99 def set_quiet(self) -> None:CODE
LOW⚡mesonbuild/mlog.py102 def set_verbose(self) -> None:CODE
LOW⚡mesonbuild/mlog.py105 def set_timestamp_start(self, start: float) -> None:CODE
LOWmesonbuild/msubprojects.py420 def update_git_done(self) -> None:CODE
LOWmesonbuild/mesonmain.py242def set_meson_command(mainfile: str) -> None:CODE
LOWmesonbuild/environment.py343 def _set_default_options_from_env(self) -> None:CODE
LOWmesonbuild/environment.py408 def _set_default_binaries_from_env(self) -> None:CODE
LOWmesonbuild/environment.py427 def _set_default_properties_from_env(self) -> None:CODE
LOWmesonbuild/environment.py671 def update_build_machine(self, compilers: T.Optional[CompilerDict] = None) -> None:CODE
LOWmesonbuild/_pathlib.py27__all__ = [CODE
LOWmesonbuild/mintro.py611def update_build_options(coredata: cdata.CoreData, info_dir: str) -> None:CODE
LOWmesonbuild/interpreter/interpreterobjects.py348 def set_method(self, args: T.Tuple[str, T.List[str]], kwargs: 'EnvironmentSeparatorKW') -> None:CODE
LOWmesonbuild/interpreter/interpreterobjects.py407 def set_method(self, args: T.Tuple[str, T.Union[str, int, bool]], kwargs: 'kwargs.ConfigurationDataSet') -> None:CODE
LOWmesonbuild/interpreter/interpreterobjects.py417 def set_quoted_method(self, args: T.Tuple[str, str], kwargs: 'kwargs.ConfigurationDataSet') -> None:CODE
LOWmesonbuild/interpreter/__init__.py7__all__ = [CODE
LOWmesonbuild/interpreter/interpreter.py1261 def set_backend(self) -> None:CODE
LOWmesonbuild/interpreter/dependencyfallbacks.py62 def set_fallback(self, fbinfo: T.Optional[T.Union[T.List[str], str]]) -> None:CODE
LOWmesonbuild/interpreter/primitives/__init__.py4__all__ = [CODE
LOWmesonbuild/linkers/__init__.py12__all__ = [CODE
LOWmesonbuild/cmake/__init__.py7__all__ = [CODE
LOWmesonbuild/cmake/common.py280 def set_opt(self, opt: str, val: str) -> None:CODE
LOWmesonbuild/cmake/common.py291 def set_install(self, install: bool) -> None:CODE
LOW⚡mesonbuild/cmake/toolchain.py227 def update_cmake_compiler_state(self) -> None:STRING
LOWmesonbuild/cmake/executor.py126 def set_exec_mode(self, print_cmout: T.Optional[bool] = None, always_capture_stderr: T.Optional[bool] = None) -> NonCODE
LOWmesonbuild/interpreterbase/__init__.py4__all__ = [CODE
LOWmesonbuild/interpreterbase/interpreterbase.py640 def set_variable(self, varname: str, variable: T.Union[TYPE_var, InterpreterObject], *, holderify: bool = False) -> STRING
LOWmesonbuild/cargo/manifest.py328 def update_version(self, v: str) -> None:CODE
LOWmesonbuild/cargo/__init__.py1__all__ = [CODE
LOWmesonbuild/dependencies/boost.py251 def update_vers(new_vers: str) -> None:CODE
LOWmesonbuild/dependencies/__init__.py11__all__ = [CODE
LOWmesonbuild/dependencies/pkgconfig.py38 def set_program_override(pkg_bin: ExternalProgram, for_machine: MachineChoice) -> None:CODE
LOWmesonbuild/dependencies/pkgconfig.py397 def _set_cargs(self) -> None:CODE
LOWmesonbuild/dependencies/pkgconfig.py561 def _set_libs(self) -> None:CODE
LOWmesonbuild/dependencies/dev.py274 def _set_new_link_args(self, environment: 'Environment') -> None:CODE
LOWmesonbuild/dependencies/dev.py329 def _set_old_link_args(self) -> None:CODE
LOWmesonbuild/dependencies/scalapack.py95 def _set_libs(self) -> None:CODE
LOWmesonbuild/dependencies/scalapack.py135 def _set_cargs(self) -> None:CODE
LOWmesonbuild/utils/vsenv.py20__all__ = [CODE
LOWmesonbuild/utils/platform.py17__all__ = ['DirectoryLock', 'DirectoryLockAction', 'path_has_root']CODE
LOWmesonbuild/utils/universal.py71__all__ = [CODE
LOWmesonbuild/utils/universal.py262def set_meson_command(mainfile: str) -> None:CODE
LOWmesonbuild/backend/xcodebackend.py331 def set_arch(self) -> None:CODE
LOW⚡mesonbuild/wrap/wraptool.py213def update_db(options: 'argparse.Namespace') -> None:CODE
8 more matches not shown…
Excessive Try-Catch Wrapping63 hits · 60 pts
SeverityFileLineSnippetContext
LOWrun_tests.py305 except Exception:CODE
LOWskip_ci.py54 except Exception:CODE
MEDIUMskip_ci.py37def main():CODE
LOWrun_cross_test.py46 except Exception:CODE
MEDIUMrun_project_tests.py1596def setup_symlinks() -> None:CODE
LOWrun_project_tests.py466 except Exception:CODE
LOWrun_project_tests.py1205 except Exception:CODE
LOWrun_project_tests.py1620 except Exception as e:CODE
LOWtools/ac_converter.py383 except Exception:STRING
LOWunittests/baseplatformtests.py241 except Exception as e:CODE
LOWunittests/baseplatformtests.py268 except Exception:CODE
LOWunittests/baseplatformtests.py402 except Exception as e:CODE
MEDIUMunittests/baseplatformtests.py163def _get_meson_log(self) -> T.Optional[str]:CODE
LOWunittests/linuxliketests.py623 except Exception:CODE
LOWdocs/validatelinks.py19 except Exception as e:CODE
MEDIUMdocs/validatelinks.py14def fetch(session, name, url, timeout):CODE
LOWmesonbuild/rewriter.py1203 except Exception as e:CODE
LOWmesonbuild/optinterpreter.py101 except Exception as e:CODE
LOWmesonbuild/mlog.py156 except Exception as e:CODE
LOWmesonbuild/mlog.py408 except Exception:CODE
LOWmesonbuild/programs.py267 except Exception as e:CODE
LOWmesonbuild/msetup.py267 except Exception as e:STRING
LOWmesonbuild/msetup.py340 except Exception as e:STRING
LOWmesonbuild/mesonmain.py203 except Exception as e:CODE
LOWmesonbuild/mesonmain.py306 except Exception as e:CODE
LOWmesonbuild/interpreter/interpreter.py1076 except Exception as e:CODE
LOWmesonbuild/interpreter/interpreter.py2020 except Exception:CODE
LOWmesonbuild/interpreterbase/interpreterbase.py193 except Exception as e:CODE
LOWmesonbuild/cargo/interpreter.py765 except Exception as e:CODE
LOWmesonbuild/cargo/interpreter.py773 except Exception as e:CODE
LOWmesonbuild/dependencies/cuda.py214 except Exception as e:CODE
LOWmesonbuild/dependencies/cuda.py245 except Exception as e:CODE
LOWmesonbuild/dependencies/detect.py130 except Exception as e:CODE
LOWmesonbuild/utils/universal.py1269 except Exception:STRING
LOWmesonbuild/utils/universal.py1356 except Exception:STRING
LOWmesonbuild/utils/universal.py1775 except Exception as e:STRING
LOWmesonbuild/utils/universal.py1783 except Exception as e:STRING
LOWmesonbuild/utils/universal.py1950 except Exception as e:STRING
LOWmesonbuild/utils/universal.py2031 except Exception as excp:STRING
LOWmesonbuild/backend/ninjabackend.py4015 except Exception:CODE
LOWmesonbuild/backend/ninjabackend.py832 except Exception:STRING
LOW⚡mesonbuild/wrap/wraptool.py200 except Exception:CODE
LOW⚡mesonbuild/wrap/wraptool.py205 except Exception:CODE
LOWmesonbuild/wrap/wrap.py399 except Exception as e:CODE
LOWmesonbuild/wrap/wrap.py647 except Exception:STRING
LOWmesonbuild/wrap/wrap.py927 except Exception as e:STRING
LOWmesonbuild/wrap/wrap.py981 except Exception:STRING
MEDIUMmesonbuild/wrap/wrap.py394def load_netrc(self) -> None:CODE
LOWmesonbuild/scripts/python_info.py102 except Exception:CODE
MEDIUMmesonbuild/scripts/rc.py32 print('Error running preprocessor to find resource dependencies', file=sys.stderr)CODE
LOWmesonbuild/scripts/copy.py17 except Exception:CODE
LOWmesonbuild/scripts/depfixer.py294 except Exception as e:CODE
LOWmesonbuild/scripts/depfixer.py437 except Exception:CODE
LOWmesonbuild/scripts/depfixer.py790 except Exception as err:CODE
LOWmesonbuild/scripts/reprotest.py121 except Exception as e:CODE
LOWmesonbuild/scripts/uninstall.py25 except Exception as e:CODE
LOWmesonbuild/scripts/vcstagger.py13 except Exception:CODE
LOWmesonbuild/scripts/gtkdochelper.py125 except Exception:CODE
LOWmesonbuild/compilers/compilers.py806 except Exception as e:CODE
LOWmesonbuild/compilers/compilers.py1536 except Exception as e:CODE
3 more matches not shown…
Redundant / Tautological Comments41 hits · 52 pts
SeverityFileLineSnippetContext
LOWrun_project_tests.py429 # Check if expected files were foundCOMMENT
LOWrun_project_tests.py539 # Check if this line match current expected lineCOMMENT
LOWpackaging/createmsi.py323 # Check if nuget source is active before trying to add itCOMMENT
LOW⚡unittests/optiontests.py596 # Set libdir to absolute path inside prefix, should be relativizedCOMMENT
LOW⚡unittests/optiontests.py606 # Set libdir to absolute path inside prefix, should be relativizedCOMMENT
LOW⚡unittests/platformagnostictests.py121 # Check if message is not printed to stdout while configuringCOMMENT
LOW⚡unittests/platformagnostictests.py124 # Check if message is written to the meson logCOMMENT
LOWdocs/yaml/elementary/str.yml241 # Output value is ['hello', 'world']COMMENT
LOWdocs/yaml/elementary/str.yml243 # Output value is []COMMENT
LOWdocs/yaml/elementary/str.yml261 # Output value is 'foo bar'COMMENT
LOWmesonbuild/build.py1562 # Check if we have -fPIC, -fpic, -fPIE, or -fpie in cflagsSTRING
LOWmesonbuild/build.py1748 # Check if any of the external libraries were written in this languageSTRING
LOWmesonbuild/build.py1754 # Check if any of the internal libraries this target links to wereSTRING
LOWmesonbuild/rewriter.py1078 # Write the files backCOMMENT
LOWmesonbuild/arglist.py235 # Check if we need to add --start/end-group for circular dependenciesCOMMENT
LOWmesonbuild/programs.py115 # Set path to be the last item that is actually a file (in order toCOMMENT
LOWmesonbuild/msubprojects.py152 # Check if this wrap is in WrapDBCOMMENT
LOWmesonbuild/interpreter/dependencyfallbacks.py157 # Check if the subproject overridden at least one of the names we got.COMMENT
LOWmesonbuild/interpreter/dependencyfallbacks.py324 # Check if usage of the subproject fallback is forcedCOMMENT
LOWmesonbuild/cmake/interpreter.py696 # Check if the command is a build targetCOMMENT
LOW⚡mesonbuild/cmake/toolchain.py228 # Check if all variables are already cachedSTRING
LOWmesonbuild/interpreterbase/interpreterbase.py351 # Check if the arguments should be reversed for simplicity (this essentially converts `in` to `contains`)COMMENT
LOWmesonbuild/dependencies/cmake.py177 # Check if any generator succeededCOMMENT
LOWmesonbuild/dependencies/cmake.py393 # Check if any generator succeededCOMMENT
LOWmesonbuild/dependencies/qt.py225 # Check if we link with debug binariesCOMMENT
LOWmesonbuild/dependencies/dev.py788 # Check if compiler has a built-in macro definedCOMMENT
LOWmesonbuild/dependencies/base.py483 # Check if dependency version meets the requirementsCOMMENT
LOWmesonbuild/utils/universal.py2589 # Check if it's already short enoughCOMMENT
LOWmesonbuild/utils/universal.py2594 # Check if we have wine >= 6.4COMMENT
LOWmesonbuild/backend/ninjabackend.py1794 # Check if the vala file is in a subdir of --basedirSTRING
LOWmesonbuild/wrap/wrap.py598 # Check if this wrap forces a specific method, use meson otherwise.STRING
LOWmesonbuild/wrap/wrap.py615 # Check if the subproject is a git submoduleSTRING
LOWmesonbuild/compilers/cpp.py106 # Check if it's a C-like symbolCOMMENT
LOWmesonbuild/compilers/cpp.py112 # Check if it's a class or a templateCOMMENT
LOWmesonbuild/compilers/cuda.py552 # Check if it's a C-like symbolSTRING
LOWmesonbuild/compilers/cuda.py565 # Check if it's a class or a templateSTRING
LOWmesonbuild/compilers/compilers.py1017 # Check if not cached, and generate, otherwise get from the cacheCOMMENT
LOWmesonbuild/compilers/mixins/clike.py72 # Check if we need to add --start/end-group for circular dependenciesCOMMENT
LOWmesonbuild/compilers/mixins/clike.py906 # Check if the underscore form of the symbol is somewhereSTRING
LOWmesonbuild/compilers/mixins/clike.py1164 # Check if an argument to find_library is usable:STRING
LOWmesonbuild/modules/__init__.py104 # Check if pkgconfig has a variableCOMMENT
AI Slop Vocabulary20 hits · 31 pts
SeverityFileLineSnippetContext
LOWmesonbuild/build.py1795 # If the user set the link_language, just return that.STRING
MEDIUMmesonbuild/mdist.py103 # robust, safe software. Instead of detecting the signs of a problematic scenario,COMMENT
MEDIUMmesonbuild/minstall.py586 # can't elevate to root except in an interactive unix environment *and* when not doing a destdir installCOMMENT
MEDIUMmesonbuild/msetup.py375 # The command line may specify a '--backend' option, which doesn't make sense in conjunction withSTRING
LOWmesonbuild/msetup.py393 #Now for generating the 'lite' solution and project files, which will use these builds we've just set up, above.STRING
LOWmesonbuild/envconfig.py622 # cross-compilation. So if we're doing that, just set the native arch asCOMMENT
LOWmesonbuild/interpreter/compiler.py562 # just pass it to the compiler driverCOMMENT
LOWmesonbuild/backend/backends.py850 # Can't just use exe.name here; it will likely be run more than onceCOMMENT
LOWmesonbuild/backend/backends.py977 # so just return all object files.COMMENT
MEDIUMmesonbuild/backend/vs2010backend.py1191 # Things would be cleaner, more robust, repeatable, and portable if meson (and msvc tools) replaced all this kinCOMMENT
LOWmesonbuild/backend/vs2010backend.py815 # directory lookup, but simply use a string match to find theCOMMENT
LOWmesonbuild/backend/vs2010backend.py1261 # project's NMake... preprocessor/include intellisense fields, we'll just use the first src type we have to COMMENT
LOWmesonbuild/backend/ninjabackend.py3323 # at build-time. Skip scanning for deps, and just set the moduleCOMMENT
LOWmesonbuild/compilers/detect.py1283 # to not work for our uses. So, just use mkstemp and only haveCOMMENT
LOWmesonbuild/compilers/detect.py1325 # to not work for our uses. So, just use mkstemp and only haveCOMMENT
LOWmesonbuild/compilers/rust.py467 # Rust doesn't have dependency compile arguments so simply returnSTRING
LOWmesonbuild/compilers/mixins/visualstudio.py330 # MSVC doesn't have __attribute__ like Clang and GCC do, so just returnCOMMENT
LOWmesonbuild/compilers/mixins/clike.py1126 # First try if we can just add the library as -l.STRING
LOWmesonbuild/modules/gnome.py830 # than 1.58, we can just return False if get_version fails.COMMENT
MEDIUMmesonbuild/modules/rust.py830 # user does not control the test harness, so make things easy and allowCOMMENT
Cross-Language Confusion5 hits · 28 pts
SeverityFileLineSnippetContext
HIGHunittests/linuxliketests.py2142 'undefined,address': 'address,undefined',STRING
HIGHmesonbuild/mdevenv.py257 mlog.warning('To fix that, use `meson devenv --dump dev.env && source dev.env`')CODE
HIGHmesonbuild/interpreter/compiler.py487 value_msg = '(undefined)' if value is None else valueCODE
HIGHmesonbuild/interpreter/interpreter.py1486 # If languages were removed as invalid, then return falseCOMMENT
HIGHmesonbuild/linkers/linkers.py908 # We used to emit -undefined,error, but starting with Xcode 15 /COMMENT
Decorative Section Separators4 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMmesonbuild/envconfig.py572# ========================================COMMENT
MEDIUM⚡mesonbuild/compilers/detect.py1484# =============================COMMENT
MEDIUMmesonbuild/compilers/detect.py37# =============================COMMENT
MEDIUMmesonbuild/compilers/detect.py167# ===============COMMENT
Slop Phrases5 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdocs/yaml/functions/configure_file.yaml81 `#mesondefine` statements and variables surrounded by `@` characters, you can also use `'cmake'`CODE
MEDIUMdocs/yaml/functions/configure_file.yaml82 to replace `#cmakedefine` statements and variables with the `${variable}` syntax. Finally you can useCODE
MEDIUMdocs/yaml/functions/configure_file.yaml144 will be prefixed with `#`, you can also use `nasm`, in which case theCODE
LOWmesonbuild/scripts/regen_checker.py22 # We must make sure to recreate it, even if we do not regenerate the solution.COMMENT
LOWmesonbuild/compilers/compilers.py61# Don't forget to update the Language if adding new keys, as well asCOMMENT
AI Structural Patterns11 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/regenerate_docs.py59CODE
LOWmesonbuild/build.py3097CODE
LOWmesonbuild/interpreter/interpreter.py298CODE
LOWmesonbuild/interpreter/interpreter.py1820CODE
LOWmesonbuild/cmake/common.py111CODE
LOWmesonbuild/dependencies/base.py309CODE
LOWmesonbuild/backend/backends.py673CODE
LOWmesonbuild/backend/backends.py764CODE
LOWmesonbuild/modules/cuda.py260CODE
LOWmesonbuild/modules/cuda.py273CODE
LOWmesonbuild/modules/sourceset.py263CODE
AI Response Leakage1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHmesonbuild/interpreterbase/interpreterbase.py671 # it is being used with an old version. I have added check that if bothSTRING
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdocs/markdown/Syntax.md590# WARNING: This example is only valid because of an internalCOMMENT