SCons - a software construction tool
This report summarizes scanner evidence for SCons/scons, a Python project with 2,433 GitHub stars. SynthScan examined 533,733 lines of code across 3089 source files, recording 4120 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 15.0 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2598 finding(s).
Are imports declared and package/API names verified? 423 finding(s).
Are wrappers, guards, and repeated structures necessary? 1477 finding(s).
Which changes need focused human review? 4120 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4120 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |
| 1782 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bench/env.__setitem__.py | 311 | except AttributeError: | CODE |
| HIGH | test/special-filenames.py | 61 | except OSError: | CODE |
| HIGH | test/timestamp-fallback.py | 42 | except ImportError: | CODE |
| HIGH | test/Repository/RMIC.py | 46 | except ValueError: | CODE |
| HIGH | test/Repository/RMIC.py | 52 | except ValueError: | CODE |
| HIGH | test/Java/RMIC.py | 79 | except ValueError: | CODE |
| HIGH | test/Java/RMIC.py | 85 | except ValueError: | CODE |
| HIGH | test/option/stack-size.py | 35 | except ImportError: | CODE |
| HIGH | test/Docbook/basedir/slideshtml/image/xsltver.py | 38 | except ValueError: | CODE |
| HIGH | test/Docbook/rootname/slideshtml/image/xsltver.py | 38 | except ValueError: | CODE |
| HIGH | test/Docbook/basic/slideshtml/image/xsltver.py | 38 | except ValueError: | CODE |
| HIGH | test/scons-time/help/all-subcommands.py | 43 | except: pass | CODE |
| HIGH | bin/scons-test.py | 125 | except: | CODE |
| HIGH | bin/time-scons.py | 77 | except TypeError: | CODE |
| HIGH | bin/SConsDoc.py | 174 | except Exception: | CODE |
| HIGH | bin/Command.py | 41 | except TypeError: | CODE |
| HIGH | bin/SConsExamples.py | 707 | except AttributeError: | CODE |
| HIGH | bin/scons-time.py | 241 | except OSError: | CODE |
| HIGH | bin/scons-unzip.py | 61 | except: | CODE |
| HIGH | bin/linecount.py | 49 | except ValueError: pass | CODE |
| HIGH | SCons/ActionTests.py | 448 | except TypeError: | CODE |
| HIGH | SCons/ActionTests.py | 876 | except TypeError: | CODE |
| HIGH | SCons/ActionTests.py | 883 | except TypeError: | CODE |
| HIGH | SCons/ActionTests.py | 2340 | except EnvironmentError: | CODE |
| HIGH | SCons/SubstTests.py | 712 | except SCons.Errors.UserError: | CODE |
| HIGH | SCons/SubstTests.py | 1203 | except SCons.Errors.UserError: | CODE |
| HIGH | SCons/PathList.py | 209 | except KeyError: | CODE |
| HIGH | SCons/DefaultsTests.py | 82 | except OSError as e: | CODE |
| HIGH | SCons/ExecutorTests.py | 129 | except SCons.Errors.UserError: | CODE |
| HIGH | SCons/ExecutorTests.py | 252 | except SCons.Errors.BuildError: | CODE |
| HIGH | SCons/SConsign.py | 128 | except AttributeError: | CODE |
| HIGH | SCons/SConsign.py | 134 | except AttributeError: | CODE |
| HIGH | SCons/SConsign.py | 177 | except KeyError: | CODE |
| HIGH | SCons/SConsign.py | 261 | except KeyError: | CODE |
| HIGH | SCons/SConsign.py | 355 | except AttributeError: | CODE |
| HIGH | SCons/SConsign.py | 417 | except OSError: | CODE |
| HIGH | SCons/SConsign.py | 231 | except AttributeError: | CODE |
| HIGH | SCons/SConsign.py | 307 | except AttributeError: | CODE |
| HIGH | SCons/SConsign.py | 396 | except OSError: | CODE |
| HIGH | SCons/SConsign.py | 90 | except OSError: | CODE |
| HIGH | SCons/cpp.py | 209 | except AttributeError: | CODE |
| HIGH | SCons/cpp.py | 375 | except IndexError: pass | CODE |
| HIGH | SCons/cpp.py | 567 | except KeyError: pass | CODE |
| HIGH | SCons/Action.py | 1024 | except IndexError: | CODE |
| HIGH | SCons/Action.py | 1409 | except AttributeError: | CODE |
| HIGH | SCons/Builder.py | 599 | except (AttributeError, IndexError): | CODE |
| HIGH | SCons/Builder.py | 819 | except KeyError: | CODE |
| HIGH | SCons/Builder.py | 854 | except KeyError: | CODE |
| HIGH | SCons/Builder.py | 613 | except KeyError: | CODE |
| HIGH | SCons/MemoizeTests.py | 64 | except KeyError: | CODE |
| HIGH | SCons/MemoizeTests.py | 50 | except KeyError: | CODE |
| HIGH | SCons/BuilderTests.py | 338 | except SCons.Errors.UserError as e: | CODE |
| HIGH | SCons/BuilderTests.py | 745 | except SCons.Errors.UserError: | CODE |
| HIGH | SCons/BuilderTests.py | 752 | except SCons.Errors.UserError: | CODE |
| HIGH | SCons/BuilderTests.py | 781 | except SCons.Errors.BuildError: | CODE |
| HIGH | SCons/BuilderTests.py | 807 | except SCons.Errors.BuildError: | CODE |
| HIGH | SCons/Environment.py | 528 | except AttributeError: | CODE |
| HIGH | SCons/Environment.py | 1498 | except AttributeError: | CODE |
| HIGH | SCons/Environment.py | 1511 | except TypeError: | CODE |
| HIGH | SCons/Environment.py | 1537 | except KeyError: | CODE |
| 216 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/packaging/rpm/explicit-target.py | 32 | 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 | |
| 336 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 | bin/update-version-strings.py | 69 | def find_and_replace_version_strings(root_path, next_version, prev_version, dry_run=False): | CODE |
| LOW | SCons/ActionTests.py | 1548 | def test_get_contents_of_function_action(self) -> None: | CODE |
| LOW | SCons/ActionTests.py | 1981 | def test_get_contents_of_function_action(self) -> None: | CODE |
| LOW | SCons/ActionTests.py | 2336 | 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 | 159 | def copy_non_reserved_keywords(dict_: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | SCons/Environment.py | 1855 | 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 | 101 | def test_make_path_relative_unc(self) -> None: | CODE |
| LOW | SCons/Util/UtilTests.py | 680 | def test_wait_for_process_to_die_success_psutil(self) -> None: | STRING |
| 301 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 | 463 | 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/scons-man-to-ai.py | 172 | CODE | |
| LOW | bin/scons-man-to-ai.py | 300 | 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 | 223 | CODE | |
| LOW | SCons/Environment.py | 693 | CODE | |
| LOW | SCons/Environment.py | 856 | CODE | |
| LOW | SCons/Environment.py | 1006 | CODE | |
| LOW | SCons/Environment.py | 1206 | CODE | |
| LOW | SCons/Environment.py | 1534 | CODE | |
| LOW | SCons/Environment.py | 1607 | CODE | |
| LOW | SCons/Environment.py | 1721 | CODE | |
| LOW | SCons/Environment.py | 1884 | 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 | 387 | # 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 | 283 | # 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 |
|---|---|---|---|---|
| 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 | 376 | 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 | 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/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/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/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/entities/entities.py | 44 | 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 | 386 | except Exception as e: | STRING |
| LOW | bin/SConsDoc.py | 401 | 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 |
| MEDIUM | bin/update-version-strings.py | 122 | print(f"Error: Path not found: {args.path}", file=sys.stderr) | CODE |
| LOW | SCons/ActionTests.py | 2342 | 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/EnvironmentTests.py | 1692 | except Exception as e: | CODE |
| LOW | SCons/EnvironmentTests.py | 2501 | 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 |
| LOW | SCons/Taskmaster/Job.py | 674 | except Exception: | CODE |
| LOW | SCons/Taskmaster/Job.py | 741 | except Exception: | CODE |
| 26 more matches not shown… | ||||
| 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 | 169 | def _set_reserved(env: EnvironmentBase, key: str, value) -> None: | CODE |
| LOW⚡ | SCons/Environment.py | 174 | def _set_future_reserved(env: EnvironmentBase, key: str, value) -> None: | CODE |
| LOW | SCons/Environment.py | 199 | def _set_SCANNERS(env: EnvironmentBase, key: str, value) -> None: | CODE |
| LOW | SCons/Environment.py | 1586 | def _update_onlynew(self, other: dict[str, Any]) -> None: | CODE |
| LOW | SCons/Environment.py | 3233 | 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 | 1930 | 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 | 1382 | # If no formatter found, just use default: | COMMENT |
| LOW | SCons/Platform/__init__.py | 218 | # 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 | 320 | # 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 | 1626 | # Check if the original looks like a dict: has .update? | COMMENT |
| LOW | SCons/Environment.py | 1636 | # Check if the original is a list: has .append? | COMMENT |
| LOW | SCons/Environment.py | 2152 | # Check if the original looks like a dict: has .update? | COMMENT |
| LOW | SCons/Environment.py | 2162 | # Check if the added value is a list: has .append? | COMMENT |
| LOW | SCons/Util/__init__.py | 1376 | # Check if suitable formatter for current logger exists: | COMMENT |
| LOW | SCons/Platform/__init__.py | 238 | # 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 | 3731 | print("Don't forget to test the `foo' program!") | CODE |
| LOW | doc/man/scons.xml | 3755 | print("Don't forget to test the `foo' program!") | CODE |
| LOW | doc/man/scons.xml | 3782 | print("Don't forget to test the `foo' program!") | CODE |
| LOW | doc/user/command-line.xml | 1945 | 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 |