Repository Analysis

mesonbuild/meson

The Meson Build System

12.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of mesonbuild/meson, a Python project with 6,576 GitHub stars. SynthScan v2.0 examined 193,652 lines of code across 3110 source files, recording 2394 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 12.6 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

12.6
Adjusted Score
12.6
Raw Score
100%
Time Factor
2026-07-13
Last Push
6.6K
Stars
Python
Language
193.7K
Lines of Code
3.1K
Files
2.4K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 12HIGH 28MEDIUM 64LOW 2290

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2394 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers875 hits · 705 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.py1403def check_meson_commands_work(use_tmpdir: bool, extra_args: T.List[str]) -> None:CODE
LOWunittests/baseplatformtests.py367 def get_meson_log_compiler_checks(self):CODE
LOWunittests/baseplatformtests.py378 def get_meson_log_sanitychecks(self):CODE
LOWunittests/datatests.py64 def test_compiler_options_documented(self):CODE
LOWunittests/datatests.py98 def test_builtin_options_documented(self):CODE
LOWunittests/datatests.py175 def test_cpu_families_documented(self):CODE
LOWunittests/datatests.py188 def test_markdown_files_in_sitemap(self):CODE
LOWunittests/datatests.py222 def test_vim_syntax_highlighting(self):CODE
LOWunittests/datatests.py240 def test_all_functions_defined_in_ast_interpreter(self):CODE
LOWunittests/machinefiletests.py745 def test_needs_exe_wrapper_true(self):STRING
LOWunittests/machinefiletests.py755 def test_needs_exe_wrapper_false(self):STRING
LOWunittests/machinefiletests.py765 def test_needs_exe_wrapper_true_wrapper(self):STRING
LOWunittests/machinefiletests.py1017 def test_external_property_build_machine_native(self):STRING
LOWunittests/machinefiletests.py1023 def test_external_property_host_machine_native(self):STRING
LOWunittests/machinefiletests.py1029 def test_external_property_build_machine_cross(self):STRING
LOWunittests/machinefiletests.py104 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.py124 def helper_create_binary_wrapper(self, binary, dir_=None, extra_args=None, **kwargs):STRING
LOWunittests/machinefiletests.py188 def test_multiple_native_files_override(self):STRING
LOWunittests/machinefiletests.py220 def test_multiple_native_files(self):STRING
LOWunittests/machinefiletests.py394 def _single_implementation_compiler(self, lang: str, binary: str, version_str: str, version: str) -> None:STRING
LOWunittests/machinefiletests.py454 def test_native_file_dirs_overridden(self):STRING
LOWunittests/machinefiletests.py487 def test_user_options_command_line_overrides(self):STRING
LOWunittests/machinefiletests.py492 def test_user_options_subproject(self):STRING
LOWunittests/machinefiletests.py552 def test_builtin_options_conf_overrides_env(self):STRING
LOWunittests/machinefiletests.py565 def test_builtin_options_subprojects(self):STRING
LOWunittests/machinefiletests.py588 def test_builtin_options_machinefile_overrides_subproject(self):STRING
LOWunittests/machinefiletests.py601 def test_builtin_options_machinefile_global_loses_over_subproject(self):STRING
LOWunittests/machinefiletests.py607 def test_builtin_options_compiler_properties(self):STRING
LOWunittests/machinefiletests.py625 def test_builtin_options_compiler_properties_legacy(self):STRING
LOWunittests/machinefiletests.py643 def test_builtin_options_paths(self):STRING
LOWunittests/machinefiletests.py661 def test_builtin_options_paths_legacy(self):STRING
LOWunittests/machinefiletests.py678 def test_bindgen_clang_arguments(self) -> None:STRING
LOWunittests/machinefiletests.py782 def test_cross_exe_passed_no_wrapper(self):STRING
LOWunittests/machinefiletests.py798 def test_cross_file_system_paths(self):STRING
LOWunittests/machinefiletests.py872 def test_cross_file_dirs_overridden(self):STRING
LOWunittests/machinefiletests.py890 def test_cross_file_dirs_chain(self):STRING
LOWunittests/machinefiletests.py932 def test_builtin_options_per_machine(self):STRING
LOWunittests/machinefiletests.py972 def test_builtin_options_conf_overrides_env(self):STRING
LOWunittests/machinefiletests.py1056 def test_project_options_native_only(self) -> None:STRING
LOWunittests/machinefiletests.py1074 def test_bindgen_finds_target_in_clang_options(self) -> None:STRING
LOWunittests/cargotests.py104 def test_semver_has_prerelease(self) -> None:CODE
LOWunittests/cargotests.py417 def test_cargo_toml_ws_package(self) -> None:STRING
LOWunittests/cargotests.py444 def test_cargo_toml_ws_dependency(self) -> None:STRING
LOWunittests/cargotests.py528 def test_cargo_toml_lints_to_args(self) -> None:STRING
LOWunittests/cargotests.py544 def test_cargo_toml_dependencies(self) -> None:STRING
LOWunittests/cargotests.py598 def test_cargo_toml_proc_macro(self) -> None:STRING
LOWunittests/cargotests.py650 def test_cargo_toml_system_deps(self) -> None:STRING
LOWunittests/optiontests.py320 def test_backend_option_pending(self):CODE
LOWunittests/optiontests.py326 def test_reconfigure_b_nonexistent(self):CODE
LOWunittests/optiontests.py330 def test_unconfigure_nonexistent(self):CODE
LOWunittests/optiontests.py335 def test_subproject_proj_opt_with_same_name(self):CODE
LOWunittests/optiontests.py579 def test_sanitize_prefix_cygwin_host(self):CODE
LOWunittests/optiontests.py588 def test_sanitize_dir_option_cross_to_windows(self):CODE
LOWunittests/optiontests.py598 def test_sanitize_dir_option_cross_to_linux(self):CODE
LOWunittests/optiontests.py608 def test_sanitize_prefix_native_path(self):CODE
LOWunittests/optiontests.py60 def test_subproject_system_option(self):CODE
LOWunittests/optiontests.py93 def test_subproject_for_system(self):CODE
815 more matches not shown…
Unused Imports599 hits · 562 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/datatests.py33CODE
LOWunittests/machinefiletests.py4CODE
LOWunittests/machinefiletests.py44CODE
LOWunittests/cargotests.py4CODE
LOWunittests/cargotests.py14CODE
LOWunittests/cargotests.py17CODE
LOWunittests/optiontests.py4CODE
LOWunittests/allplatformstests.py5CODE
LOWunittests/allplatformstests.py19CODE
LOWunittests/allplatformstests.py71CODE
LOWunittests/linuxcrosstests.py17CODE
LOWunittests/darwintests.py23CODE
LOWunittests/failuretests.py4CODE
LOWunittests/failuretests.py28CODE
LOWunittests/internaltests.py39CODE
LOWunittests/internaltests.py49CODE
LOWunittests/internaltests.py53CODE
LOWunittests/subprojectscommandtests.py18CODE
LOWunittests/pythontests.py12CODE
LOWunittests/rewritetests.py15CODE
LOWunittests/rewritetests.py15CODE
LOWunittests/helpers.py4CODE
LOWunittests/linuxliketests.py50CODE
LOWunittests/windowstests.py22CODE
LOWunittests/windowstests.py36CODE
LOWunittests/platformagnostictests.py5CODE
LOWunittests/platformagnostictests.py18CODE
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.py29CODE
539 more matches not shown…
Deep Nesting414 hits · 358 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.py38CODE
LOWunittests/machinefiletests.py64CODE
LOWunittests/machinefiletests.py104CODE
LOWunittests/machinefiletests.py247CODE
LOWunittests/machinefiletests.py369CODE
LOWunittests/machinefiletests.py565CODE
LOWunittests/machinefiletests.py798CODE
LOWunittests/machinefiletests.py932CODE
LOWunittests/machinefiletests.py972CODE
LOWunittests/machinefiletests.py370CODE
LOWunittests/allplatformstests.py326CODE
LOWunittests/allplatformstests.py899CODE
LOWunittests/allplatformstests.py1026CODE
LOWunittests/allplatformstests.py1068CODE
LOWunittests/allplatformstests.py1167CODE
LOWunittests/allplatformstests.py1331CODE
LOWunittests/allplatformstests.py1995CODE
LOWunittests/allplatformstests.py2037CODE
LOWunittests/allplatformstests.py2147CODE
LOWunittests/allplatformstests.py2509CODE
LOWunittests/allplatformstests.py2573CODE
LOWunittests/allplatformstests.py2703CODE
LOWunittests/allplatformstests.py3189CODE
LOWunittests/allplatformstests.py3652CODE
LOWunittests/allplatformstests.py4264CODE
LOWunittests/allplatformstests.py4945CODE
LOWunittests/allplatformstests.py3658CODE
LOWunittests/allplatformstests.py4273CODE
LOWunittests/allplatformstests.py4953CODE
LOWunittests/internaltests.py679CODE
LOWunittests/internaltests.py725CODE
LOWunittests/internaltests.py797CODE
LOWunittests/pythontests.py53CODE
LOWunittests/rewritetests.py221CODE
LOWunittests/linuxliketests.py512CODE
LOWunittests/linuxliketests.py835CODE
LOWunittests/platformagnostictests.py98CODE
LOWdocs/genrelnotes.py25CODE
LOWdocs/extensions/refman_links.py50CODE
354 more matches not shown…
Over-Commented Block209 hits · 198 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
149 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.py3348 # 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.py721 # Create a new testdir under tmpdir.COMMENT
MEDIUMdocs/refman/generatormd.py52# This function is designed to be used with `dedent`COMMENT
MEDIUMmesonbuild/build.py1367 # Create an empty commands list, and start adding arguments fromSTRING
MEDIUMmesonbuild/options.py937 # Create a copy of the object, as we're going to mutate itCOMMENT
MEDIUMmesonbuild/coredata.py211# This class contains all data that must persist over multipleCOMMENT
MEDIUMmesonbuild/rewriter.py1017 # Create an empty file if it does not existCOMMENT
MEDIUMmesonbuild/msetup.py35git_ignore_file = '''# This file is autogenerated by Meson. If you change or delete it, it won't be recreated.CODE
MEDIUMmesonbuild/msetup.py39hg_ignore_file = '''# This file is autogenerated by Meson. If you change or delete it, it won't be recreated.STRING
MEDIUMmesonbuild/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.py647 # 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.py276# This class contains the basic functionality that is needed by all backends.COMMENT
MEDIUMmesonbuild/backend/backends.py937 # Create an empty commands list, and start adding arguments fromCOMMENT
MEDIUMmesonbuild/backend/vs2010backend.py514 # Create the solution configurationCOMMENT
MEDIUMmesonbuild/backend/ninjabackend.py3849 # Create an empty commands list, and start adding link arguments fromCOMMENT
MEDIUMmesonbuild/backend/ninjabackend.py4244 # 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.py698 # 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.py312 optval = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('unity'))CODE
CRITICALmesonbuild/backend/ninjabackend.py609 for compiler in self.environment.coredata.compilers.host.values():CODE
CRITICALmesonbuild/backend/ninjabackend.py2941 for lang, c in self.environment.coredata.compilers.host.items():CODE
CRITICALmesonbuild/modules/pkgconfig.py756 compiler = state.environment.coredata.compilers.host.get('d')CODE
CRITICALmesonbuild/modules/python.py120 prefix = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('prefix'))CODE
CRITICALmesonbuild/modules/python.py188 allow_limited_api = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.allow_limitedCODE
CRITICALmesonbuild/modules/python.py228 is_debug = self.interpreter.environment.coredata.optstore.get_value_for('debug')CODE
CRITICALmesonbuild/modules/python.py279 build_config = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.build_config'))CODE
CRITICALmesonbuild/modules/python.py416 optlevel = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.bytecompile'))CODE
CRITICALmesonbuild/modules/python.py482 build_config = self.interpreter.environment.coredata.optstore.get_value_for(OptionKey('python.build_config'))CODE
CRITICALmesonbuild/modules/hotdoc.py320 if self.state.environment.coredata.optstore.get_value_for(OptionKey('werror', subproject=self.state.subproject))CODE
CRITICALmesonbuild/modules/rust.py890 [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.py226 def set_install_subdir(self, subdir: str) -> None:CODE
LOWmesonbuild/build.py950 def _set_vala_args(self, kwargs: BuildTargetKeywordArguments) -> None:STRING
LOWmesonbuild/build.py2217 def _set_vala_args(self, kwargs: BuildTargetKeywordArguments) -> None:STRING
LOWmesonbuild/build.py2439 def set_shared(self, shared_library: SharedLibrary) -> None:STRING
LOWmesonbuild/build.py2803 def set_static(self, static_library: StaticLibrary) -> None:STRING
LOWmesonbuild/options.py598 def set_versions(self, versions: T.List[str], gnu: bool = False, gnu_deprecated: bool = False) -> None:CODE
LOWmesonbuild/options.py796 def set_host_machine(self, machine: MachineInfo) -> None:CODE
LOWmesonbuild/options.py1388 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.py221def set_mode(path: str, mode: T.Optional['FileMode'], default_umask: T.Union[str, int]) -> None:CODE
LOWmesonbuild/minstall.py359 def set_chown(self, *args: T.Any, **kwargs: T.Any) -> None:CODE
LOWmesonbuild/minstall.py363 def set_chmod(self, *args: T.Any, **kwargs: T.Any) -> None:CODE
LOWmesonbuild/minstall.py371 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
LOWmesonbuild/mlog.py99 def set_quiet(self) -> None:CODE
LOWmesonbuild/mlog.py102 def set_verbose(self) -> None:CODE
LOWmesonbuild/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.py341 def _set_default_options_from_env(self) -> None:CODE
LOWmesonbuild/environment.py406 def _set_default_binaries_from_env(self) -> None:CODE
LOWmesonbuild/environment.py425 def _set_default_properties_from_env(self) -> None:CODE
LOWmesonbuild/environment.py658 def update_build_machine(self, compilers: T.Optional[CompilerDict] = None) -> None:CODE
LOWmesonbuild/_pathlib.py27__all__ = [CODE
LOWmesonbuild/mintro.py600def 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.py397 def set_method(self, args: T.Tuple[str, T.Union[str, int, bool]], kwargs: 'kwargs.ConfigurationDataSet') -> None:CODE
LOWmesonbuild/interpreter/interpreterobjects.py404 def set_quoted_method(self, args: T.Tuple[str, str], kwargs: 'kwargs.ConfigurationDataSet') -> None:CODE
LOWmesonbuild/interpreter/__init__.py7__all__ = [CODE
LOWmesonbuild/interpreter/interpreter.py1218 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.py282 def set_opt(self, opt: str, val: str) -> None:CODE
LOWmesonbuild/cmake/common.py293 def set_install(self, install: bool) -> None:CODE
LOWmesonbuild/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.py647 def set_variable(self, varname: str, variable: T.Union[TYPE_var, InterpreterObject], *, holderify: bool = False) -> STRING
LOWmesonbuild/cargo/manifest.py319 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.py39 def set_program_override(pkg_bin: ExternalProgram, for_machine: MachineChoice) -> None:CODE
LOWmesonbuild/dependencies/pkgconfig.py383 def _set_cargs(self) -> None:CODE
LOWmesonbuild/dependencies/pkgconfig.py547 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.py259def set_meson_command(mainfile: str) -> None:CODE
LOWmesonbuild/backend/xcodebackend.py335 def set_arch(self) -> None:CODE
LOWmesonbuild/wrap/wraptool.py213def update_db(options: 'argparse.Namespace') -> None:CODE
8 more matches not shown…
Excessive Try-Catch Wrapping60 hits · 57 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
LOWrun_project_tests.py466 except Exception:CODE
LOWrun_project_tests.py1616 except Exception as e:CODE
MEDIUMrun_project_tests.py1592def setup_symlinks() -> None:CODE
LOWtools/ac_converter.py383 except Exception:STRING
LOWunittests/baseplatformtests.py240 except Exception as e:CODE
LOWunittests/baseplatformtests.py267 except Exception:CODE
LOWunittests/baseplatformtests.py401 except Exception as e:CODE
MEDIUMunittests/baseplatformtests.py162def _get_meson_log(self) -> T.Optional[str]:CODE
LOWunittests/linuxliketests.py569 except Exception:CODE
LOWdocs/validatelinks.py19 except Exception as e:CODE
MEDIUMdocs/validatelinks.py14def fetch(session, name, url, timeout):CODE
LOWmesonbuild/rewriter.py1194 except Exception as e:CODE
LOWmesonbuild/optinterpreter.py106 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.py1028 except Exception as e:CODE
LOWmesonbuild/interpreter/interpreter.py1955 except Exception:CODE
LOWmesonbuild/interpreterbase/interpreterbase.py199 except Exception as e:CODE
LOWmesonbuild/dependencies/cuda.py215 except Exception as e:CODE
LOWmesonbuild/dependencies/cuda.py246 except Exception as e:CODE
LOWmesonbuild/dependencies/detect.py130 except Exception as e:CODE
LOWmesonbuild/utils/universal.py1250 except Exception:STRING
LOWmesonbuild/utils/universal.py1337 except Exception:STRING
LOWmesonbuild/utils/universal.py1746 except Exception as e:STRING
LOWmesonbuild/utils/universal.py1754 except Exception as e:STRING
LOWmesonbuild/utils/universal.py1921 except Exception as e:STRING
LOWmesonbuild/utils/universal.py2002 except Exception as excp:STRING
LOWmesonbuild/backend/ninjabackend.py4018 except Exception:CODE
LOWmesonbuild/backend/ninjabackend.py829 except Exception:STRING
LOWmesonbuild/wrap/wraptool.py200 except Exception:CODE
LOWmesonbuild/wrap/wraptool.py205 except Exception:CODE
LOWmesonbuild/wrap/wrap.py395 except Exception as e:CODE
LOWmesonbuild/wrap/wrap.py608 except Exception:STRING
LOWmesonbuild/wrap/wrap.py885 except Exception as e:STRING
LOWmesonbuild/wrap/wrap.py939 except Exception:STRING
MEDIUMmesonbuild/wrap/wrap.py390def load_netrc(self) -> None:CODE
LOWmesonbuild/scripts/python_info.py100 except Exception:CODE
MEDIUMmesonbuild/scripts/rc.py33 print('Error running preprocessor to find resource dependencies', file=sys.stderr)CODE
LOWmesonbuild/scripts/copy.py17 except Exception:CODE
LOWmesonbuild/scripts/depfixer.py293 except Exception as e:CODE
LOWmesonbuild/scripts/depfixer.py436 except Exception:CODE
LOWmesonbuild/scripts/depfixer.py789 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.py788 except Exception as e:CODE
LOWmesonbuild/compilers/compilers.py1487 except Exception as e:CODE
LOWmesonbuild/modules/_qt.py329 except Exception:CODE
LOWmesonbuild/modules/cmake.py348 except Exception as e:STRING
LOWmesonbuild/modules/fs.py103 except Exception:CODE
Redundant / Tautological Comments40 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
LOWunittests/optiontests.py593 # Set libdir to absolute path inside prefix, should be relativizedCOMMENT
LOWunittests/optiontests.py603 # Set libdir to absolute path inside prefix, should be relativizedCOMMENT
LOWunittests/platformagnostictests.py120 # Check if message is not printed to stdout while configuringCOMMENT
LOWunittests/platformagnostictests.py123 # Check if message is written to the meson logCOMMENT
LOWdocs/yaml/elementary/str.yml239 # Output value is ['hello', 'world']COMMENT
LOWdocs/yaml/elementary/str.yml241 # Output value is []COMMENT
LOWdocs/yaml/elementary/str.yml259 # Output value is 'foo bar'COMMENT
LOWmesonbuild/build.py1411 # Check if we have -fPIC, -fpic, -fPIE, or -fpie in cflagsSTRING
LOWmesonbuild/build.py1640 # Check if any of the external libraries were written in this languageSTRING
LOWmesonbuild/build.py1646 # Check if any of the internal libraries this target links to wereSTRING
LOWmesonbuild/rewriter.py1069 # Write the files backCOMMENT
LOWmesonbuild/arglist.py240 # 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
LOWmesonbuild/cmake/toolchain.py228 # Check if all variables are already cachedSTRING
LOWmesonbuild/interpreterbase/interpreterbase.py355 # 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.py222 # Check if we link with debug binariesCOMMENT
LOWmesonbuild/dependencies/dev.py749 # Check if compiler has a built-in macro definedCOMMENT
LOWmesonbuild/dependencies/base.py469 # Check if dependency version meets the requirementsCOMMENT
LOWmesonbuild/utils/universal.py2560 # Check if it's already short enoughCOMMENT
LOWmesonbuild/utils/universal.py2565 # Check if we have wine >= 6.4COMMENT
LOWmesonbuild/backend/ninjabackend.py1793 # Check if the vala file is in a subdir of --basedirSTRING
LOWmesonbuild/wrap/wrap.py559 # Check if this wrap forces a specific method, use meson otherwise.STRING
LOWmesonbuild/wrap/wrap.py576 # Check if the subproject is a git submoduleSTRING
LOWmesonbuild/compilers/cpp.py103 # Check if it's a C-like symbolCOMMENT
LOWmesonbuild/compilers/cpp.py109 # Check if it's a class or a templateCOMMENT
LOWmesonbuild/compilers/cuda.py560 # Check if it's a C-like symbolSTRING
LOWmesonbuild/compilers/cuda.py573 # Check if it's a class or a templateSTRING
LOWmesonbuild/compilers/compilers.py1000 # Check if not cached, and generate, otherwise get from the cacheCOMMENT
LOWmesonbuild/compilers/mixins/clike.py74 # Check if we need to add --start/end-group for circular dependenciesCOMMENT
LOWmesonbuild/compilers/mixins/clike.py893 # Check if the underscore form of the symbol is somewhereSTRING
LOWmesonbuild/modules/__init__.py105 # Check if pkgconfig has a variableCOMMENT
AI Slop Vocabulary20 hits · 32 pts
SeverityFileLineSnippetContext
LOWmesonbuild/build.py1687 # 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.py587 # 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.py571 # cross-compilation. So if we're doing that, just set the native arch asCOMMENT
LOWmesonbuild/interpreter/compiler.py557 # just pass it to the compiler driverCOMMENT
LOWmesonbuild/backend/backends.py722 # Can't just use exe.name here; it will likely be run more than onceCOMMENT
LOWmesonbuild/backend/backends.py859 # so just return all object files.COMMENT
MEDIUMmesonbuild/backend/vs2010backend.py1250 # Things would be cleaner, more robust, repeatable, and portable if meson (and msvc tools) replaced all this kinCOMMENT
LOWmesonbuild/backend/vs2010backend.py870 # directory lookup, but simply use a string match to find theCOMMENT
LOWmesonbuild/backend/vs2010backend.py1320 # project's NMake... preprocessor/include intellisense fields, we'll just use the first src type we have to COMMENT
LOWmesonbuild/backend/ninjabackend.py3328 # at build-time. Skip scanning for deps, and just set the moduleCOMMENT
LOWmesonbuild/compilers/detect.py1238 # to not work for our uses. So, just use mkstemp and only haveCOMMENT
LOWmesonbuild/compilers/detect.py1280 # to not work for our uses. So, just use mkstemp and only haveCOMMENT
LOWmesonbuild/compilers/rust.py383 # Rust doesn't have dependency compile arguments so simply returnCOMMENT
LOWmesonbuild/compilers/mixins/visualstudio.py327 # MSVC doesn't have __attribute__ like Clang and GCC do, so just returnCOMMENT
LOWmesonbuild/compilers/mixins/clike.py1110 # First try if we can just add the library as -l.STRING
LOWmesonbuild/modules/gnome.py819 # than 1.58, we can just return False if get_version fails.COMMENT
MEDIUMmesonbuild/modules/rust.py793 # user does not control the test harness, so make things easy and allowCOMMENT
Cross-Language Confusion5 hits · 28 pts
SeverityFileLineSnippetContext
HIGHunittests/linuxliketests.py2035 '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.py474 value_msg = '(undefined)' if value is None else valueCODE
HIGHmesonbuild/interpreter/interpreter.py1438 # If languages were removed as invalid, then return falseCOMMENT
HIGHmesonbuild/linkers/linkers.py898 # We used to emit -undefined,error, but starting with Xcode 15 /COMMENT
Decorative Section Separators4 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMmesonbuild/envconfig.py523# ========================================COMMENT
MEDIUMmesonbuild/compilers/detect.py1443# =============================COMMENT
MEDIUMmesonbuild/compilers/detect.py37# =============================COMMENT
MEDIUMmesonbuild/compilers/detect.py161# ===============COMMENT
AI Structural Patterns13 hits · 11 pts
SeverityFileLineSnippetContext
LOWtools/regenerate_docs.py59CODE
LOWmesonbuild/build.py2991CODE
LOWmesonbuild/interpreter/interpreter.py278CODE
LOWmesonbuild/interpreter/interpreter.py1774CODE
LOWmesonbuild/cmake/common.py111CODE
LOWmesonbuild/interpreterbase/decorators.py408CODE
LOWmesonbuild/interpreterbase/decorators.py442CODE
LOWmesonbuild/dependencies/base.py309CODE
LOWmesonbuild/backend/backends.py545CODE
LOWmesonbuild/backend/backends.py636CODE
LOWmesonbuild/modules/cuda.py145CODE
LOWmesonbuild/modules/cuda.py154CODE
LOWmesonbuild/modules/sourceset.py260CODE
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 Response Leakage1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHmesonbuild/interpreterbase/interpreterbase.py678 # 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