Repository Analysis

SCons/scons

SCons - a software construction tool

12.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of SCons/scons, a Python project with 2,410 GitHub stars. SynthScan v2.0 examined 532,719 lines of code across 3084 source files, recording 3831 pattern matches distributed across 21 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-08-09
Last Push
2.4K
Stars
Python
Language
532.7K
Lines of Code
3.1K
Files
3.8K
Pattern Hits
2026-08-09
Scan Date
0.22
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 1HIGH 691MEDIUM 97LOW 3042

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 3831 distinct pattern matches across 21 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.

Cross-File Repetition664 hits · 3320 pts
SeverityFileLineSnippetContext
HIGHtest/CommandGenerator.py0import sys with open(sys.argv[1], 'w') as f, open(sys.argv[2], 'r') as ifp: f.write(ifp.read())STRING
HIGHtest/subdir.py0import sys with open(sys.argv[1], 'w') as f, open(sys.argv[2], 'r') as ifp: f.write(ifp.read())STRING
HIGHtest/Default.py0import sys with open(sys.argv[1], 'w') as f, open(sys.argv[2], 'r') as ifp: f.write(ifp.read())STRING
HIGHtest/up-to-date.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/option/option--max-drift.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/question/basic.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/special-filenames.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/multiline.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/Alias/Alias.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/Alias/Depends.py0import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0)STRING
HIGHtest/NodeOps.py0#include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: baSTRING
HIGHtest/CXX/SHCCFLAGS-live.py0#include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: baSTRING
HIGHtest/CXX/SHCXXFLAGS-live.py0#include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: baSTRING
HIGHtest/CXX/CXXFLAGS-live.py0#include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: baSTRING
HIGHtest/NodeOps.py0\ void doit(); int main(int argc, char* argv[]) { doit(); return 0; }STRING
HIGHtest/CC/SHCFLAGS-live.py0\ void doit(); int main(int argc, char* argv[]) { doit(); return 0; }STRING
HIGHtest/CXX/SHCCFLAGS-live.py0\ void doit(); int main(int argc, char* argv[]) { doit(); return 0; }STRING
HIGHtest/CXX/CXXFLAGS-live.py0\ void doit(); int main(int argc, char* argv[]) { doit(); return 0; }STRING
HIGHtest/CXX/SHCXXFLAGS-live.py0\ void doit(); int main(int argc, char* argv[]) { doit(); return 0; }STRING
HIGHtest/CC/SHCCFLAGS-live.py0\ void doit(); int main(int argc, char* argv[]) { doit(); return 0; }STRING
HIGHtest/ESCAPE.py0\ import sys with open(sys.argv[1], 'wb') as ofp: for s in sys.argv[2:]: with open(s, 'rb') as ifp: ofp.write(ifp.read()STRING
HIGHtest/SPAWN.py0\ import sys with open(sys.argv[1], 'wb') as ofp: for s in sys.argv[2:]: with open(s, 'rb') as ifp: ofp.write(ifp.read()STRING
HIGHtest/Fortran/module-subdir.py0\ import sys with open(sys.argv[1], 'wb') as ofp: for s in sys.argv[2:]: with open(s, 'rb') as ifp: ofp.write(ifp.read()STRING
HIGHtest/Object.py0#include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); }STRING
HIGHtest/dependency-cycle.py0#include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); }STRING
HIGHtest/Libs/Library.py0#include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); }STRING
HIGHtest/Libs/LIBPATH.py0#include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); }STRING
HIGHtest/LoadableModule.py0#include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); }STRING
HIGHtest/Libs/SharedLibrary.py0#include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); }STRING
HIGHtest/timestamp-fallback.py0\ scons: `f1.out' is up to date. build(["f2.out"], ["f2.in"]) scons: `f3.out' is up to date. build(["f4.out"], ["f4.in"]STRING
HIGHtest/Removed/SourceSignatures/Old/env.py0\ scons: `f1.out' is up to date. build(["f2.out"], ["f2.in"]) scons: `f3.out' is up to date. build(["f4.out"], ["f4.in"]STRING
HIGHtest/Removed/SourceSignatures/Old/basic.py0\ scons: `f1.out' is up to date. build(["f2.out"], ["f2.in"]) scons: `f3.out' is up to date. build(["f4.out"], ["f4.in"]STRING
HIGHtest/same-name.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/Program.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/Program-j.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/expansion.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/Repository/LIBPATH.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/VariantDir/VariantDir.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/option/tree-derived.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/option/debug-includes.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/option/tree-all.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/option/option--Y.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/LINK/LINK.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/LINK/LINKFLAGS.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/long-lines/live.py0#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exiSTRING
HIGHtest/Program.py0#include <stdio.h> void f2a(void) { printf("f2a.c\n"); }STRING
HIGHtest/Libs/Library.py0#include <stdio.h> void f2a(void) { printf("f2a.c\n"); }STRING
HIGHtest/Libs/SharedLibrary.py0#include <stdio.h> void f2a(void) { printf("f2a.c\n"); }STRING
HIGHtest/Program.py0#include <stdio.h> void f2b(void) { printf("f2b.c\n"); }STRING
HIGHtest/Libs/Library.py0#include <stdio.h> void f2b(void) { printf("f2b.c\n"); }STRING
HIGHtest/Libs/SharedLibrary.py0#include <stdio.h> void f2b(void) { printf("f2b.c\n"); }STRING
HIGHtest/Program.py0#include <stdio.h> void f3a(void) { printf("f3a.c\n"); }STRING
HIGHtest/Libs/Library.py0#include <stdio.h> void f3a(void) { printf("f3a.c\n"); }STRING
HIGHtest/Libs/SharedLibrary.py0#include <stdio.h> void f3a(void) { printf("f3a.c\n"); }STRING
HIGHtest/Program.py0#include <stdio.h> void f3b(void) { printf("f3b.c\n"); }STRING
HIGHtest/Libs/Library.py0#include <stdio.h> void f3b(void) { printf("f3b.c\n"); }STRING
HIGHtest/Libs/SharedLibrary.py0#include <stdio.h> void f3b(void) { printf("f3b.c\n"); }STRING
HIGHtest/DVIPDF/DVIPDF.py0import os import sys import getopt cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', []) base_name = os.path.splitext(STRING
HIGHtest/DVIPDF/DVIPDFFLAGS.py0import os import sys import getopt cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', []) base_name = os.path.splitext(STRING
HIGHtest/DVIPS/DVIPS.py0import os import sys import getopt cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', []) base_name = os.path.splitext(STRING
604 more matches not shown…
Over-Commented Block1838 hits · 1828 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# No dependencies for running SConsCOMMENT
LOWrequirements-dev.txt1# Dependencies for development - mainly for running testsCOMMENT
LOWlgtm.yml1##########################################################################################COMMENT
LOWlgtm.yml21 - testingCOMMENT
LOWlgtm.yml41 template:COMMENT
LOWlgtm.yml61#########################################################################################COMMENT
LOWlgtm.yml81 # packages:COMMENT
LOWlgtm.yml101 # prepare:COMMENT
LOWlgtm.yml121 - lxml==4.6.3COMMENT
LOW.travis.yml21COMMENT
LOWbench/dependency-func.py1#!/usr/bin/env pythonCOMMENT
LOWbench/lvars-gvars.py1# MIT LicenseCOMMENT
LOWbench/bench.py1#!/usr/bin/env pythonCOMMENT
LOWbench/bench.py81COMMENT
LOWbench/env.__setitem__.py1#!/usr/bin/env pythonCOMMENT
LOWbench/env.__setitem__.py101# overhead so our timing focuses on just the __setitem__() performance.COMMENT
LOWbench/is_types.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/SCons_Bars.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/hundred/TimeSCons-run.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/CPPPATH/TimeSCons-run.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/Java/TimeSCons-run.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/ElectricCloud/TimeSCons-run.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/ElectricCloud/genscons.pl1#!/usr/bin/perlCOMMENT
LOWtimings/ElectricCloud/genscons.pl21# without specific prior written permission.COMMENT
LOWtimings/JTimer/TimeSCons-run.py1#!/usr/bin/env pythonCOMMENT
LOWtimings/JTimer/TimeSCons-run.py41import TestSConsCOMMENT
LOWtest/skip-execution.py1#!/usr/bin/env pythonCOMMENT
LOWtest/Delete.py1#!/usr/bin/env pythonCOMMENT
LOWtest/ParseDepends.py1#!/usr/bin/env pythonCOMMENT
LOWtest/NoClean.py1#!/usr/bin/env pythonCOMMENT
LOWtest/PRINT_CMD_LINE_FUNC.py1#!/usr/bin/env pythonCOMMENT
LOWtest/import.py1#!/usr/bin/env pythonCOMMENT
LOWtest/CommandGenerator.py1#!/usr/bin/env pythonCOMMENT
LOWtest/leaky-handles.py1#!/usr/bin/env pythonCOMMENT
LOWtest/up-to-date.py1#!/usr/bin/env pythonCOMMENT
LOWtest/_CPPINCFLAGS.py1#!/usr/bin/env pythonCOMMENT
LOWtest/NodeOps.py1#!/usr/bin/env pythonCOMMENT
LOWtest/Copy-Symlinks.py1#!/usr/bin/env pythonCOMMENT
LOWtest/gnutools.py1#!/usr/bin/env pythonCOMMENT
LOWtest/WhereIs.py1#!/usr/bin/env pythonCOMMENT
LOWtest/diskcheck.py1#!/usr/bin/env pythonCOMMENT
LOWtest/issue2821.py1#!/usr/bin/env pythonCOMMENT
LOWtest/ESCAPE.py1#!/usr/bin/env pythonCOMMENT
LOWtest/ValidateOptions.py1# MIT LicenseCOMMENT
LOWtest/Clone-compatibility.py1#!/usr/bin/env pythonCOMMENT
LOWtest/Command.py1#!/usr/bin/env pythonCOMMENT
LOWtest/preserve-source.py1#!/usr/bin/env pythonCOMMENT
LOWtest/TARGETS.py1#!/usr/bin/env pythonCOMMENT
LOWtest/ENV.py1#!/usr/bin/env pythonCOMMENT
LOWtest/Flatten.py1#!/usr/bin/env pythonCOMMENT
LOWtest/SCONS_LIB_DIR.py1#!/usr/bin/env pythonCOMMENT
LOWtest/duplicate-sources.py1#!/usr/bin/env pythonCOMMENT
LOWtest/AlwaysBuild.py1#!/usr/bin/env pythonCOMMENT
LOWtest/strfunction.py1#!/usr/bin/env pythonCOMMENT
LOWtest/subdivide.py1#!/usr/bin/env pythonCOMMENT
LOWtest/warning-TargetNotBuiltWarning.py1#!/usr/bin/env pythonCOMMENT
LOWtest/file-names.py1#!/usr/bin/env pythonCOMMENT
LOWtest/file-names.py21# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BECOMMENT
LOWtest/Chmod.py1#!/usr/bin/env pythonCOMMENT
LOWtest/Object.py1#!/usr/bin/env pythonCOMMENT
1778 more matches not shown…
Unused Imports391 hits · 366 pts
SeverityFileLineSnippetContext
LOWruntest.py20CODE
LOWbench/bench.py48CODE
LOWbench/bench.py48CODE
LOWbench/bench.py55CODE
LOWbench/benchmark_subst.py12CODE
LOWbench/benchmark_subst.py14CODE
LOWbench/benchmark_subst.py14CODE
LOWbench/env.__setitem__.py34CODE
LOWbench/is_types.py32CODE
LOWbench/is_types.py34CODE
LOWbench/is_types.py34CODE
LOWtimings/ElectricCloud/TimeSCons-run.py26CODE
LOWtimings/ElectricCloud/TimeSCons-run.py71CODE
LOWtest/Execute.py29CODE
LOWtest/LoadableModule.py29CODE
LOWtest/PharLap.py28CODE
LOWtest/timestamp-fallback.py41CODE
LOWtest/Program.py27CODE
LOWtest/packaging/option--package-type.py34CODE
LOWtest/Repository/within-repository.py26CODE
LOWtest/Repository/absolute-path.py27CODE
LOWtest/Repository/variants.py27CODE
LOWtest/Repository/variants.py28CODE
LOWtest/Repository/link-object.py26CODE
LOWtest/Repository/top-level-path.py27CODE
LOWtest/Repository/SConscript.py30CODE
LOWtest/Repository/multi-dir.py26CODE
LOWtest/Repository/include.py26CODE
LOWtest/Repository/Program.py26CODE
LOWtest/Repository/CPPPATH.py26CODE
LOWtest/Repository/no-repository.py26CODE
LOWtest/Parallel/multiple-parents.py37CODE
LOWtest/Parallel/failed-build/failed-build.py35CODE
LOWtest/MSVC/msvc_badversion.py30CODE
LOWtest/MSVC/MSVC_UWP_APP.py33CODE
LOWtest/LEX/live_mingw.py30CODE
LOWtest/LEX/LEXFLAGS.py26CODE
LOWtest/Configure/basic.py30CODE
LOWtest/Configure/basic.py31CODE
LOW…ython_scanner/from_import_simple_package_module1_as.py5CODE
LOW…ure/python_scanner/import_simple_package_module1_as.py5CODE
LOW…anner/from_import_simple_package_modules_with_space.py5CODE
LOW…anner/from_import_simple_package_modules_with_space.py5CODE
LOW…hon_scanner/from_import_simple_package_module1_func.py5CODE
LOWtest/fixture/python_scanner/imports_nested3.py5CODE
LOWtest/fixture/python_scanner/imports_simple_package.py5CODE
LOWtest/fixture/python_scanner/imports_unknown_files.py5CODE
LOWtest/fixture/python_scanner/imports_unknown_files.py6CODE
LOWtest/fixture/python_scanner/imports_unknown_files.py7CODE
LOWtest/fixture/python_scanner/imports_unknown_files.py7CODE
LOWtest/fixture/python_scanner/imports_unknown_files.py7CODE
LOW…e/python_scanner/from_import_simple_package_module1.py5CODE
LOW…fixture/python_scanner/from_nested1_import_multiple.py5CODE
LOW…fixture/python_scanner/from_nested1_import_multiple.py5CODE
LOW…scanner/from_import_simple_package_modules_no_space.py5CODE
LOW…scanner/from_import_simple_package_modules_no_space.py5CODE
LOW…ixture/python_scanner/import_simple_package_module1.py5CODE
LOW…sted1/nested2/nested3/imports_parent_then_submodule.py5CODE
LOW…/nested1/nested2/nested3/imports_grandparent_module.py5CODE
LOW…anner/nested1/nested2/nested3/imports_parent_module.py5CODE
331 more matches not shown…
Hyper-Verbose Identifiers355 hits · 333 pts
SeverityFileLineSnippetContext
LOWbench/benchmark_subst.py51def benchmark_action_in_subst():STRING
LOWbench/benchmark_subst.py88def benchmark_repeated_callables():STRING
LOWbench/env.__setitem__.py161 def is_valid_construction_var(self, varstr):CODE
LOWtest/Parallel/multiple-parents.py67def simulate_keyboard_interrupt(target=None, source=None, env=None):CODE
LOWtest/MSVC/MSVC_TOOLSET_VERSION.py49def get_toolset_buildseries_version(toolset_version):CODE
LOWtest/MSVC/MSVC_TOOLSET_VERSION.py56def get_latest_buildseries_version(v):CODE
LOWtest/option/debug-action-timestamps.py49def test_presence_of_debug_time_strings(build_output):CODE
LOWtest/option/debug-action-timestamps.py55def test_equal_number_of_debug_time_strings(build_output):CODE
LOWtest/option/debug-action-timestamps.py64def test_correctness_of_timestamps(build_output):CODE
LOWtest/ZIP/ZIP_OVERRIDE_TIMESTAMP.py36def zipfile_get_file_datetime(zipfilename, fname):CODE
LOWSCons/ActionTests.py1548 def test_get_contents_of_function_action(self) -> None:CODE
LOWSCons/ActionTests.py1987 def test_get_contents_of_function_action(self) -> None:CODE
LOWSCons/ActionTests.py2360 def test_uncaught_exception_bubbles(self):CODE
LOWSCons/SubstTests.py550 def test_subst_callable_expansion(self) -> None:CODE
LOWSCons/SubstTests.py559 def test_subst_callable_with_default_expansion(self) -> None:CODE
LOWSCons/SubstTests.py568 def test_subst_partial_callable_with_default_expansion(self) -> None:CODE
LOWSCons/SubstTests.py578 def test_subst_partial_callable_with_no_default_expansion(self) -> None:CODE
LOWSCons/SubstTests.py588 def test_subst_attribute_errors(self):CODE
LOWSCons/SubstTests.py622 def test_subst_balance_errors(self):CODE
LOWSCons/SubstTests.py698 def test_subst_overriding_gvars(self) -> None:CODE
LOWSCons/SubstTests.py706 def test_subst_builtins_not_leaked(self) -> None:CODE
LOWSCons/SubstTests.py718 def test_subst_overrides_does_not_mutate_lvars(self) -> None:CODE
LOWSCons/SubstTests.py727 def test_subst_callable_no_signature(self) -> None:CODE
LOWSCons/SubstTests.py763 def test_subst_overriding_lvars_overrides(self) -> None:CODE
LOWSCons/SubstTests.py1088 def test_subst_attribute_errors(self):CODE
LOWSCons/SubstTests.py1135 def test_subst_list_overriding_gvars(self) -> None:CODE
LOWSCons/SubstTests.py1159 def test_subst_list_overriding_lvars_overrides(self) -> None:CODE
LOWSCons/SubstTests.py1178 def test_subst_list_empty_value_no_empty_word(self) -> None:CODE
LOWSCons/SubstTests.py1184 def test_subst_list_name_error_includes_key(self) -> None:CODE
LOWSCons/SubstTests.py1197 def test_subst_list_builtins_not_leaked(self) -> None:CODE
LOWSCons/DefaultsTests.py87 def test__defines_no_target_or_source_arg(self) -> None:CODE
LOWSCons/CacheDirTests.py161 def test_throws_correct_when_failed_to_write_configfile(self) -> None:CODE
LOWSCons/CacheDirTests.py195 def test_raise_environment_error_on_invalid_json(self) -> None:CODE
LOWSCons/ExecutorTests.py184 def test_get_build_scanner_path(self) -> None:CODE
LOWSCons/ExecutorTests.py443 def test_get_unignored_sources(self) -> None:CODE
LOWSCons/SConsign.py61def current_sconsign_filename():CODE
LOWSCons/Action.py1142 def _get_implicit_deps_lightweight(self, target, source, env, executor: Executor | None):CODE
LOWSCons/Action.py1163 def _get_implicit_deps_heavyweight(self, target, source, env, executor: Executor | None,CODE
LOWSCons/BuilderTests.py601 def test_src_suffix_expansion(self) -> None:CODE
LOWSCons/BuilderTests.py1257 def test_emitter_preserve_builder(self) -> None:CODE
LOWSCons/BuilderTests.py1313 def test_emitter_function_list(self) -> None:CODE
LOWSCons/BuilderTests.py1522 def test_multiple_suffix_error(self) -> None:CODE
LOWSCons/Environment.py158def copy_non_reserved_keywords(dict_: dict[str, Any]) -> dict[str, Any]:CODE
LOWSCons/Environment.py1854 def _changed_timestamp_then_content(CODE
LOWSCons/Defaults.py705def __lib_either_version_flag(env, version_var1, version_var2, flags_var):CODE
LOWSCons/Subst.py372def _check_callable_subst_args(s) -> bool:CODE
LOWSCons/Subst.py392def _callable_matches_subst_args(s) -> bool:CODE
LOWSCons/Executor.py503 def _get_unignored_sources_key(self, node, ignore=()):CODE
LOWSCons/Taskmaster/TaskmasterTests.py544 def test_make_ready_out_of_date(self) -> None:CODE
LOWSCons/Taskmaster/TaskmasterTests.py591 def test_make_ready_exception(self) -> None:CODE
LOWSCons/Taskmaster/TaskmasterTests.py725 def test_next_top_level_candidate(self) -> None:CODE
LOWSCons/Taskmaster/TaskmasterTests.py1081 def test_cached_execute_target_unlink_fails(self) -> None:CODE
LOWSCons/Taskmaster/__init__.py265 def executed_without_callbacks(self) -> None:CODE
LOWSCons/Taskmaster/__init__.py729 def _validate_pending_children(self) -> None:CODE
LOWSCons/Taskmaster/JobTests.py233 def all_tasks_are_postprocessed(self):CODE
LOWSCons/Util/envs.py391def is_valid_construction_var(varstr: str) -> bool:CODE
LOWSCons/Util/envsTests.py159 def test_is_valid_construction_var(self) -> None:CODE
LOWSCons/Util/UtilTests.py661 def test_wait_for_process_to_die_success_psutil(self) -> None:STRING
LOWSCons/Util/UtilTests.py664 def test_wait_for_process_to_die_success_non_psutil(self) -> None:STRING
LOWSCons/Util/hashesTests.py159 def test_basic_failover_bad_hashlib_hash_init(self) -> None:CODE
295 more matches not shown…
Deep Nesting243 hits · 224 pts
SeverityFileLineSnippetContext
LOWruntest.py764CODE
LOWruntest.py888CODE
LOWbench/dependency-func.py44CODE
LOWtest/Parallel/failed-build/fixture/teststate.py23CODE
LOWtest/Parallel/failed-build/fixture/teststate.py31CODE
LOWtest/MSVC/MSVC_UWP_APP.py84CODE
LOWtest/MSVC/MSVC_UWP_APP.py86CODE
LOWtest/fixture/mylex.py27CODE
LOWtest/fixture/mygcc.py22CODE
LOWtest/AS/fixture/myas.py31CODE
LOWtest/YACC/YACCFLAGS-fixture/myyacc.py23CODE
LOWtest/YACC/YACCFLAGS-fixture/myyacc.py46CODE
LOWbin/update_copyright.py142CODE
LOWbin/update_copyright.py275CODE
LOWbin/time-scons.py214CODE
LOWbin/docs-update-generated.py31CODE
LOWbin/SConsDoc.py436CODE
LOWbin/Command.py93CODE
LOWbin/SConsExamples.py286CODE
LOWbin/SConsExamples.py303CODE
LOWbin/SConsExamples.py339CODE
LOWbin/SConsExamples.py426CODE
LOWbin/SConsExamples.py810CODE
LOWbin/install_scons.py100CODE
LOWbin/scons-proc.py58CODE
LOWbin/check_new_contributors.py37CODE
LOWbin/scons-time.py247CODE
LOWbin/scons-time.py731CODE
LOWbin/scons-time.py773CODE
LOWbin/scons-time.py894CODE
LOWbin/scons-time.py1014CODE
LOWbin/scons-time.py1152CODE
LOWbin/scons-time.py1390CODE
LOWbin/scons_dev_master.py112CODE
LOWbin/calibrate.py33CODE
LOWbin/scons-diff.py85CODE
LOWbin/scons-diff.py144CODE
LOWSCons/SubstTests.py269CODE
LOWSCons/PathList.py124CODE
LOWSCons/Warnings.py220CODE
LOWSCons/Warnings.py239CODE
LOWSCons/SConsign.py74CODE
LOWSCons/Action.py174CODE
LOWSCons/Action.py655CODE
LOWSCons/Action.py1163CODE
LOWSCons/Builder.py242CODE
LOWSCons/Builder.py284CODE
LOWSCons/Builder.py755CODE
LOWSCons/Debug.py85CODE
LOWSCons/Environment.py222CODE
LOWSCons/Environment.py692CODE
LOWSCons/Environment.py855CODE
LOWSCons/Environment.py1005CODE
LOWSCons/Environment.py1205CODE
LOWSCons/Environment.py1533CODE
LOWSCons/Environment.py1606CODE
LOWSCons/Environment.py1720CODE
LOWSCons/Environment.py1883CODE
LOWSCons/Environment.py2114CODE
LOWSCons/Environment.py2217CODE
183 more matches not shown…
Self-Referential Comments60 hits · 168 pts
SeverityFileLineSnippetContext
MEDIUMbench/benchmark_subst.py94# Create a callable to useCOMMENT
MEDIUMtest/Parallel/duplicate-children.py53# Create a file "foo.in" in the current directory before running scons.COMMENT
MEDIUMtest/SWIG/build-dir.py63# Create the build environment.COMMENT
MEDIUMtest/Java/JAR.py385# Create the jars then extract them back to check contentsSTRING
MEDIUMtest/option/option-n.py160# Creating the node won't cause "build/f4.in" to be created fromSTRING
MEDIUMtest/Libs/SharedLibraryIxes.py84# The following functions define all the different ways that one canCOMMENT
MEDIUMtest/Libs/SharedLibraryIxes.py189# Create the list of all possible permutations to test.COMMENT
MEDIUMtest/gettext/POInit/UserExamples.py40# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/POUpdate/UserExamples.py47# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/POUpdate/UserExamples.py72# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/POUpdate/UserExamples.py97# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/POUpdate/UserExamples.py123# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/POUpdate/UserExamples.py148# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/MOFiles/UserExamples.py40# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/MOFiles/UserExamples.py65# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/MOFiles/UserExamples.py91# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/gettext/MOFiles/UserExamples.py116# This file is distributed under the same license as the PACKAGE package.COMMENT
MEDIUMtest/Interactive/implicit-VariantDir.py47# Create the top-level SConstruct fileCOMMENT
MEDIUMtest/Interactive/implicit-VariantDir.py65# Create the src/SConscript fileSTRING
MEDIUMSCons/ActionTests.py25# Define a null function and a null class for use as builder actions.COMMENT
MEDIUMSCons/SConsign.py156 # Create an object attribute from the class attribute so it ends upCOMMENT
MEDIUMSCons/cpp.py68# Create a table that maps each individual C preprocessor directive toCOMMENT
MEDIUMSCons/cpp.py80# Create a list of the expressions we'll use to match all of theCOMMENT
MEDIUMSCons/cpp.py220 # Create a dictionary that maps the macro arguments to theCOMMENT
MEDIUMSCons/BuilderTests.py28# Define a null function for use as a builder action.COMMENT
MEDIUMSCons/Executor.py347 # Create the build environment instance with appropriateCOMMENT
MEDIUMSCons/Executor.py645 # The following methods require morphing this Null Executor to aCOMMENT
MEDIUMSCons/Taskmaster/Job.py179 """This class is used to execute tasks in series, and is more efficientSTRING
MEDIUMSCons/Taskmaster/Job.py271 """This class is responsible for spawning and managing worker threads."""STRING
MEDIUMSCons/Taskmaster/Job.py344 """This class is used to execute tasks in parallel, and is somewhatSTRING
MEDIUMSCons/Platform/PlatformTests.py301 # Create an instance of object derived class to allow setattrbCOMMENT
MEDIUMSCons/Script/ScriptTests.py29# This module is for specific bits of functionality that seem worthCOMMENT
MEDIUMSCons/Script/MainTests.py31# This module is for specific bits of functionality that we can testCOMMENT
MEDIUMSCons/Variables/__init__.py389 # Create the file and write out the headerCOMMENT
MEDIUMSCons/Node/__init__.py466 # Create an object attribute from the class attribute so it ends upCOMMENT
MEDIUMSCons/Node/FS.py1123 # The following methods can get called before the Taskmaster hasSTRING
MEDIUMSCons/Scanner/FortranTests.py440 # Create a derived file in a directory that does not exist yet.STRING
MEDIUMSCons/Scanner/CTests.py396 # Create a derived file in a directory that does not exist yet.COMMENT
MEDIUMSCons/Scanner/IDLTests.py378 # Create a derived file in a directory that does not exist yet.STRING
MEDIUMSCons/Tool/link.py64 # This module isn't really a Tool on its own, it's common logic forCOMMENT
MEDIUMSCons/Tool/tex.py894 # Define an action to run BibTeX on a file.COMMENT
MEDIUMSCons/Tool/tex.py899 # Define an action to run Biber on a file.COMMENT
MEDIUMSCons/Tool/tex.py904 # Define an action to run MakeIndex on a file.COMMENT
MEDIUMSCons/Tool/tex.py909 # Define an action to run MakeIndex on a file for nomenclatures.COMMENT
MEDIUMSCons/Tool/tex.py914 # Define an action to run MakeIndex on a file for glossaries.COMMENT
MEDIUMSCons/Tool/tex.py919 # Define an action to run MakeIndex on a file for acronyms.COMMENT
MEDIUMSCons/Tool/zip.xml69# Create the stuff.zip file.COMMENT
MEDIUMSCons/Tool/tar.xml68# Create the stuff.tar file.COMMENT
MEDIUMSCons/Tool/msvsTests.py678 # Create the cmdargs test listSTRING
MEDIUMSCons/Tool/packaging/msi.py190 # Create a document with the Wix root tagCOMMENT
MEDIUMSCons/Tool/packaging/msi.py199 # Create the contentCOMMENT
MEDIUMSCons/Tool/packaging/msi.py455 # Create the needed DOM nodes and add them at the correct position in the tree.STRING
MEDIUMSCons/Tool/MSCommon/vcTests.py125 # Create the VC minor/major version fileCOMMENT
MEDIUMSCons/Tool/MSCommon/common.py523 # Create a blank environment, for use in launching the toolsCOMMENT
MEDIUMSCons/Tool/docbook/__init__.py257# Creating the instance of our XML dependency scannerCOMMENT
MEDIUMtesting/framework/TestCmd.py6# This module is free software, and you may redistribute it and/or modifyCOMMENT
MEDIUMtesting/framework/TestCmdTests.py5# This module is free software, and you may redistribute it and/or modifyCOMMENT
MEDIUMtesting/framework/TestCommon.py6# This module is free software, and you may redistribute it and/or modifyCOMMENT
MEDIUMtesting/framework/TestCommonTests.py5# This module is free software, and you may redistribute it and/or modifyCOMMENT
MEDIUMdoc/sphinx/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
Excessive Try-Catch Wrapping88 hits · 100 pts
SeverityFileLineSnippetContext
LOWbench/benchmark_subst.py137 except Exception as e:STRING
LOWtest/Docbook/basedir/htmlhelp/htmlhelp.py41except Exception:CODE
LOWtest/Docbook/basedir/slideshtml/slideshtml.py43except Exception:CODE
LOWtest/Docbook/basedir/slideshtml/image/xsltver.py19 except Exception:CODE
LOWtest/Docbook/basedir/htmlchunked/htmlchunked.py41except Exception:CODE
LOWtest/Docbook/rootname/htmlhelp/htmlhelp.py41except Exception:CODE
LOWtest/Docbook/rootname/slideshtml/slideshtml.py43except Exception:CODE
LOWtest/Docbook/rootname/slideshtml/image/xsltver.py19 except Exception:CODE
LOWtest/Docbook/rootname/htmlchunked/htmlchunked.py41except Exception:CODE
LOWtest/Docbook/basic/man/man.py35except Exception:CODE
LOWtest/Docbook/basic/xinclude/xinclude.py35except Exception:CODE
LOWtest/Docbook/basic/htmlhelp/htmlhelp.py35except Exception:CODE
LOWtest/Docbook/basic/slideshtml/slideshtml.py43except Exception:CODE
LOWtest/Docbook/basic/slideshtml/image/xsltver.py19 except Exception:CODE
LOWtest/Docbook/basic/pdf/pdf.py39except Exception:CODE
LOWtest/Docbook/basic/html/html.py35except Exception:CODE
LOWtest/Docbook/basic/slidespdf/slidespdf.py47except Exception:CODE
LOWtest/Docbook/basic/xsltsubdir/xsltsubdir.py35except Exception:CODE
LOWtest/Docbook/basic/xslt/xslt.py35except Exception:CODE
LOWtest/Docbook/basic/htmlchunked/htmlchunked.py35except Exception:CODE
LOWtest/Docbook/basic/epub/epub.py35except Exception:CODE
LOWtest/Docbook/dependencies/xinclude/xinclude.py35except Exception:CODE
LOWbin/update_copyright.py139 except Exception as e:CODE
LOWbin/update_copyright.py272 except Exception as e:CODE
MEDIUMbin/update_copyright.py115def update_xml_file(file_path):CODE
LOWbin/docs-update-generated.py49 except Exception:CODE
LOWbin/SConsDoc.py174 except Exception:STRING
LOWbin/SConsDoc.py359 except Exception as e:STRING
LOWbin/SConsDoc.py374 except Exception as e:STRING
MEDIUMbin/SConsExamples.py394 print(f"Error: Example in file '{fpath}' is missing a name.")CODE
MEDIUMbin/SConsExamples.py403 print(f"Error: scons_output in file '{fpath}' is missing an example name.")CODE
MEDIUMbin/SConsExamples.py407 print(f"Error: scons_output in file '{fpath}' is referencing non-existent example '{n}'.")CODE
MEDIUMbin/SConsExamples.py415 print(f"Error: scons_output in file '{fpath}' (example '{n}') is missing a suffix.")CODE
MEDIUMbin/SConsExamples.py421 print(f"Error: scons_output in file '{fpath}' (example '{n}') is using a duplicate suffix '{s}'.")CODE
LOWbin/scons-proc.py64 except Exception as e:STRING
LOWbin/scons-proc.py75 except Exception as e:STRING
MEDIUMbin/check_new_contributors.py33 print(f"Error running git command: {' '.join(args)}")CODE
MEDIUMbin/check_new_contributors.py94 print(f"Error: Tag '{args.tag}' not found.")CODE
LOWSCons/ActionTests.py2366 except Exception:CODE
LOWSCons/SubstTests.py282 except Exception as e:CODE
LOWSCons/SConsign.py271 except Exception as e:CODE
LOWSCons/SConsign.py349 except Exception:CODE
LOWSCons/Action.py1442 except Exception as e:CODE
LOWSCons/SConf.py346 except Exception as e:CODE
LOWSCons/SConf.py439 except Exception as e:CODE
MEDIUMSCons/SConf.py434def force_build(dependency, target, prev_ni,CODE
LOWSCons/Subst.py460 except Exception as e:CODE
LOWSCons/Subst.py648 except Exception as e:CODE
LOWSCons/CacheDir.py180 except Exception:CODE
LOWSCons/CacheDir.py246 except Exception: # we tried, don't worry about itCODE
LOWSCons/EnvironmentTests.py1692 except Exception as e:CODE
LOWSCons/EnvironmentTests.py2487 except Exception as e:CODE
LOWSCons/Taskmaster/TaskmasterTests.py879 except Exception as exc_actually_caught:CODE
LOWSCons/Taskmaster/TaskmasterTests.py934 except Exception as e:CODE
LOWSCons/Taskmaster/Job.py214 except Exception:CODE
LOWSCons/Taskmaster/Job.py219 except Exception:CODE
LOWSCons/Taskmaster/Job.py262 except Exception:CODE
LOWSCons/Taskmaster/Job.py390 except Exception:CODE
LOWSCons/Taskmaster/Job.py419 except Exception:CODE
LOWSCons/Taskmaster/Job.py639 except Exception:CODE
28 more matches not shown…
Cross-Language Confusion18 hits · 100 pts
SeverityFileLineSnippetContext
HIGHtest/Repository/RMIC.py136 if (System.getSecurityManager() == null) {CODE
HIGHtest/Repository/RMIC.py175 if (System.getSecurityManager() == null) {CODE
HIGHtest/Repository/RMIC.py256 if (System.getSecurityManager() == null) {CODE
HIGHtest/Repository/RMIC.py295 if (System.getSecurityManager() == null) {CODE
HIGHtest/Java/RMIC.py163 if (System.getSecurityManager() == null) {CODE
HIGHtest/Java/RMIC.py202 if (System.getSecurityManager() == null) {CODE
HIGHtest/Java/RMIC.py252 if (System.getSecurityManager() == null) {CODE
HIGHtest/Java/RMIC.py291 if (System.getSecurityManager() == null) {CODE
HIGHtest/Java/multi-step.py510 if ( value.equals("") )CODE
HIGHtest/gettext/POUpdate/UserExamples.py112"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "CODE
HIGHtest/gettext/MOFiles/UserExamples.py80"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "CODE
HIGHSCons/CacheDir.py398 return self.push(node)CODE
HIGHSCons/Tool/JavaCommonTests.py254 if (System.getSecurityManager() == null) {CODE
HIGHSCons/Tool/MSCommon/vc.py2065 # version not supported return falseCOMMENT
HIGHSCons/Tool/MSCommon/vc.py2436 # use script undefined, use_settings defined and not None (type checked)COMMENT
HIGHSCons/Tool/MSCommon/vc.py2439 # use script undefined, use_settings undefined or NoneCOMMENT
HIGHSCons/Tool/ninja_tool/UtilsTests.py60 self.assertEqual(cmd, f"mkdir -p build && gcc -c -o {self.target[0]} {self.source[0]}")CODE
HIGHsite_scons/scons_local_package.py112 "cd %s && tar %s $( ${TARGET.abspath} $) *" % (build_local_dir, tar_cargs),CODE
Modern Structural Boilerplate54 hits · 54 pts
SeverityFileLineSnippetContext
LOWSCons/SConfTests.py198 def set_state(self, state) -> None:CODE
LOWSCons/SConsign.py207 def set_entry(self, filename, obj) -> None:CODE
LOWSCons/Builder.py684 def set_suffix(self, suffix) -> None:CODE
LOWSCons/Builder.py695 def set_src_suffix(self, src_suffix) -> None:CODE
LOWSCons/BuilderTests.py177 def set_explicit(self, is_explicit) -> None:CODE
LOWSCons/BuilderTests.py193 def set_executor(self, executor: Executor) -> None:CODE
LOWSCons/Environment.py168def _set_reserved(env: EnvironmentBase, key: str, value) -> None:CODE
LOWSCons/Environment.py173def _set_future_reserved(env: EnvironmentBase, key: str, value) -> None:CODE
LOWSCons/Environment.py198def _set_SCANNERS(env: EnvironmentBase, key: str, value) -> None:CODE
LOWSCons/Environment.py1585 def _update_onlynew(self, other: dict[str, Any]) -> None:CODE
LOWSCons/Environment.py3213 def _update_onlynew(self, other) -> None:CODE
LOWSCons/SConf.py78def _set_conftest_node(node) -> None:CODE
LOWSCons/SConf.py189 def set_build_result(self, result, string) -> None:CODE
LOWSCons/Executor.py654 def set_action_list(self, action) -> None:CODE
LOWSCons/compat/win32.py25__all__ = ['get_current_process', 'get_memory_info', 'get_memory_usage', 'get_peak_memory_usage']CODE
LOWSCons/Taskmaster/TaskmasterTests.py185 def set_state(self, state) -> None:CODE
LOWSCons/Taskmaster/TaskmasterTests.py188 def set_bsig(self, bsig) -> None:CODE
LOWSCons/Taskmaster/TaskmasterTests.py191 def set_csig(self, csig) -> None:CODE
LOWSCons/Taskmaster/Job.py124 def _setup_sig_handler(self) -> None:CODE
LOWSCons/Util/__init__.py247 def set_mode(self, mode) -> None:CODE
LOWSCons/Util/hashes.py65def _set_allowed_viable_default_hashes(hashlib_used, sys_used=sys) -> None:CODE
LOWSCons/Script/SConsOptions.py149 def set_option(self, name: str, value) -> None:CODE
LOWSCons/Script/Main.py722def _set_debug_values(options) -> None:CODE
LOWSCons/Variables/BoolVariable.py41__all__ = ['BoolVariable',]CODE
LOWSCons/Variables/PackageVariable.py61__all__ = ['PackageVariable',]CODE
LOWSCons/Variables/__init__.py51__all__ = [CODE
LOWSCons/Variables/ListVariable.py64__all__ = ['ListVariable',]CODE
LOWSCons/Variables/PathVariable.py83__all__ = ['PathVariable',]CODE
LOWSCons/Variables/EnumVariable.py52__all__ = ['EnumVariable',]CODE
LOWSCons/Node/__init__.py1253 def set_precious(self, precious: bool = True) -> None:CODE
LOWSCons/Node/__init__.py1257 def set_pseudo(self, pseudo: bool = True) -> None:CODE
LOWSCons/Node/__init__.py1261 def set_noclean(self, noclean: bool = True) -> None:CODE
LOWSCons/Node/__init__.py1265 def set_nocache(self, nocache: bool = True) -> None:CODE
LOWSCons/Node/__init__.py1269 def set_always_build(self, always_build: bool = True) -> None:CODE
LOWSCons/Node/__init__.py656 def set_executor(self, executor: Executor) -> None:CODE
LOWSCons/Node/__init__.py918 def set_explicit(self, is_explicit: bool) -> None:CODE
LOWSCons/Node/__init__.py1352 def set_specific_source(self, source: list[Node]) -> None:CODE
LOWSCons/Node/__init__.py1435 def set_state(self, state: int) -> None:CODE
LOWSCons/Node/FS.py282def set_duplicate(duplicate: str) -> None:STRING
LOWSCons/Node/FS.py471def set_diskcheck(enabled_checkers) -> None:STRING
LOWSCons/Node/FS.py823 def set_local(self) -> None:STRING
LOWSCons/Node/FS.py856 def set_src_builder(self, builder: BuilderBase) -> None:STRING
LOWSCons/Node/FS.py1282 def set_SConstruct_dir(self, dir: DirNode) -> None:STRING
LOWSCons/Node/FS.py1288 def set_max_drift(self, max_drift: int) -> None:STRING
LOWSCons/Tool/packaging/__init__.py39__all__ = [CODE
LOWSCons/Tool/MSCommon/sdk.py308def set_sdk_by_directory(env, sdk_dir) -> None:CODE
LOWSCons/Tool/MSCommon/MSVC/SetupEnvDefault.py109def set_nodefault() -> None:CODE
LOWSCons/Tool/ninja_tool/Methods.py80def set_build_node_callback(env, node, callback) -> None:CODE
LOWtesting/framework/TestSConsign.py98 def set_sconsign(self, sconsign) -> None:CODE
LOWtesting/framework/TestCmd.py351__all__ = [CODE
LOWtesting/framework/TestCmd.py1246 def set_diff_function(self, diff=_Null, stdout=_Null, stderr=_Null) -> None:CODE
LOWtesting/framework/TestCmd.py1324 def set_match_function(self, match=_Null, stdout=_Null, stderr=_Null) -> None:CODE
LOWtesting/framework/TestCommonTests.py78 def set_up_execution_scripts(self) -> None:CODE
LOWtesting/framework/TestUnit/__init__.py1__all__ = ['TAPTestRunner', 'TAPTestResult', 'run']CODE
Docstring Block Structure9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHruntest.py212Special positive-int type for :mod:`argparse`. Args: arg: The argument string to convert. Returns: STRING
HIGHbin/check_new_contributors.py16Runs a git command and returns its output as a string. Args: args: A list of strings representing the git cSTRING
HIGHSCons/Environment.py1924Return construction variables from an environment. Args: args (optional): construction variable namesSTRING
HIGHSCons/Script/SConscript.py583Execute SCons configuration files. Parameters: *ls (str or list): configuration file(s) to execute.STRING
HIGHSCons/Tool/MSCommon/vc.py1546 Find the MSVC product directory using the vswhere program. Args: msvc_version: MSVC version to search for STRING
HIGHSCons/Tool/MSCommon/vc.py1621 Find the MSVC product directory using the registry. Args: msvc_version: MSVC version to search for ReSTRING
HIGHSCons/Tool/MSCommon/vc.py1722Find the MSVC product directory for the given version. Args: msvc_version: str msvc version (maSTRING
HIGHSCons/Tool/MSCommon/vc.py1764Find the MSVC product directory for the given version. Args: msvc_version: str msvc version (maSTRING
HIGHSCons/Tool/MSCommon/vc.py2704 Return an msvc version and a toolset version given a version specification. This is an EXPERIMENTAL proxy STRING
Decorative Section Separators15 hits · 35 pts
SeverityFileLineSnippetContext
MEDIUMtest/Mkdir.py151#----------------------------------------STRING
MEDIUMtest/TEX/configure.py47#----------------COMMENT
MEDIUMtest/VariantDir/include-subdir.py41#-------------------------------------------------------------------------------COMMENT
MEDIUMtest/VariantDir/include-subdir.py44#-------------------------------------------------------------------------------COMMENT
MEDIUMtest/VariantDir/removed-files.py44#-------------------------------------------------------------------------------COMMENT
MEDIUMtest/VariantDir/removed-files.py47#-------------------------------------------------------------------------------COMMENT
MEDIUMtest/VariantDir/removed-files.py70#-------------------------------------------------------------------------------STRING
MEDIUMtest/VariantDir/removed-files.py72#-------------------------------------------------------------------------------STRING
MEDIUMtest/VariantDir/removed-files.py89#-------------------------------------------------------------------------------STRING
MEDIUMtest/VariantDir/removed-files.py91#-------------------------------------------------------------------------------STRING
MEDIUMSCons/Taskmaster/JobTests.py390#---------------------------------------------------------------------COMMENT
MEDIUMSCons/Taskmaster/JobTests.py547#---------------------------------------------------------------------COMMENT
MEDIUM…/Tool/docbook/docbook-xsl-1.76.1/extensions/docbook.py17# ======================================================================COMMENT
MEDIUM…/Tool/docbook/docbook-xsl-1.76.1/extensions/docbook.py216# ======================================================================COMMENT
MEDIUM…ons/Tool/docbook/docbook-xsl-1.76.1/extensions/xslt.py51# ======================================================================COMMENT
AI Slop Vocabulary22 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMbench/env.__setitem__.py117# The env_Best subclass contains the "best practices" from each ofCOMMENT
MEDIUMtest/Repository/RMIC.py58# it's just not state-of-the-art anymore.COMMENT
MEDIUMtest/Java/RMIC.py91# it's just not state-of-the-art anymore.STRING
LOWtest/Java/JARCHDIR.py87# we're going to just create the t.class file in both locations, andSTRING
MEDIUMtest/option/option-n.py172# test Configure-calls in conjunction with -nSTRING
MEDIUMtest/option/option--wuv.py35# future with a more robust getopt solution.COMMENT
LOWbin/SConsExamples.py648# now, so let's just use the simple brute force approach for the moment.COMMENT
LOWbin/scons-time.py371 # so just return it.COMMENT
LOWSCons/ActionTests.py70# for each test, they can just use the one.COMMENT
LOWSCons/BuilderTests.py63# for each test, they can just use the one.COMMENT
LOWSCons/Subst.py321 subst_proxy = thing # probably a string, just return itCODE
LOWSCons/Subst.py350 return node # probably a String, just return itCODE
LOWSCons/Util/__init__.py1383 # If no formatter found, just use default:COMMENT
LOWSCons/Platform/__init__.py216 # just return the raw command line and let the upperCOMMENT
LOWSCons/Script/SConscript.py242 # Do the sensible thing and just use theCOMMENT
LOWSCons/Variables/ListVariableTests.py122 # first, the one we just set upCOMMENT
LOWSCons/Node/FS.py1057 # We can't just use self.srcnode() straight away becauseSTRING
LOWSCons/Scanner/Prog.py67 # There are no LIBS in this environment, so just return a null list:COMMENT
LOWSCons/Tool/__init__.py184 # TODO: any reason to not just use find_spec here?COMMENT
LOWSCons/Tool/docbook/__init__.py294 # No, so simply pass target and source names throughCOMMENT
MEDIUM…ons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.html1439<p><code class="literal">Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;&#894CODE
MEDIUM…ons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.html2715<p><code class="literal">Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/xalan2/.classes/com/&#894CODE
Redundant / Tautological Comments24 hits · 30 pts
SeverityFileLineSnippetContext
LOWbench/time_member.py44# Print the resultsCOMMENT
LOWtest/option/debug-action-timestamps.py65 # Check if difference between timestamps is equal to durationCOMMENT
LOWbin/SConsExamples.py323 # Write fileCOMMENT
LOWbin/SConsExamples.py333 # Write fileCOMMENT
LOWbin/SConsExamples.py367 # Write fileCOMMENT
LOWbin/scons-proc.py170 # Write fileSTRING
LOWSCons/Conftest.py98LogInputFiles = 1 # Set that to log the input files in case of a failed testSTRING
LOWSCons/Conftest.py99LogErrorMessages = 1 # Set that to log Conftest-generated error messagesSTRING
LOWSCons/Environment.py1625 # Check if the original looks like a dict: has .update?COMMENT
LOWSCons/Environment.py1635 # Check if the original is a list: has .append?COMMENT
LOWSCons/Environment.py2132 # Check if the original looks like a dict: has .update?COMMENT
LOWSCons/Environment.py2142 # Check if the added value is a list: has .append?COMMENT
LOWSCons/Util/__init__.py1377 # Check if suitable formatter for current logger exists:COMMENT
LOWSCons/Platform/__init__.py236 # Check if we already created the temporary file for this targetCOMMENT
LOWSCons/Script/Main.py578 # Check if parent dir to JSON_OUTPUT_FILE existsCOMMENT
LOWSCons/Node/FS.py3433 # Check if either string is now in dmap.STRING
LOWSCons/Node/FS.py3448 # Check if either string is now in dmap.STRING
LOWSCons/Tool/tar.xml73# Set TARFLAGS to create a gzip-filtered archive.COMMENT
LOWSCons/Tool/intelc.py431 # Check if we are on 64-bit linux, default to 64 then.STRING
LOWSCons/Tool/xgettext.py148 # Print message employing SCons.Action.Action for that.COMMENT
LOWSCons/Tool/xgettext.py156 # Print message employing SCons.Action.Action for that.COMMENT
LOWSCons/Tool/docbook/__init__.py56# Set this to True, to prefer xsltproc over lxmlCOMMENT
LOW…l/docbook/docbook-xsl-1.76.1/webhelp/docsrc/readme.xml422# Set this to false if you don't need a search tab.COMMENT
LOW…k/docbook-xsl-1.76.1/webhelp/docs/content/ch02s01.html89# Set this to false if you don't need a search tab.COMMENT
AI Structural Patterns17 hits · 16 pts
SeverityFileLineSnippetContext
LOWSCons/Conftest.py637CODE
LOWSCons/Action.py617CODE
LOWSCons/Builder.py379CODE
LOWSCons/Errors.py80CODE
LOWSCons/SConf.py1103CODE
LOWSCons/Scanner/__init__.py142CODE
LOWSCons/Tool/tex.py495CODE
LOWSCons/Tool/dvipdf.py68CODE
LOWSCons/Tool/dvips.py42CODE
LOWSCons/Tool/pdftex.py49CODE
LOWSCons/Tool/msvsTests.py580CODE
LOWSCons/Tool/msvsTests.py586CODE
LOWtesting/framework/TestSConsMSVS.py917CODE
LOWtesting/framework/TestSConsMSVS.py1197CODE
LOWtesting/framework/TestSConsMSVS.py1140CODE
LOWtesting/framework/TestCmd.py1078CODE
LOWtesting/framework/TestCmdTests.py152CODE
Verbosity Indicators7 hits · 13 pts
SeverityFileLineSnippetContext
LOWbin/scons-proc.py401# Step 1: Creating entity files for builders, functions,...COMMENT
LOWbin/scons-proc.py407# Step 2: Validating all input filesCOMMENT
LOWbin/scons-proc.py415# Step 3: Creating actual documentation snippets, using theCOMMENT
LOWSCons/Tool/compilation_db.xml146<!-- This variable stores the action for building a target.-->CODE
LOWSCons/Tool/compilation_db.xml154<!-- This variable stores the action for building a target.-->CODE
LOWSCons/Tool/compilation_db.xml162<!-- This variable stores the action for building a target.-->CODE
LOWSCons/Tool/compilation_db.xml170<!-- This variable stores the action for building a target.-->CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALSCons/Tool/MSCommon/vcTests.py75 SCons.Tool.MSCommon.vc._VSWhereExecutable.reset()CODE
Slop Phrases8 hits · 8 pts
SeverityFileLineSnippetContext
LOWSCons/Tool/ninja_tool/Utils.py244 # and make sure to escape the strings to handle spaces in paths. We also will sort the resultCOMMENT
LOWSCons/Tool/docbook/docbook-xsl-1.76.1/html/param.xml6526stylsheet, don't forget to specify alsoCODE
LOW…/docbook/docbook-xsl-1.76.1/params/tex.math.in.alt.xml54stylsheet, don't forget to specify alsoCODE
LOWSCons/Tool/docbook/docbook-xsl-1.76.1/fo/param.xml1775stylsheet, don't forget to specify alsoCODE
LOWdoc/man/scons.xml3725 print("Don't forget to test the `foo' program!")CODE
LOWdoc/man/scons.xml3749 print("Don't forget to test the `foo' program!")CODE
LOWdoc/man/scons.xml3776 print("Don't forget to test the `foo' program!")CODE
LOWdoc/user/command-line.xml2168 print("Don't forget to copy `bar' to the archive!")CODE
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMSCons/Tool/GettextCommon.py376CODE
MEDIUMSCons/Tool/GettextCommon.py391CODE
MEDIUMSCons/Tool/GettextCommon.py406CODE
MEDIUMSCons/Tool/GettextCommon.py421CODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…mplate/common/jquery/treeview/jquery.treeview.async.js33 text:"placeholder",CODE
LOW…mplate/common/jquery/treeview/jquery.treeview.async.js34 id:"placeholder",CODE
LOW…p/docs/common/jquery/treeview/jquery.treeview.async.js33 text:"placeholder",CODE
LOW…p/docs/common/jquery/treeview/jquery.treeview.async.js34 id:"placeholder",CODE
LOW…ocbook/docbook-xsl-1.76.1/roundtrip/template-pages.xml2<sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa" xmlns:sf="http://developer.apple.com/namespaces/sf" xCODE
LOW…ocbook/docbook-xsl-1.76.1/roundtrip/template-pages.xml2<sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa" xmlns:sf="http://developer.apple.com/namespaces/sf" xCODE
LOWtesting/framework/TestRuntest.py88__developer__ = 'John Doe'CODE
LOWtesting/framework/TestSCons_time.py302 tarinfo.uname = 'fake_user'STRING
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOWbin/scons-proc.py401# Step 1: Creating entity files for builders, functions,...COMMENT
LOWbin/scons-proc.py407# Step 2: Validating all input filesCOMMENT
LOWbin/scons-proc.py415# Step 3: Creating actual documentation snippets, using theCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWSCons/EnvironmentTests.py2277 def my_function(myenv, flags, unique: bool=True) -> None:CODE
LOWSCons/Scanner/DTests.py225 def helper(self, filename, headers) -> None:STRING