SCons - a software construction tool
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/CommandGenerator.py | 0 | import sys with open(sys.argv[1], 'w') as f, open(sys.argv[2], 'r') as ifp: f.write(ifp.read()) | STRING |
| HIGH | test/subdir.py | 0 | import sys with open(sys.argv[1], 'w') as f, open(sys.argv[2], 'r') as ifp: f.write(ifp.read()) | STRING |
| HIGH | test/Default.py | 0 | import sys with open(sys.argv[1], 'w') as f, open(sys.argv[2], 'r') as ifp: f.write(ifp.read()) | STRING |
| HIGH | test/up-to-date.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/option/option--max-drift.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/question/basic.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/special-filenames.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/multiline.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/Alias/Alias.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/Alias/Depends.py | 0 | import sys with open(sys.argv[1], 'wb') as f, open(sys.argv[2], 'rb') as ifp: f.write(ifp.read()) sys.exit(0) | STRING |
| HIGH | test/NodeOps.py | 0 | #include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: ba | STRING |
| HIGH | test/CXX/SHCCFLAGS-live.py | 0 | #include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: ba | STRING |
| HIGH | test/CXX/SHCXXFLAGS-live.py | 0 | #include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: ba | STRING |
| HIGH | test/CXX/CXXFLAGS-live.py | 0 | #include <stdio.h> extern "c" void doit() { #ifdef foo printf("doit.cpp: foo\n"); #endif #ifdef bar printf("doit.cpp: ba | STRING |
| HIGH | test/NodeOps.py | 0 | \ void doit(); int main(int argc, char* argv[]) { doit(); return 0; } | STRING |
| HIGH | test/CC/SHCFLAGS-live.py | 0 | \ void doit(); int main(int argc, char* argv[]) { doit(); return 0; } | STRING |
| HIGH | test/CXX/SHCCFLAGS-live.py | 0 | \ void doit(); int main(int argc, char* argv[]) { doit(); return 0; } | STRING |
| HIGH | test/CXX/CXXFLAGS-live.py | 0 | \ void doit(); int main(int argc, char* argv[]) { doit(); return 0; } | STRING |
| HIGH | test/CXX/SHCXXFLAGS-live.py | 0 | \ void doit(); int main(int argc, char* argv[]) { doit(); return 0; } | STRING |
| HIGH | test/CC/SHCCFLAGS-live.py | 0 | \ void doit(); int main(int argc, char* argv[]) { doit(); return 0; } | STRING |
| HIGH | test/ESCAPE.py | 0 | \ 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 |
| HIGH | test/SPAWN.py | 0 | \ 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 |
| HIGH | test/Fortran/module-subdir.py | 0 | \ 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 |
| HIGH | test/Object.py | 0 | #include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); } | STRING |
| HIGH | test/dependency-cycle.py | 0 | #include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); } | STRING |
| HIGH | test/Libs/Library.py | 0 | #include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); } | STRING |
| HIGH | test/Libs/LIBPATH.py | 0 | #include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); } | STRING |
| HIGH | test/LoadableModule.py | 0 | #include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); } | STRING |
| HIGH | test/Libs/SharedLibrary.py | 0 | #include <stdio.h> void f1(void) { printf("f1.c\n"); fflush(stdout); } | STRING |
| HIGH | test/timestamp-fallback.py | 0 | \ 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 |
| HIGH | test/Removed/SourceSignatures/Old/env.py | 0 | \ 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 |
| HIGH | test/Removed/SourceSignatures/Old/basic.py | 0 | \ 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 |
| HIGH | test/same-name.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/Program.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/Program-j.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/expansion.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/Repository/LIBPATH.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/VariantDir/VariantDir.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/option/tree-derived.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/option/debug-includes.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/option/tree-all.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/option/option--Y.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/LINK/LINK.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/LINK/LINKFLAGS.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/long-lines/live.py | 0 | #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { argv[argc++] = "--"; printf("shared.c\n"); exi | STRING |
| HIGH | test/Program.py | 0 | #include <stdio.h> void f2a(void) { printf("f2a.c\n"); } | STRING |
| HIGH | test/Libs/Library.py | 0 | #include <stdio.h> void f2a(void) { printf("f2a.c\n"); } | STRING |
| HIGH | test/Libs/SharedLibrary.py | 0 | #include <stdio.h> void f2a(void) { printf("f2a.c\n"); } | STRING |
| HIGH | test/Program.py | 0 | #include <stdio.h> void f2b(void) { printf("f2b.c\n"); } | STRING |
| HIGH | test/Libs/Library.py | 0 | #include <stdio.h> void f2b(void) { printf("f2b.c\n"); } | STRING |
| HIGH | test/Libs/SharedLibrary.py | 0 | #include <stdio.h> void f2b(void) { printf("f2b.c\n"); } | STRING |
| HIGH | test/Program.py | 0 | #include <stdio.h> void f3a(void) { printf("f3a.c\n"); } | STRING |
| HIGH | test/Libs/Library.py | 0 | #include <stdio.h> void f3a(void) { printf("f3a.c\n"); } | STRING |
| HIGH | test/Libs/SharedLibrary.py | 0 | #include <stdio.h> void f3a(void) { printf("f3a.c\n"); } | STRING |
| HIGH | test/Program.py | 0 | #include <stdio.h> void f3b(void) { printf("f3b.c\n"); } | STRING |
| HIGH | test/Libs/Library.py | 0 | #include <stdio.h> void f3b(void) { printf("f3b.c\n"); } | STRING |
| HIGH | test/Libs/SharedLibrary.py | 0 | #include <stdio.h> void f3b(void) { printf("f3b.c\n"); } | STRING |
| HIGH | test/DVIPDF/DVIPDF.py | 0 | import os import sys import getopt cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', []) base_name = os.path.splitext( | STRING |
| HIGH | test/DVIPDF/DVIPDFFLAGS.py | 0 | import os import sys import getopt cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', []) base_name = os.path.splitext( | STRING |
| HIGH | test/DVIPS/DVIPS.py | 0 | import 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… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # No dependencies for running SCons | COMMENT |
| LOW | requirements-dev.txt | 1 | # Dependencies for development - mainly for running tests | COMMENT |
| LOW | lgtm.yml | 1 | ########################################################################################## | COMMENT |
| LOW | lgtm.yml | 21 | - testing | COMMENT |
| LOW | lgtm.yml | 41 | template: | COMMENT |
| LOW | lgtm.yml | 61 | ######################################################################################### | COMMENT |
| LOW | lgtm.yml | 81 | # packages: | COMMENT |
| LOW | lgtm.yml | 101 | # prepare: | COMMENT |
| LOW | lgtm.yml | 121 | - lxml==4.6.3 | COMMENT |
| LOW | .travis.yml | 21 | COMMENT | |
| LOW | bench/dependency-func.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | bench/lvars-gvars.py | 1 | # MIT License | COMMENT |
| LOW | bench/bench.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | bench/bench.py | 81 | COMMENT | |
| LOW | bench/env.__setitem__.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | bench/env.__setitem__.py | 101 | # overhead so our timing focuses on just the __setitem__() performance. | COMMENT |
| LOW | bench/is_types.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/SCons_Bars.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/hundred/TimeSCons-run.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/CPPPATH/TimeSCons-run.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/Java/TimeSCons-run.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/ElectricCloud/TimeSCons-run.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/ElectricCloud/genscons.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | timings/ElectricCloud/genscons.pl | 21 | # without specific prior written permission. | COMMENT |
| LOW | timings/JTimer/TimeSCons-run.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | timings/JTimer/TimeSCons-run.py | 41 | import TestSCons | COMMENT |
| LOW | test/skip-execution.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/Delete.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/ParseDepends.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/NoClean.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/PRINT_CMD_LINE_FUNC.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/import.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/CommandGenerator.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/leaky-handles.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/up-to-date.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/_CPPINCFLAGS.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/NodeOps.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/Copy-Symlinks.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/gnutools.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/WhereIs.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/diskcheck.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/issue2821.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/ESCAPE.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/ValidateOptions.py | 1 | # MIT License | COMMENT |
| LOW | test/Clone-compatibility.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/Command.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/preserve-source.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/TARGETS.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/ENV.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/Flatten.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/SCONS_LIB_DIR.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/duplicate-sources.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/AlwaysBuild.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/strfunction.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/subdivide.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/warning-TargetNotBuiltWarning.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/file-names.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/file-names.py | 21 | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | COMMENT |
| LOW | test/Chmod.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | test/Object.py | 1 | #!/usr/bin/env python | COMMENT |
| 1778 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtest.py | 20 | CODE | |
| LOW | bench/bench.py | 48 | CODE | |
| LOW | bench/bench.py | 48 | CODE | |
| LOW | bench/bench.py | 55 | CODE | |
| LOW | bench/benchmark_subst.py | 12 | CODE | |
| LOW | bench/benchmark_subst.py | 14 | CODE | |
| LOW | bench/benchmark_subst.py | 14 | CODE | |
| LOW | bench/env.__setitem__.py | 34 | CODE | |
| LOW | bench/is_types.py | 32 | CODE | |
| LOW | bench/is_types.py | 34 | CODE | |
| LOW | bench/is_types.py | 34 | CODE | |
| LOW | timings/ElectricCloud/TimeSCons-run.py | 26 | CODE | |
| LOW | timings/ElectricCloud/TimeSCons-run.py | 71 | CODE | |
| LOW | test/Execute.py | 29 | CODE | |
| LOW | test/LoadableModule.py | 29 | CODE | |
| LOW | test/PharLap.py | 28 | CODE | |
| LOW | test/timestamp-fallback.py | 41 | CODE | |
| LOW | test/Program.py | 27 | CODE | |
| LOW | test/packaging/option--package-type.py | 34 | CODE | |
| LOW | test/Repository/within-repository.py | 26 | CODE | |
| LOW | test/Repository/absolute-path.py | 27 | CODE | |
| LOW | test/Repository/variants.py | 27 | CODE | |
| LOW | test/Repository/variants.py | 28 | CODE | |
| LOW | test/Repository/link-object.py | 26 | CODE | |
| LOW | test/Repository/top-level-path.py | 27 | CODE | |
| LOW | test/Repository/SConscript.py | 30 | CODE | |
| LOW | test/Repository/multi-dir.py | 26 | CODE | |
| LOW | test/Repository/include.py | 26 | CODE | |
| LOW | test/Repository/Program.py | 26 | CODE | |
| LOW | test/Repository/CPPPATH.py | 26 | CODE | |
| LOW | test/Repository/no-repository.py | 26 | CODE | |
| LOW | test/Parallel/multiple-parents.py | 37 | CODE | |
| LOW | test/Parallel/failed-build/failed-build.py | 35 | CODE | |
| LOW | test/MSVC/msvc_badversion.py | 30 | CODE | |
| LOW | test/MSVC/MSVC_UWP_APP.py | 33 | CODE | |
| LOW | test/LEX/live_mingw.py | 30 | CODE | |
| LOW | test/LEX/LEXFLAGS.py | 26 | CODE | |
| LOW | test/Configure/basic.py | 30 | CODE | |
| LOW | test/Configure/basic.py | 31 | CODE | |
| LOW | …ython_scanner/from_import_simple_package_module1_as.py | 5 | CODE | |
| LOW | …ure/python_scanner/import_simple_package_module1_as.py | 5 | CODE | |
| LOW | …anner/from_import_simple_package_modules_with_space.py | 5 | CODE | |
| LOW | …anner/from_import_simple_package_modules_with_space.py | 5 | CODE | |
| LOW | …hon_scanner/from_import_simple_package_module1_func.py | 5 | CODE | |
| LOW | test/fixture/python_scanner/imports_nested3.py | 5 | CODE | |
| LOW | test/fixture/python_scanner/imports_simple_package.py | 5 | CODE | |
| LOW | test/fixture/python_scanner/imports_unknown_files.py | 5 | CODE | |
| LOW | test/fixture/python_scanner/imports_unknown_files.py | 6 | CODE | |
| LOW | test/fixture/python_scanner/imports_unknown_files.py | 7 | CODE | |
| LOW | test/fixture/python_scanner/imports_unknown_files.py | 7 | CODE | |
| LOW | test/fixture/python_scanner/imports_unknown_files.py | 7 | CODE | |
| LOW | …e/python_scanner/from_import_simple_package_module1.py | 5 | CODE | |
| LOW | …fixture/python_scanner/from_nested1_import_multiple.py | 5 | CODE | |
| LOW | …fixture/python_scanner/from_nested1_import_multiple.py | 5 | CODE | |
| LOW | …scanner/from_import_simple_package_modules_no_space.py | 5 | CODE | |
| LOW | …scanner/from_import_simple_package_modules_no_space.py | 5 | CODE | |
| LOW | …ixture/python_scanner/import_simple_package_module1.py | 5 | CODE | |
| LOW | …sted1/nested2/nested3/imports_parent_then_submodule.py | 5 | CODE | |
| LOW | …/nested1/nested2/nested3/imports_grandparent_module.py | 5 | CODE | |
| LOW | …anner/nested1/nested2/nested3/imports_parent_module.py | 5 | CODE | |
| 331 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/benchmark_subst.py | 51 | def benchmark_action_in_subst(): | STRING |
| LOW | bench/benchmark_subst.py | 88 | def benchmark_repeated_callables(): | STRING |
| LOW | bench/env.__setitem__.py | 161 | def is_valid_construction_var(self, varstr): | CODE |
| LOW | test/Parallel/multiple-parents.py | 67 | def simulate_keyboard_interrupt(target=None, source=None, env=None): | CODE |
| LOW | test/MSVC/MSVC_TOOLSET_VERSION.py | 49 | def get_toolset_buildseries_version(toolset_version): | CODE |
| LOW | test/MSVC/MSVC_TOOLSET_VERSION.py | 56 | def get_latest_buildseries_version(v): | CODE |
| LOW⚡ | test/option/debug-action-timestamps.py | 49 | def test_presence_of_debug_time_strings(build_output): | CODE |
| LOW⚡ | test/option/debug-action-timestamps.py | 55 | def test_equal_number_of_debug_time_strings(build_output): | CODE |
| LOW⚡ | test/option/debug-action-timestamps.py | 64 | def test_correctness_of_timestamps(build_output): | CODE |
| LOW | test/ZIP/ZIP_OVERRIDE_TIMESTAMP.py | 36 | def zipfile_get_file_datetime(zipfilename, fname): | CODE |
| LOW | SCons/ActionTests.py | 1548 | def test_get_contents_of_function_action(self) -> None: | CODE |
| LOW | SCons/ActionTests.py | 1987 | def test_get_contents_of_function_action(self) -> None: | CODE |
| LOW | SCons/ActionTests.py | 2360 | def test_uncaught_exception_bubbles(self): | CODE |
| LOW⚡ | SCons/SubstTests.py | 550 | def test_subst_callable_expansion(self) -> None: | CODE |
| LOW⚡ | SCons/SubstTests.py | 559 | def test_subst_callable_with_default_expansion(self) -> None: | CODE |
| LOW⚡ | SCons/SubstTests.py | 568 | def test_subst_partial_callable_with_default_expansion(self) -> None: | CODE |
| LOW⚡ | SCons/SubstTests.py | 578 | def test_subst_partial_callable_with_no_default_expansion(self) -> None: | CODE |
| LOW⚡ | SCons/SubstTests.py | 588 | def test_subst_attribute_errors(self): | CODE |
| LOW | SCons/SubstTests.py | 622 | def test_subst_balance_errors(self): | CODE |
| LOW | SCons/SubstTests.py | 698 | def test_subst_overriding_gvars(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 706 | def test_subst_builtins_not_leaked(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 718 | def test_subst_overrides_does_not_mutate_lvars(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 727 | def test_subst_callable_no_signature(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 763 | def test_subst_overriding_lvars_overrides(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 1088 | def test_subst_attribute_errors(self): | CODE |
| LOW | SCons/SubstTests.py | 1135 | def test_subst_list_overriding_gvars(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 1159 | def test_subst_list_overriding_lvars_overrides(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 1178 | def test_subst_list_empty_value_no_empty_word(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 1184 | def test_subst_list_name_error_includes_key(self) -> None: | CODE |
| LOW | SCons/SubstTests.py | 1197 | def test_subst_list_builtins_not_leaked(self) -> None: | CODE |
| LOW | SCons/DefaultsTests.py | 87 | def test__defines_no_target_or_source_arg(self) -> None: | CODE |
| LOW | SCons/CacheDirTests.py | 161 | def test_throws_correct_when_failed_to_write_configfile(self) -> None: | CODE |
| LOW | SCons/CacheDirTests.py | 195 | def test_raise_environment_error_on_invalid_json(self) -> None: | CODE |
| LOW | SCons/ExecutorTests.py | 184 | def test_get_build_scanner_path(self) -> None: | CODE |
| LOW | SCons/ExecutorTests.py | 443 | def test_get_unignored_sources(self) -> None: | CODE |
| LOW | SCons/SConsign.py | 61 | def current_sconsign_filename(): | CODE |
| LOW | SCons/Action.py | 1142 | def _get_implicit_deps_lightweight(self, target, source, env, executor: Executor | None): | CODE |
| LOW | SCons/Action.py | 1163 | def _get_implicit_deps_heavyweight(self, target, source, env, executor: Executor | None, | CODE |
| LOW | SCons/BuilderTests.py | 601 | def test_src_suffix_expansion(self) -> None: | CODE |
| LOW | SCons/BuilderTests.py | 1257 | def test_emitter_preserve_builder(self) -> None: | CODE |
| LOW | SCons/BuilderTests.py | 1313 | def test_emitter_function_list(self) -> None: | CODE |
| LOW | SCons/BuilderTests.py | 1522 | def test_multiple_suffix_error(self) -> None: | CODE |
| LOW⚡ | SCons/Environment.py | 158 | def copy_non_reserved_keywords(dict_: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | SCons/Environment.py | 1854 | def _changed_timestamp_then_content( | CODE |
| LOW | SCons/Defaults.py | 705 | def __lib_either_version_flag(env, version_var1, version_var2, flags_var): | CODE |
| LOW | SCons/Subst.py | 372 | def _check_callable_subst_args(s) -> bool: | CODE |
| LOW | SCons/Subst.py | 392 | def _callable_matches_subst_args(s) -> bool: | CODE |
| LOW | SCons/Executor.py | 503 | def _get_unignored_sources_key(self, node, ignore=()): | CODE |
| LOW | SCons/Taskmaster/TaskmasterTests.py | 544 | def test_make_ready_out_of_date(self) -> None: | CODE |
| LOW | SCons/Taskmaster/TaskmasterTests.py | 591 | def test_make_ready_exception(self) -> None: | CODE |
| LOW | SCons/Taskmaster/TaskmasterTests.py | 725 | def test_next_top_level_candidate(self) -> None: | CODE |
| LOW | SCons/Taskmaster/TaskmasterTests.py | 1081 | def test_cached_execute_target_unlink_fails(self) -> None: | CODE |
| LOW | SCons/Taskmaster/__init__.py | 265 | def executed_without_callbacks(self) -> None: | CODE |
| LOW | SCons/Taskmaster/__init__.py | 729 | def _validate_pending_children(self) -> None: | CODE |
| LOW | SCons/Taskmaster/JobTests.py | 233 | def all_tasks_are_postprocessed(self): | CODE |
| LOW | SCons/Util/envs.py | 391 | def is_valid_construction_var(varstr: str) -> bool: | CODE |
| LOW | SCons/Util/envsTests.py | 159 | def test_is_valid_construction_var(self) -> None: | CODE |
| LOW | SCons/Util/UtilTests.py | 661 | def test_wait_for_process_to_die_success_psutil(self) -> None: | STRING |
| LOW | SCons/Util/UtilTests.py | 664 | def test_wait_for_process_to_die_success_non_psutil(self) -> None: | STRING |
| LOW⚡ | SCons/Util/hashesTests.py | 159 | def test_basic_failover_bad_hashlib_hash_init(self) -> None: | CODE |
| 295 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | runtest.py | 764 | CODE | |
| LOW | runtest.py | 888 | CODE | |
| LOW | bench/dependency-func.py | 44 | CODE | |
| LOW | test/Parallel/failed-build/fixture/teststate.py | 23 | CODE | |
| LOW | test/Parallel/failed-build/fixture/teststate.py | 31 | CODE | |
| LOW | test/MSVC/MSVC_UWP_APP.py | 84 | CODE | |
| LOW | test/MSVC/MSVC_UWP_APP.py | 86 | CODE | |
| LOW | test/fixture/mylex.py | 27 | CODE | |
| LOW | test/fixture/mygcc.py | 22 | CODE | |
| LOW | test/AS/fixture/myas.py | 31 | CODE | |
| LOW | test/YACC/YACCFLAGS-fixture/myyacc.py | 23 | CODE | |
| LOW | test/YACC/YACCFLAGS-fixture/myyacc.py | 46 | CODE | |
| LOW | bin/update_copyright.py | 142 | CODE | |
| LOW | bin/update_copyright.py | 275 | CODE | |
| LOW | bin/time-scons.py | 214 | CODE | |
| LOW | bin/docs-update-generated.py | 31 | CODE | |
| LOW | bin/SConsDoc.py | 436 | CODE | |
| LOW | bin/Command.py | 93 | CODE | |
| LOW | bin/SConsExamples.py | 286 | CODE | |
| LOW | bin/SConsExamples.py | 303 | CODE | |
| LOW | bin/SConsExamples.py | 339 | CODE | |
| LOW | bin/SConsExamples.py | 426 | CODE | |
| LOW | bin/SConsExamples.py | 810 | CODE | |
| LOW | bin/install_scons.py | 100 | CODE | |
| LOW | bin/scons-proc.py | 58 | CODE | |
| LOW | bin/check_new_contributors.py | 37 | CODE | |
| LOW | bin/scons-time.py | 247 | CODE | |
| LOW | bin/scons-time.py | 731 | CODE | |
| LOW | bin/scons-time.py | 773 | CODE | |
| LOW | bin/scons-time.py | 894 | CODE | |
| LOW | bin/scons-time.py | 1014 | CODE | |
| LOW | bin/scons-time.py | 1152 | CODE | |
| LOW | bin/scons-time.py | 1390 | CODE | |
| LOW | bin/scons_dev_master.py | 112 | CODE | |
| LOW | bin/calibrate.py | 33 | CODE | |
| LOW | bin/scons-diff.py | 85 | CODE | |
| LOW | bin/scons-diff.py | 144 | CODE | |
| LOW | SCons/SubstTests.py | 269 | CODE | |
| LOW | SCons/PathList.py | 124 | CODE | |
| LOW | SCons/Warnings.py | 220 | CODE | |
| LOW | SCons/Warnings.py | 239 | CODE | |
| LOW | SCons/SConsign.py | 74 | CODE | |
| LOW | SCons/Action.py | 174 | CODE | |
| LOW | SCons/Action.py | 655 | CODE | |
| LOW | SCons/Action.py | 1163 | CODE | |
| LOW | SCons/Builder.py | 242 | CODE | |
| LOW | SCons/Builder.py | 284 | CODE | |
| LOW | SCons/Builder.py | 755 | CODE | |
| LOW | SCons/Debug.py | 85 | CODE | |
| LOW | SCons/Environment.py | 222 | CODE | |
| LOW | SCons/Environment.py | 692 | CODE | |
| LOW | SCons/Environment.py | 855 | CODE | |
| LOW | SCons/Environment.py | 1005 | CODE | |
| LOW | SCons/Environment.py | 1205 | CODE | |
| LOW | SCons/Environment.py | 1533 | CODE | |
| LOW | SCons/Environment.py | 1606 | CODE | |
| LOW | SCons/Environment.py | 1720 | CODE | |
| LOW | SCons/Environment.py | 1883 | CODE | |
| LOW | SCons/Environment.py | 2114 | CODE | |
| LOW | SCons/Environment.py | 2217 | CODE | |
| 183 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bench/benchmark_subst.py | 94 | # Create a callable to use | COMMENT |
| MEDIUM | test/Parallel/duplicate-children.py | 53 | # Create a file "foo.in" in the current directory before running scons. | COMMENT |
| MEDIUM | test/SWIG/build-dir.py | 63 | # Create the build environment. | COMMENT |
| MEDIUM | test/Java/JAR.py | 385 | # Create the jars then extract them back to check contents | STRING |
| MEDIUM | test/option/option-n.py | 160 | # Creating the node won't cause "build/f4.in" to be created from | STRING |
| MEDIUM | test/Libs/SharedLibraryIxes.py | 84 | # The following functions define all the different ways that one can | COMMENT |
| MEDIUM | test/Libs/SharedLibraryIxes.py | 189 | # Create the list of all possible permutations to test. | COMMENT |
| MEDIUM | test/gettext/POInit/UserExamples.py | 40 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/POUpdate/UserExamples.py | 47 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/POUpdate/UserExamples.py | 72 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/POUpdate/UserExamples.py | 97 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/POUpdate/UserExamples.py | 123 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/POUpdate/UserExamples.py | 148 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/MOFiles/UserExamples.py | 40 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/MOFiles/UserExamples.py | 65 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/MOFiles/UserExamples.py | 91 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/gettext/MOFiles/UserExamples.py | 116 | # This file is distributed under the same license as the PACKAGE package. | COMMENT |
| MEDIUM | test/Interactive/implicit-VariantDir.py | 47 | # Create the top-level SConstruct file | COMMENT |
| MEDIUM | test/Interactive/implicit-VariantDir.py | 65 | # Create the src/SConscript file | STRING |
| MEDIUM | SCons/ActionTests.py | 25 | # Define a null function and a null class for use as builder actions. | COMMENT |
| MEDIUM | SCons/SConsign.py | 156 | # Create an object attribute from the class attribute so it ends up | COMMENT |
| MEDIUM | SCons/cpp.py | 68 | # Create a table that maps each individual C preprocessor directive to | COMMENT |
| MEDIUM | SCons/cpp.py | 80 | # Create a list of the expressions we'll use to match all of the | COMMENT |
| MEDIUM | SCons/cpp.py | 220 | # Create a dictionary that maps the macro arguments to the | COMMENT |
| MEDIUM | SCons/BuilderTests.py | 28 | # Define a null function for use as a builder action. | COMMENT |
| MEDIUM | SCons/Executor.py | 347 | # Create the build environment instance with appropriate | COMMENT |
| MEDIUM | SCons/Executor.py | 645 | # The following methods require morphing this Null Executor to a | COMMENT |
| MEDIUM | SCons/Taskmaster/Job.py | 179 | """This class is used to execute tasks in series, and is more efficient | STRING |
| MEDIUM | SCons/Taskmaster/Job.py | 271 | """This class is responsible for spawning and managing worker threads.""" | STRING |
| MEDIUM | SCons/Taskmaster/Job.py | 344 | """This class is used to execute tasks in parallel, and is somewhat | STRING |
| MEDIUM | SCons/Platform/PlatformTests.py | 301 | # Create an instance of object derived class to allow setattrb | COMMENT |
| MEDIUM | SCons/Script/ScriptTests.py | 29 | # This module is for specific bits of functionality that seem worth | COMMENT |
| MEDIUM | SCons/Script/MainTests.py | 31 | # This module is for specific bits of functionality that we can test | COMMENT |
| MEDIUM | SCons/Variables/__init__.py | 389 | # Create the file and write out the header | COMMENT |
| MEDIUM | SCons/Node/__init__.py | 466 | # Create an object attribute from the class attribute so it ends up | COMMENT |
| MEDIUM | SCons/Node/FS.py | 1123 | # The following methods can get called before the Taskmaster has | STRING |
| MEDIUM | SCons/Scanner/FortranTests.py | 440 | # Create a derived file in a directory that does not exist yet. | STRING |
| MEDIUM | SCons/Scanner/CTests.py | 396 | # Create a derived file in a directory that does not exist yet. | COMMENT |
| MEDIUM | SCons/Scanner/IDLTests.py | 378 | # Create a derived file in a directory that does not exist yet. | STRING |
| MEDIUM | SCons/Tool/link.py | 64 | # This module isn't really a Tool on its own, it's common logic for | COMMENT |
| MEDIUM⚡ | SCons/Tool/tex.py | 894 | # Define an action to run BibTeX on a file. | COMMENT |
| MEDIUM⚡ | SCons/Tool/tex.py | 899 | # Define an action to run Biber on a file. | COMMENT |
| MEDIUM⚡ | SCons/Tool/tex.py | 904 | # Define an action to run MakeIndex on a file. | COMMENT |
| MEDIUM⚡ | SCons/Tool/tex.py | 909 | # Define an action to run MakeIndex on a file for nomenclatures. | COMMENT |
| MEDIUM⚡ | SCons/Tool/tex.py | 914 | # Define an action to run MakeIndex on a file for glossaries. | COMMENT |
| MEDIUM⚡ | SCons/Tool/tex.py | 919 | # Define an action to run MakeIndex on a file for acronyms. | COMMENT |
| MEDIUM | SCons/Tool/zip.xml | 69 | # Create the stuff.zip file. | COMMENT |
| MEDIUM | SCons/Tool/tar.xml | 68 | # Create the stuff.tar file. | COMMENT |
| MEDIUM | SCons/Tool/msvsTests.py | 678 | # Create the cmdargs test list | STRING |
| MEDIUM | SCons/Tool/packaging/msi.py | 190 | # Create a document with the Wix root tag | COMMENT |
| MEDIUM | SCons/Tool/packaging/msi.py | 199 | # Create the content | COMMENT |
| MEDIUM | SCons/Tool/packaging/msi.py | 455 | # Create the needed DOM nodes and add them at the correct position in the tree. | STRING |
| MEDIUM | SCons/Tool/MSCommon/vcTests.py | 125 | # Create the VC minor/major version file | COMMENT |
| MEDIUM | SCons/Tool/MSCommon/common.py | 523 | # Create a blank environment, for use in launching the tools | COMMENT |
| MEDIUM⚡ | SCons/Tool/docbook/__init__.py | 257 | # Creating the instance of our XML dependency scanner | COMMENT |
| MEDIUM | testing/framework/TestCmd.py | 6 | # This module is free software, and you may redistribute it and/or modify | COMMENT |
| MEDIUM | testing/framework/TestCmdTests.py | 5 | # This module is free software, and you may redistribute it and/or modify | COMMENT |
| MEDIUM | testing/framework/TestCommon.py | 6 | # This module is free software, and you may redistribute it and/or modify | COMMENT |
| MEDIUM | testing/framework/TestCommonTests.py | 5 | # This module is free software, and you may redistribute it and/or modify | COMMENT |
| MEDIUM | doc/sphinx/conf.py | 6 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/benchmark_subst.py | 137 | except Exception as e: | STRING |
| LOW | test/Docbook/basedir/htmlhelp/htmlhelp.py | 41 | except Exception: | CODE |
| LOW | test/Docbook/basedir/slideshtml/slideshtml.py | 43 | except Exception: | CODE |
| LOW | test/Docbook/basedir/slideshtml/image/xsltver.py | 19 | except Exception: | CODE |
| LOW | test/Docbook/basedir/htmlchunked/htmlchunked.py | 41 | except Exception: | CODE |
| LOW | test/Docbook/rootname/htmlhelp/htmlhelp.py | 41 | except Exception: | CODE |
| LOW | test/Docbook/rootname/slideshtml/slideshtml.py | 43 | except Exception: | CODE |
| LOW | test/Docbook/rootname/slideshtml/image/xsltver.py | 19 | except Exception: | CODE |
| LOW | test/Docbook/rootname/htmlchunked/htmlchunked.py | 41 | except Exception: | CODE |
| LOW | test/Docbook/basic/man/man.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/xinclude/xinclude.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/htmlhelp/htmlhelp.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/slideshtml/slideshtml.py | 43 | except Exception: | CODE |
| LOW | test/Docbook/basic/slideshtml/image/xsltver.py | 19 | except Exception: | CODE |
| LOW | test/Docbook/basic/pdf/pdf.py | 39 | except Exception: | CODE |
| LOW | test/Docbook/basic/html/html.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/slidespdf/slidespdf.py | 47 | except Exception: | CODE |
| LOW | test/Docbook/basic/xsltsubdir/xsltsubdir.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/xslt/xslt.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/htmlchunked/htmlchunked.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/basic/epub/epub.py | 35 | except Exception: | CODE |
| LOW | test/Docbook/dependencies/xinclude/xinclude.py | 35 | except Exception: | CODE |
| LOW | bin/update_copyright.py | 139 | except Exception as e: | CODE |
| LOW | bin/update_copyright.py | 272 | except Exception as e: | CODE |
| MEDIUM | bin/update_copyright.py | 115 | def update_xml_file(file_path): | CODE |
| LOW | bin/docs-update-generated.py | 49 | except Exception: | CODE |
| LOW | bin/SConsDoc.py | 174 | except Exception: | STRING |
| LOW | bin/SConsDoc.py | 359 | except Exception as e: | STRING |
| LOW | bin/SConsDoc.py | 374 | except Exception as e: | STRING |
| MEDIUM⚡ | bin/SConsExamples.py | 394 | print(f"Error: Example in file '{fpath}' is missing a name.") | CODE |
| MEDIUM⚡ | bin/SConsExamples.py | 403 | print(f"Error: scons_output in file '{fpath}' is missing an example name.") | CODE |
| MEDIUM⚡ | bin/SConsExamples.py | 407 | print(f"Error: scons_output in file '{fpath}' is referencing non-existent example '{n}'.") | CODE |
| MEDIUM⚡ | bin/SConsExamples.py | 415 | print(f"Error: scons_output in file '{fpath}' (example '{n}') is missing a suffix.") | CODE |
| MEDIUM⚡ | bin/SConsExamples.py | 421 | print(f"Error: scons_output in file '{fpath}' (example '{n}') is using a duplicate suffix '{s}'.") | CODE |
| LOW | bin/scons-proc.py | 64 | except Exception as e: | STRING |
| LOW | bin/scons-proc.py | 75 | except Exception as e: | STRING |
| MEDIUM | bin/check_new_contributors.py | 33 | print(f"Error running git command: {' '.join(args)}") | CODE |
| MEDIUM | bin/check_new_contributors.py | 94 | print(f"Error: Tag '{args.tag}' not found.") | CODE |
| LOW | SCons/ActionTests.py | 2366 | except Exception: | CODE |
| LOW | SCons/SubstTests.py | 282 | except Exception as e: | CODE |
| LOW | SCons/SConsign.py | 271 | except Exception as e: | CODE |
| LOW | SCons/SConsign.py | 349 | except Exception: | CODE |
| LOW | SCons/Action.py | 1442 | except Exception as e: | CODE |
| LOW | SCons/SConf.py | 346 | except Exception as e: | CODE |
| LOW | SCons/SConf.py | 439 | except Exception as e: | CODE |
| MEDIUM | SCons/SConf.py | 434 | def force_build(dependency, target, prev_ni, | CODE |
| LOW | SCons/Subst.py | 460 | except Exception as e: | CODE |
| LOW | SCons/Subst.py | 648 | except Exception as e: | CODE |
| LOW | SCons/CacheDir.py | 180 | except Exception: | CODE |
| LOW | SCons/CacheDir.py | 246 | except Exception: # we tried, don't worry about it | CODE |
| LOW | SCons/EnvironmentTests.py | 1692 | except Exception as e: | CODE |
| LOW | SCons/EnvironmentTests.py | 2487 | except Exception as e: | CODE |
| LOW | SCons/Taskmaster/TaskmasterTests.py | 879 | except Exception as exc_actually_caught: | CODE |
| LOW | SCons/Taskmaster/TaskmasterTests.py | 934 | except Exception as e: | CODE |
| LOW | SCons/Taskmaster/Job.py | 214 | except Exception: | CODE |
| LOW | SCons/Taskmaster/Job.py | 219 | except Exception: | CODE |
| LOW | SCons/Taskmaster/Job.py | 262 | except Exception: | CODE |
| LOW | SCons/Taskmaster/Job.py | 390 | except Exception: | CODE |
| LOW | SCons/Taskmaster/Job.py | 419 | except Exception: | CODE |
| LOW | SCons/Taskmaster/Job.py | 639 | except Exception: | CODE |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/Repository/RMIC.py | 136 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Repository/RMIC.py | 175 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Repository/RMIC.py | 256 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Repository/RMIC.py | 295 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Java/RMIC.py | 163 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Java/RMIC.py | 202 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Java/RMIC.py | 252 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Java/RMIC.py | 291 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | test/Java/multi-step.py | 510 | if ( value.equals("") ) | CODE |
| HIGH | test/gettext/POUpdate/UserExamples.py | 112 | "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " | CODE |
| HIGH | test/gettext/MOFiles/UserExamples.py | 80 | "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " | CODE |
| HIGH | SCons/CacheDir.py | 398 | return self.push(node) | CODE |
| HIGH | SCons/Tool/JavaCommonTests.py | 254 | if (System.getSecurityManager() == null) { | CODE |
| HIGH | SCons/Tool/MSCommon/vc.py | 2065 | # version not supported return false | COMMENT |
| HIGH | SCons/Tool/MSCommon/vc.py | 2436 | # use script undefined, use_settings defined and not None (type checked) | COMMENT |
| HIGH | SCons/Tool/MSCommon/vc.py | 2439 | # use script undefined, use_settings undefined or None | COMMENT |
| HIGH⚡ | SCons/Tool/ninja_tool/UtilsTests.py | 60 | self.assertEqual(cmd, f"mkdir -p build && gcc -c -o {self.target[0]} {self.source[0]}") | CODE |
| HIGH | site_scons/scons_local_package.py | 112 | "cd %s && tar %s $( ${TARGET.abspath} $) *" % (build_local_dir, tar_cargs), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | SCons/SConfTests.py | 198 | def set_state(self, state) -> None: | CODE |
| LOW | SCons/SConsign.py | 207 | def set_entry(self, filename, obj) -> None: | CODE |
| LOW | SCons/Builder.py | 684 | def set_suffix(self, suffix) -> None: | CODE |
| LOW | SCons/Builder.py | 695 | def set_src_suffix(self, src_suffix) -> None: | CODE |
| LOW | SCons/BuilderTests.py | 177 | def set_explicit(self, is_explicit) -> None: | CODE |
| LOW | SCons/BuilderTests.py | 193 | def set_executor(self, executor: Executor) -> None: | CODE |
| LOW⚡ | SCons/Environment.py | 168 | def _set_reserved(env: EnvironmentBase, key: str, value) -> None: | CODE |
| LOW⚡ | SCons/Environment.py | 173 | def _set_future_reserved(env: EnvironmentBase, key: str, value) -> None: | CODE |
| LOW | SCons/Environment.py | 198 | def _set_SCANNERS(env: EnvironmentBase, key: str, value) -> None: | CODE |
| LOW | SCons/Environment.py | 1585 | def _update_onlynew(self, other: dict[str, Any]) -> None: | CODE |
| LOW | SCons/Environment.py | 3213 | def _update_onlynew(self, other) -> None: | CODE |
| LOW | SCons/SConf.py | 78 | def _set_conftest_node(node) -> None: | CODE |
| LOW | SCons/SConf.py | 189 | def set_build_result(self, result, string) -> None: | CODE |
| LOW | SCons/Executor.py | 654 | def set_action_list(self, action) -> None: | CODE |
| LOW | SCons/compat/win32.py | 25 | __all__ = ['get_current_process', 'get_memory_info', 'get_memory_usage', 'get_peak_memory_usage'] | CODE |
| LOW⚡ | SCons/Taskmaster/TaskmasterTests.py | 185 | def set_state(self, state) -> None: | CODE |
| LOW⚡ | SCons/Taskmaster/TaskmasterTests.py | 188 | def set_bsig(self, bsig) -> None: | CODE |
| LOW⚡ | SCons/Taskmaster/TaskmasterTests.py | 191 | def set_csig(self, csig) -> None: | CODE |
| LOW | SCons/Taskmaster/Job.py | 124 | def _setup_sig_handler(self) -> None: | CODE |
| LOW | SCons/Util/__init__.py | 247 | def set_mode(self, mode) -> None: | CODE |
| LOW | SCons/Util/hashes.py | 65 | def _set_allowed_viable_default_hashes(hashlib_used, sys_used=sys) -> None: | CODE |
| LOW | SCons/Script/SConsOptions.py | 149 | def set_option(self, name: str, value) -> None: | CODE |
| LOW | SCons/Script/Main.py | 722 | def _set_debug_values(options) -> None: | CODE |
| LOW | SCons/Variables/BoolVariable.py | 41 | __all__ = ['BoolVariable',] | CODE |
| LOW | SCons/Variables/PackageVariable.py | 61 | __all__ = ['PackageVariable',] | CODE |
| LOW | SCons/Variables/__init__.py | 51 | __all__ = [ | CODE |
| LOW | SCons/Variables/ListVariable.py | 64 | __all__ = ['ListVariable',] | CODE |
| LOW | SCons/Variables/PathVariable.py | 83 | __all__ = ['PathVariable',] | CODE |
| LOW | SCons/Variables/EnumVariable.py | 52 | __all__ = ['EnumVariable',] | CODE |
| LOW⚡ | SCons/Node/__init__.py | 1253 | def set_precious(self, precious: bool = True) -> None: | CODE |
| LOW⚡ | SCons/Node/__init__.py | 1257 | def set_pseudo(self, pseudo: bool = True) -> None: | CODE |
| LOW⚡ | SCons/Node/__init__.py | 1261 | def set_noclean(self, noclean: bool = True) -> None: | CODE |
| LOW⚡ | SCons/Node/__init__.py | 1265 | def set_nocache(self, nocache: bool = True) -> None: | CODE |
| LOW⚡ | SCons/Node/__init__.py | 1269 | def set_always_build(self, always_build: bool = True) -> None: | CODE |
| LOW | SCons/Node/__init__.py | 656 | def set_executor(self, executor: Executor) -> None: | CODE |
| LOW | SCons/Node/__init__.py | 918 | def set_explicit(self, is_explicit: bool) -> None: | CODE |
| LOW | SCons/Node/__init__.py | 1352 | def set_specific_source(self, source: list[Node]) -> None: | CODE |
| LOW | SCons/Node/__init__.py | 1435 | def set_state(self, state: int) -> None: | CODE |
| LOW | SCons/Node/FS.py | 282 | def set_duplicate(duplicate: str) -> None: | STRING |
| LOW | SCons/Node/FS.py | 471 | def set_diskcheck(enabled_checkers) -> None: | STRING |
| LOW | SCons/Node/FS.py | 823 | def set_local(self) -> None: | STRING |
| LOW | SCons/Node/FS.py | 856 | def set_src_builder(self, builder: BuilderBase) -> None: | STRING |
| LOW | SCons/Node/FS.py | 1282 | def set_SConstruct_dir(self, dir: DirNode) -> None: | STRING |
| LOW | SCons/Node/FS.py | 1288 | def set_max_drift(self, max_drift: int) -> None: | STRING |
| LOW | SCons/Tool/packaging/__init__.py | 39 | __all__ = [ | CODE |
| LOW | SCons/Tool/MSCommon/sdk.py | 308 | def set_sdk_by_directory(env, sdk_dir) -> None: | CODE |
| LOW | SCons/Tool/MSCommon/MSVC/SetupEnvDefault.py | 109 | def set_nodefault() -> None: | CODE |
| LOW | SCons/Tool/ninja_tool/Methods.py | 80 | def set_build_node_callback(env, node, callback) -> None: | CODE |
| LOW | testing/framework/TestSConsign.py | 98 | def set_sconsign(self, sconsign) -> None: | CODE |
| LOW | testing/framework/TestCmd.py | 351 | __all__ = [ | CODE |
| LOW | testing/framework/TestCmd.py | 1246 | def set_diff_function(self, diff=_Null, stdout=_Null, stderr=_Null) -> None: | CODE |
| LOW | testing/framework/TestCmd.py | 1324 | def set_match_function(self, match=_Null, stdout=_Null, stderr=_Null) -> None: | CODE |
| LOW | testing/framework/TestCommonTests.py | 78 | def set_up_execution_scripts(self) -> None: | CODE |
| LOW | testing/framework/TestUnit/__init__.py | 1 | __all__ = ['TAPTestRunner', 'TAPTestResult', 'run'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | runtest.py | 212 | Special positive-int type for :mod:`argparse`. Args: arg: The argument string to convert. Returns: | STRING |
| HIGH | bin/check_new_contributors.py | 16 | Runs a git command and returns its output as a string. Args: args: A list of strings representing the git c | STRING |
| HIGH | SCons/Environment.py | 1924 | Return construction variables from an environment. Args: args (optional): construction variable names | STRING |
| HIGH | SCons/Script/SConscript.py | 583 | Execute SCons configuration files. Parameters: *ls (str or list): configuration file(s) to execute. | STRING |
| HIGH | SCons/Tool/MSCommon/vc.py | 1546 | Find the MSVC product directory using the vswhere program. Args: msvc_version: MSVC version to search for | STRING |
| HIGH | SCons/Tool/MSCommon/vc.py | 1621 | Find the MSVC product directory using the registry. Args: msvc_version: MSVC version to search for Re | STRING |
| HIGH | SCons/Tool/MSCommon/vc.py | 1722 | Find the MSVC product directory for the given version. Args: msvc_version: str msvc version (ma | STRING |
| HIGH | SCons/Tool/MSCommon/vc.py | 1764 | Find the MSVC product directory for the given version. Args: msvc_version: str msvc version (ma | STRING |
| HIGH | SCons/Tool/MSCommon/vc.py | 2704 | Return an msvc version and a toolset version given a version specification. This is an EXPERIMENTAL proxy | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/Mkdir.py | 151 | #---------------------------------------- | STRING |
| MEDIUM | test/TEX/configure.py | 47 | #---------------- | COMMENT |
| MEDIUM | test/VariantDir/include-subdir.py | 41 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/VariantDir/include-subdir.py | 44 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/VariantDir/removed-files.py | 44 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/VariantDir/removed-files.py | 47 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | test/VariantDir/removed-files.py | 70 | #------------------------------------------------------------------------------- | STRING |
| MEDIUM | test/VariantDir/removed-files.py | 72 | #------------------------------------------------------------------------------- | STRING |
| MEDIUM | test/VariantDir/removed-files.py | 89 | #------------------------------------------------------------------------------- | STRING |
| MEDIUM | test/VariantDir/removed-files.py | 91 | #------------------------------------------------------------------------------- | STRING |
| MEDIUM | SCons/Taskmaster/JobTests.py | 390 | #--------------------------------------------------------------------- | COMMENT |
| MEDIUM | SCons/Taskmaster/JobTests.py | 547 | #--------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/Tool/docbook/docbook-xsl-1.76.1/extensions/docbook.py | 17 | # ====================================================================== | COMMENT |
| MEDIUM | …/Tool/docbook/docbook-xsl-1.76.1/extensions/docbook.py | 216 | # ====================================================================== | COMMENT |
| MEDIUM | …ons/Tool/docbook/docbook-xsl-1.76.1/extensions/xslt.py | 51 | # ====================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bench/env.__setitem__.py | 117 | # The env_Best subclass contains the "best practices" from each of | COMMENT |
| MEDIUM | test/Repository/RMIC.py | 58 | # it's just not state-of-the-art anymore. | COMMENT |
| MEDIUM | test/Java/RMIC.py | 91 | # it's just not state-of-the-art anymore. | STRING |
| LOW | test/Java/JARCHDIR.py | 87 | # we're going to just create the t.class file in both locations, and | STRING |
| MEDIUM | test/option/option-n.py | 172 | # test Configure-calls in conjunction with -n | STRING |
| MEDIUM | test/option/option--wuv.py | 35 | # future with a more robust getopt solution. | COMMENT |
| LOW | bin/SConsExamples.py | 648 | # now, so let's just use the simple brute force approach for the moment. | COMMENT |
| LOW | bin/scons-time.py | 371 | # so just return it. | COMMENT |
| LOW | SCons/ActionTests.py | 70 | # for each test, they can just use the one. | COMMENT |
| LOW | SCons/BuilderTests.py | 63 | # for each test, they can just use the one. | COMMENT |
| LOW | SCons/Subst.py | 321 | subst_proxy = thing # probably a string, just return it | CODE |
| LOW | SCons/Subst.py | 350 | return node # probably a String, just return it | CODE |
| LOW | SCons/Util/__init__.py | 1383 | # If no formatter found, just use default: | COMMENT |
| LOW | SCons/Platform/__init__.py | 216 | # just return the raw command line and let the upper | COMMENT |
| LOW | SCons/Script/SConscript.py | 242 | # Do the sensible thing and just use the | COMMENT |
| LOW | SCons/Variables/ListVariableTests.py | 122 | # first, the one we just set up | COMMENT |
| LOW | SCons/Node/FS.py | 1057 | # We can't just use self.srcnode() straight away because | STRING |
| LOW | SCons/Scanner/Prog.py | 67 | # There are no LIBS in this environment, so just return a null list: | COMMENT |
| LOW | SCons/Tool/__init__.py | 184 | # TODO: any reason to not just use find_spec here? | COMMENT |
| LOW | SCons/Tool/docbook/__init__.py | 294 | # No, so simply pass target and source names through | COMMENT |
| MEDIUM | …ons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.html | 1439 | <p><code class="literal">Keith Fahlgren: bin/spec/epub_regressions_spec.rb; bin/spec/files/onegraphic.xinclude.xml;; | CODE |
| MEDIUM | …ons/Tool/docbook/docbook-xsl-1.76.1/RELEASE-NOTES.html | 2715 | <p><code class="literal">Michael(tm) Smith: extensions/saxon64/.classes/.gitignore; extensions/xalan2/.classes/com/; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/time_member.py | 44 | # Print the results | COMMENT |
| LOW⚡ | test/option/debug-action-timestamps.py | 65 | # Check if difference between timestamps is equal to duration | COMMENT |
| LOW | bin/SConsExamples.py | 323 | # Write file | COMMENT |
| LOW | bin/SConsExamples.py | 333 | # Write file | COMMENT |
| LOW | bin/SConsExamples.py | 367 | # Write file | COMMENT |
| LOW | bin/scons-proc.py | 170 | # Write file | STRING |
| LOW | SCons/Conftest.py | 98 | LogInputFiles = 1 # Set that to log the input files in case of a failed test | STRING |
| LOW | SCons/Conftest.py | 99 | LogErrorMessages = 1 # Set that to log Conftest-generated error messages | STRING |
| LOW | SCons/Environment.py | 1625 | # Check if the original looks like a dict: has .update? | COMMENT |
| LOW | SCons/Environment.py | 1635 | # Check if the original is a list: has .append? | COMMENT |
| LOW | SCons/Environment.py | 2132 | # Check if the original looks like a dict: has .update? | COMMENT |
| LOW | SCons/Environment.py | 2142 | # Check if the added value is a list: has .append? | COMMENT |
| LOW | SCons/Util/__init__.py | 1377 | # Check if suitable formatter for current logger exists: | COMMENT |
| LOW | SCons/Platform/__init__.py | 236 | # Check if we already created the temporary file for this target | COMMENT |
| LOW | SCons/Script/Main.py | 578 | # Check if parent dir to JSON_OUTPUT_FILE exists | COMMENT |
| LOW | SCons/Node/FS.py | 3433 | # Check if either string is now in dmap. | STRING |
| LOW | SCons/Node/FS.py | 3448 | # Check if either string is now in dmap. | STRING |
| LOW | SCons/Tool/tar.xml | 73 | # Set TARFLAGS to create a gzip-filtered archive. | COMMENT |
| LOW | SCons/Tool/intelc.py | 431 | # Check if we are on 64-bit linux, default to 64 then. | STRING |
| LOW | SCons/Tool/xgettext.py | 148 | # Print message employing SCons.Action.Action for that. | COMMENT |
| LOW | SCons/Tool/xgettext.py | 156 | # Print message employing SCons.Action.Action for that. | COMMENT |
| LOW | SCons/Tool/docbook/__init__.py | 56 | # Set this to True, to prefer xsltproc over lxml | COMMENT |
| LOW | …l/docbook/docbook-xsl-1.76.1/webhelp/docsrc/readme.xml | 422 | # Set this to false if you don't need a search tab. | COMMENT |
| LOW | …k/docbook-xsl-1.76.1/webhelp/docs/content/ch02s01.html | 89 | # Set this to false if you don't need a search tab. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | SCons/Conftest.py | 637 | CODE | |
| LOW | SCons/Action.py | 617 | CODE | |
| LOW | SCons/Builder.py | 379 | CODE | |
| LOW | SCons/Errors.py | 80 | CODE | |
| LOW | SCons/SConf.py | 1103 | CODE | |
| LOW | SCons/Scanner/__init__.py | 142 | CODE | |
| LOW | SCons/Tool/tex.py | 495 | CODE | |
| LOW | SCons/Tool/dvipdf.py | 68 | CODE | |
| LOW | SCons/Tool/dvips.py | 42 | CODE | |
| LOW | SCons/Tool/pdftex.py | 49 | CODE | |
| LOW | SCons/Tool/msvsTests.py | 580 | CODE | |
| LOW | SCons/Tool/msvsTests.py | 586 | CODE | |
| LOW | testing/framework/TestSConsMSVS.py | 917 | CODE | |
| LOW | testing/framework/TestSConsMSVS.py | 1197 | CODE | |
| LOW | testing/framework/TestSConsMSVS.py | 1140 | CODE | |
| LOW | testing/framework/TestCmd.py | 1078 | CODE | |
| LOW | testing/framework/TestCmdTests.py | 152 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bin/scons-proc.py | 401 | # Step 1: Creating entity files for builders, functions,... | COMMENT |
| LOW⚡ | bin/scons-proc.py | 407 | # Step 2: Validating all input files | COMMENT |
| LOW⚡ | bin/scons-proc.py | 415 | # Step 3: Creating actual documentation snippets, using the | COMMENT |
| LOW⚡ | SCons/Tool/compilation_db.xml | 146 | <!-- This variable stores the action for building a target.--> | CODE |
| LOW⚡ | SCons/Tool/compilation_db.xml | 154 | <!-- This variable stores the action for building a target.--> | CODE |
| LOW⚡ | SCons/Tool/compilation_db.xml | 162 | <!-- This variable stores the action for building a target.--> | CODE |
| LOW⚡ | SCons/Tool/compilation_db.xml | 170 | <!-- This variable stores the action for building a target.--> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | SCons/Tool/MSCommon/vcTests.py | 75 | SCons.Tool.MSCommon.vc._VSWhereExecutable.reset() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | SCons/Tool/ninja_tool/Utils.py | 244 | # and make sure to escape the strings to handle spaces in paths. We also will sort the result | COMMENT |
| LOW | SCons/Tool/docbook/docbook-xsl-1.76.1/html/param.xml | 6526 | stylsheet, don't forget to specify also | CODE |
| LOW | …/docbook/docbook-xsl-1.76.1/params/tex.math.in.alt.xml | 54 | stylsheet, don't forget to specify also | CODE |
| LOW | SCons/Tool/docbook/docbook-xsl-1.76.1/fo/param.xml | 1775 | stylsheet, don't forget to specify also | CODE |
| LOW | doc/man/scons.xml | 3725 | print("Don't forget to test the `foo' program!") | CODE |
| LOW | doc/man/scons.xml | 3749 | print("Don't forget to test the `foo' program!") | CODE |
| LOW | doc/man/scons.xml | 3776 | print("Don't forget to test the `foo' program!") | CODE |
| LOW | doc/user/command-line.xml | 2168 | print("Don't forget to copy `bar' to the archive!") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | SCons/Tool/GettextCommon.py | 376 | CODE | |
| MEDIUM | SCons/Tool/GettextCommon.py | 391 | CODE | |
| MEDIUM | SCons/Tool/GettextCommon.py | 406 | CODE | |
| MEDIUM | SCons/Tool/GettextCommon.py | 421 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mplate/common/jquery/treeview/jquery.treeview.async.js | 33 | text:"placeholder", | CODE |
| LOW | …mplate/common/jquery/treeview/jquery.treeview.async.js | 34 | id:"placeholder", | CODE |
| LOW | …p/docs/common/jquery/treeview/jquery.treeview.async.js | 33 | text:"placeholder", | CODE |
| LOW | …p/docs/common/jquery/treeview/jquery.treeview.async.js | 34 | id:"placeholder", | CODE |
| LOW | …ocbook/docbook-xsl-1.76.1/roundtrip/template-pages.xml | 2 | <sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa" xmlns:sf="http://developer.apple.com/namespaces/sf" x | CODE |
| LOW | …ocbook/docbook-xsl-1.76.1/roundtrip/template-pages.xml | 2 | <sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa" xmlns:sf="http://developer.apple.com/namespaces/sf" x | CODE |
| LOW | testing/framework/TestRuntest.py | 88 | __developer__ = 'John Doe' | CODE |
| LOW | testing/framework/TestSCons_time.py | 302 | tarinfo.uname = 'fake_user' | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bin/scons-proc.py | 401 | # Step 1: Creating entity files for builders, functions,... | COMMENT |
| LOW⚡ | bin/scons-proc.py | 407 | # Step 2: Validating all input files | COMMENT |
| LOW⚡ | bin/scons-proc.py | 415 | # Step 3: Creating actual documentation snippets, using the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | SCons/EnvironmentTests.py | 2277 | def my_function(myenv, flags, unique: bool=True) -> None: | CODE |
| LOW | SCons/Scanner/DTests.py | 225 | def helper(self, filename, headers) -> None: | STRING |