AI Slop Code RIsk Monitor

pyinstaller/pyinstaller

Freeze (package) Python programs into stand-alone executables

62.8 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for pyinstaller/pyinstaller, a Python project with 13,116 GitHub stars. SynthScan examined 116,459 lines of code across 1245 source files, recording 3603 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 62.8 (High 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.

62.8
Adjusted Signal
62.8
Raw Pattern Score
100%
Time Factor
2026-10-04
Last Push
13.1K
Stars
Python
Language
116.5K
Lines of Code
1.2K
Files
3.6K
Pattern Hits
2026-10-12
Scan Date
0.13
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 49.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 14.1/100 · LOW

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

Agent Over-Engineering Ratio 91.4/100 · CRITICAL

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

PR Review Velocity Impact 96.0/100 · CRITICAL

Which changes need focused human review? 3603 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 165MEDIUM 1520LOW 1918

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 3603 distinct pattern matches across 20 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.

Decorative Section Separators1450 hits · 4434 pts
SeverityFileLineSnippetContext
MEDIUM⚡COPYING.txt108#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡COPYING.txt117#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡COPYING.txt122#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡COPYING.txt131#-----------------------------------------------------------------------------COMMENT
MEDIUMhatch_build.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMhatch_build.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMbootloader/build.sh2#-----------------------------------------------------------------------------COMMENT
MEDIUMbootloader/build.sh11# -----------------------------------------------------------------------------COMMENT
MEDIUMbootloader/update-waf.sh1# -----------------------------------------------------------------------------COMMENT
MEDIUMbootloader/update-waf.sh10# -----------------------------------------------------------------------------COMMENT
MEDIUMbootloader/tools/strip.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMbootloader/tools/strip.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/_recursion_too_deep_message.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/_recursion_too_deep_message.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/config.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/config.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/compat.py1# ----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/compat.py10# ----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/configure.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/configure.py10#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/log.py1#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/log.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/__init__.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/__init__.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/exceptions.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/exceptions.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/_shared_with_waf.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/_shared_with_waf.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/__main__.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/__main__.py10#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/fake-modules/pyi_splash.py1# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/fake-modules/pyi_splash.py10# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/tempfile.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/tempfile.py10# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/_win32.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/fake-modules/_pyi_rth_utils/_win32.py10# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/fake-modules/_pyi_rth_utils/qt.py1# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/fake-modules/_pyi_rth_utils/qt.py10# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/fake-modules/_pyi_rth_utils/__init__.py1# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/fake-modules/_pyi_rth_utils/__init__.py10# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/archive/readers.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/archive/readers.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/archive/pyz_crypto.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/archive/pyz_crypto.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/archive/writers.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/archive/writers.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/misc.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/misc.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/conftest.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/conftest.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/run_tests.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/run_tests.py10# -----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/tests.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/tests.py10#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/osx.py1#-----------------------------------------------------------------------------COMMENT
MEDIUMPyInstaller/utils/osx.py10#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/utils/hooks/django.py1# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/utils/hooks/django.py10# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/utils/hooks/setuptools.py1# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡PyInstaller/utils/hooks/setuptools.py10#-----------------------------------------------------------------------------COMMENT
1390 more matches not shown…
Over-Commented Block816 hits · 793 pts
SeverityFileLineSnippetContext
LOWhatch_build.py1#-----------------------------------------------------------------------------COMMENT
LOWbootloader/uncrustify.cfg1# Uncrustify 0.62COMMENT
LOWbootloader/uncrustify.cfg61COMMENT
LOWbootloader/uncrustify.cfg901# The span for aligning struct initializer values (0=don't align)COMMENT
LOWbootloader/uncrustify.cfg1661# The filename that contains text to insert before a function implementation if the function isn't preceded with a C/C++COMMENT
LOWbootloader/uncrustify.cfg1721# You can create custom macro-based indentation using macro-open,COMMENT
LOWbootloader/uncrustify.cfg1741# define def_token output_tokenCOMMENT
LOWbootloader/build.sh1#!/usr/bin/env bashCOMMENT
LOWbootloader/update-waf.sh1# -----------------------------------------------------------------------------COMMENT
LOWbootloader/tools/strip.py1#-----------------------------------------------------------------------------COMMENT
LOWbootloader/tests/test_multipkg.c1// -----------------------------------------------------------------------------COMMENT
LOWbootloader/tests/test_path.c1// -----------------------------------------------------------------------------COMMENT
LOWbootloader/zlib/zutil.h21COMMENT
LOWbootloader/zlib/zutil.h41extern const char inflate9_copyright[];COMMENT
LOWbootloader/zlib/zutil.h81# define DEF_MEM_LEVEL 8COMMENT
LOWbootloader/zlib/zutil.h101# define OS_CODE 0x00COMMENT
LOWbootloader/zlib/zutil.h121#if defined(VAXC) || defined(VMS)COMMENT
LOWbootloader/zlib/zutil.h141#ifdef OS2COMMENT
LOWbootloader/zlib/zutil.h161# define OS_CODE 16COMMENT
LOWbootloader/zlib/zutil.h181 ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t);COMMENT
LOWbootloader/zlib/zutil.h201 /* Use our own functions for small and medium model with MSC <= 5.0.COMMENT
LOWbootloader/zlib/zutil.h221 void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t);COMMENT
LOWbootloader/zlib/crc32.c21 */COMMENT
LOWbootloader/zlib/crc32.c81#ifdef Z_TESTWCOMMENT
LOWbootloader/zlib/crc32.c681 z_word_t word5;COMMENT
LOWbootloader/zlib/crc32.c741#if N > 5COMMENT
LOWbootloader/zlib/crc32.c801 z_word_t crc4, word4;COMMENT
LOWbootloader/zlib/crc32.c861#if N > 4COMMENT
LOWbootloader/zlib/zutil.c61#endifCOMMENT
LOWbootloader/zlib/zutil.c81#endifCOMMENT
LOWbootloader/zlib/zutil.c101# endifCOMMENT
LOWbootloader/zlib/gzguts.h1/* gzguts.h -- zlib internal header definitions for gz* operationsCOMMENT
LOWbootloader/zlib/gzguts.h21# ifndef WIN32_LEAN_AND_MEANCOMMENT
LOWbootloader/zlib/gzguts.h41# define _POSIX_C_SOURCE 200112LCOMMENT
LOWbootloader/zlib/gzguts.h61COMMENT
LOWbootloader/zlib/gzguts.h81# if !defined(NO_vsnprintf) && \COMMENT
LOWbootloader/zlib/gzguts.h121#ifndef STDCCOMMENT
LOWbootloader/zlib/zlib.h181#define Z_OK 0COMMENT
LOWbootloader/zlib/zlib.h201#define Z_HUFFMAN_ONLY 2COMMENT
LOWbootloader/zlib/zlib.h1981 ZEXTERN z_off64_t ZEXPORT gzoffset64(gzFile);COMMENT
LOWbootloader/zlib/inftrees.c1/* inftrees.c -- generate Huffman trees for efficient decodingCOMMENT
LOWbootloader/zlib/zconf.h21# define _dist_code z__dist_codeCOMMENT
LOWbootloader/zlib/zconf.h41# define crc32 z_crc32COMMENT
LOWbootloader/zlib/zconf.h61# define deflateReset z_deflateResetCOMMENT
LOWbootloader/zlib/zconf.h81# define gzerror z_gzerrorCOMMENT
LOWbootloader/zlib/zconf.h101# define gzseek64 z_gzseek64COMMENT
LOWbootloader/zlib/zconf.h121# define inflateInit2_ z_inflateInit2_COMMENT
LOWbootloader/zlib/zconf.h141# define uncompress2_z z_uncompress2_zCOMMENT
LOWbootloader/zlib/zconf.h161# define gz_headerp z_gz_headerpCOMMENT
LOWbootloader/zlib/zconf.h181#endifCOMMENT
LOWbootloader/zlib/zconf.h201/*COMMENT
LOWbootloader/zlib/zconf.h221#endifCOMMENT
LOWbootloader/zlib/zconf.h241# define const /* note: need a more gentle solution here */COMMENT
LOWbootloader/zlib/zconf.h261# if defined(NO_SIZE_T)COMMENT
LOWbootloader/zlib/zconf.h321 /* MSC small or medium model */COMMENT
LOWbootloader/zlib/zconf.h341 /* If building or using zlib as a DLL, define ZLIB_DLL.COMMENT
LOWbootloader/zlib/zconf.h361# ifndef WIN32_LEAN_AND_MEANCOMMENT
LOWbootloader/zlib/zconf.h381# elseCOMMENT
LOWbootloader/zlib/zconf.h421 typedef void FAR *voidpf;COMMENT
LOWbootloader/zlib/zconf.h441 typedef Z_U4 z_crc_t;COMMENT
756 more matches not shown…
Empty Error Handlers156 hits · 780 pts
SeverityFileLineSnippetContext
HIGHbootloader/waflib/Build.py122except AttributeError:CODE
HIGHbootloader/waflib/Build.py129except EnvironmentError:CODE
HIGHbootloader/waflib/Build.py173except (AttributeError, OSError):CODE
HIGHbootloader/waflib/Build.py662except EnvironmentError:CODE
HIGHbootloader/waflib/Build.py666except OSError:CODE
HIGHbootloader/waflib/Build.py727except OSError:CODE
HIGHbootloader/waflib/Build.py806except Errors.WafError:CODE
HIGHbootloader/waflib/Build.py252except KeyError:CODE
HIGHbootloader/waflib/Build.py396except AttributeError:CODE
HIGHbootloader/waflib/Build.py647except OSError:CODE
HIGHbootloader/waflib/Build.py695except OSError:CODE
HIGHbootloader/waflib/Build.py800except AttributeError:CODE
HIGHbootloader/waflib/Build.py841except AttributeError:CODE
HIGHbootloader/waflib/Build.py266except AttributeError:CODE
HIGHbootloader/waflib/Build.py425except AttributeError:CODE
HIGHbootloader/waflib/Options.py208except Errors.WafError:CODE
HIGHbootloader/waflib/Task.py195except KeyError:CODE
HIGHbootloader/waflib/Task.py386except AttributeError:CODE
HIGHbootloader/waflib/Task.py219except KeyError:CODE
HIGHbootloader/waflib/Task.py446except AttributeError:CODE
HIGHbootloader/waflib/Task.py209except Errors.WafError:CODE
HIGHbootloader/waflib/Task.py188except OSError:CODE
HIGHbootloader/waflib/Task.py495except KeyError:CODE
HIGHbootloader/waflib/Runner.py98except Exception:CODE
HIGHbootloader/waflib/Runner.py238except KeyError:CODE
HIGHbootloader/waflib/Runner.py150except AttributeError:CODE
HIGHbootloader/waflib/ansiterm.py296except ImportError:CODE
HIGHbootloader/waflib/ansiterm.py307except Exception as e:CODE
HIGHbootloader/waflib/ansiterm.py80except AttributeError:CODE
HIGHbootloader/waflib/ansiterm.py18except AttributeError:CODE
HIGHbootloader/waflib/Configure.py350except OSError:CODE
HIGHbootloader/waflib/Configure.py359except EnvironmentError:CODE
HIGHbootloader/waflib/Scripting.py218except OSError:CODE
HIGHbootloader/waflib/Scripting.py214except OSError:CODE
HIGHbootloader/waflib/Scripting.py289except OSError:CODE
HIGHbootloader/waflib/Scripting.py55except EnvironmentError:CODE
HIGHbootloader/waflib/Scripting.py68except OSError:CODE
HIGHbootloader/waflib/TaskGen.py333except KeyError:CODE
HIGHbootloader/waflib/TaskGen.py478except AttributeError:CODE
HIGHbootloader/waflib/TaskGen.py111except KeyError:CODE
HIGHbootloader/waflib/Context.py382except KeyError:CODE
HIGHbootloader/waflib/Context.py89except AttributeError:CODE
HIGHbootloader/waflib/Context.py275except AttributeError:CODE
HIGHbootloader/waflib/Utils.py339except ImportError:CODE
HIGHbootloader/waflib/Utils.py623except OSError:CODE
HIGHbootloader/waflib/Utils.py40except ImportError:CODE
HIGHbootloader/waflib/Utils.py90except ValueError:CODE
HIGHbootloader/waflib/Utils.py344except AttributeError:CODE
HIGHbootloader/waflib/Utils.py597except ValueError:CODE
HIGHbootloader/waflib/Utils.py758except OSError:CODE
HIGHbootloader/waflib/Utils.py488except AttributeError:CODE
HIGHbootloader/waflib/Utils.py146except KeyError:CODE
HIGHbootloader/waflib/Logs.py258except Exception:CODE
HIGHbootloader/waflib/Node.py211except OSError:CODE
HIGHbootloader/waflib/Node.py319except AttributeError:CODE
HIGHbootloader/waflib/Node.py216except OSError:CODE
HIGHbootloader/waflib/Node.py268except KeyError:CODE
HIGHbootloader/waflib/Node.py335except AttributeError:CODE
HIGHbootloader/waflib/Node.py245except KeyError:CODE
HIGHbootloader/waflib/ConfigSet.py86except AttributeError:CODE
96 more matches not shown…
Unused Imports326 hits · 317 pts
SeverityFileLineSnippetContext
LOWbootloader/waflib/fixpy2.py5CODE
LOWbootloader/waflib/Scripting.py5CODE
LOWbootloader/waflib/Utils.py5CODE
LOWbootloader/waflib/Utils.py26CODE
LOWbootloader/waflib/Tools/gfortran.py7CODE
LOWbootloader/waflib/Tools/gfortran.py7CODE
LOWbootloader/waflib/Tools/ifort.py7CODE
LOWbootloader/waflib/Tools/ifort.py7CODE
LOWbootloader/waflib/Tools/xlc.py5CODE
LOWbootloader/waflib/Tools/xlc.py5CODE
LOWbootloader/waflib/Tools/intltool.py5CODE
LOWbootloader/waflib/Tools/intltool.py8CODE
LOWbootloader/waflib/Tools/gas.py5CODE
LOWbootloader/waflib/Tools/gas.py6CODE
LOWbootloader/waflib/Tools/glib2.py6CODE
LOWbootloader/waflib/Tools/fc.py6CODE
LOWbootloader/waflib/Tools/dmd.py6CODE
LOWbootloader/waflib/Tools/dmd.py6CODE
LOWbootloader/waflib/Tools/irixcc.py6CODE
LOWbootloader/waflib/Tools/irixcc.py6CODE
LOWbootloader/waflib/Tools/qt5.py5CODE
LOWbootloader/waflib/Tools/qt5.py15CODE
LOWbootloader/waflib/Tools/d.py7CODE
LOWbootloader/waflib/Tools/g95.py7CODE
LOWbootloader/waflib/Tools/g95.py7CODE
LOWbootloader/waflib/Tools/xlcxx.py5CODE
LOWbootloader/waflib/Tools/xlcxx.py5CODE
LOWbootloader/waflib/Tools/clangxx.py5CODE
LOWbootloader/waflib/Tools/clangxx.py5CODE
LOWbootloader/waflib/Tools/clangxx.py5CODE
LOWbootloader/waflib/Tools/icpc.py5CODE
LOWbootloader/waflib/Tools/icpc.py6CODE
LOWbootloader/waflib/Tools/icpc.py6CODE
LOWbootloader/waflib/Tools/icpc.py6CODE
LOWbootloader/waflib/Tools/icc.py5CODE
LOWbootloader/waflib/Tools/icc.py6CODE
LOWbootloader/waflib/Tools/icc.py6CODE
LOWbootloader/waflib/Tools/icc.py6CODE
LOWbootloader/waflib/Tools/vala.py6CODE
LOWbootloader/waflib/Tools/nasm.py6CODE
LOWbootloader/waflib/Tools/suncc.py6CODE
LOWbootloader/waflib/Tools/suncc.py6CODE
LOWbootloader/waflib/Tools/ldc2.py5CODE
LOWbootloader/waflib/Tools/ldc2.py5CODE
LOWbootloader/waflib/Tools/gdc.py5CODE
LOWbootloader/waflib/Tools/gdc.py5CODE
LOWbootloader/waflib/Tools/suncxx.py6CODE
LOWbootloader/waflib/Tools/suncxx.py6CODE
LOWbootloader/waflib/Tools/compiler_cxx.py6CODE
LOWbootloader/waflib/Tools/compiler_fc.py7CODE
LOWbootloader/waflib/Tools/c_config.py5CODE
LOWbootloader/waflib/Tools/gcc.py5CODE
LOWbootloader/waflib/Tools/gcc.py5CODE
LOWbootloader/waflib/Tools/ccroot.py8CODE
LOWbootloader/waflib/Tools/ccroot.py8CODE
LOWbootloader/waflib/Tools/ccroot.py8CODE
LOWbootloader/waflib/Tools/ccroot.py8CODE
LOWbootloader/waflib/Tools/ccroot.py8CODE
LOWbootloader/waflib/Tools/gxx.py5CODE
LOWbootloader/waflib/Tools/gxx.py5CODE
266 more matches not shown…
Hyper-Verbose Identifiers347 hits · 304 pts
SeverityFileLineSnippetContext
LOWbootloader/waflib/Task.py512 def compute_sig_implicit_deps(self):STRING
LOWbootloader/waflib/Task.py603def set_precedence_constraints(tasks):STRING
LOWbootloader/waflib/ConfigSet.py101 def _get_list_value_for_modification(self, key):CODE
LOWbootloader/waflib/Tools/gfortran.py42def gfortran_modifier_platform(conf):CODE
LOWbootloader/waflib/Tools/glib2.py327def find_glib_compile_schemas(conf):CODE
LOWbootloader/waflib/Tools/glib2.py344def find_glib_compile_resources(conf):CODE
LOWbootloader/waflib/Tools/fc_config.py144def check_fortran_verbose_flag(self, *k, **kw):CODE
LOWbootloader/waflib/Tools/fc_config.py296def link_main_routines_tg_method(self):STRING
LOWbootloader/waflib/Tools/ccroot.py167def apply_skip_stlib_link_deps(self):CODE
LOWbootloader/waflib/Tools/msvc.py153def gather_wince_supported_platforms():STRING
LOWbootloader/waflib/Tools/msvc.py200def gather_msvc_detected_versions():STRING
LOWbootloader/waflib/Tools/msvc.py484def gather_intel_composer_versions(conf, versions):STRING
LOWbootloader/waflib/Tools/c_osx.py30def set_macosx_deployment_target(self):STRING
LOWbootloader/waflib/Tools/errcheck.py73def check_invalid_constraints(self):CODE
LOWPyInstaller/configure.py53def _get_pyinstaller_cache_dir():CODE
LOW⚡PyInstaller/fake-modules/_pyi_rth_utils/qt.py20def ensure_single_qt_bindings_package(qt_bindings):CODE
LOW⚡PyInstaller/fake-modules/_pyi_rth_utils/__init__.py19def prepend_path_to_environment_variable(path, variable_name):CODE
LOWPyInstaller/utils/misc.py60def get_path_to_toplevel_modules(filename):CODE
LOWPyInstaller/utils/conftest.py75def pytest_runtest_makereport(item, call):CODE
LOWPyInstaller/utils/osx.py353def convert_binary_to_thin_arch(filename, thin_arch, output_filename=None):CODE
LOWPyInstaller/utils/osx.py402def remove_signature_from_binary(filename):CODE
LOWPyInstaller/utils/osx.py437def set_dylib_dependency_paths(filename, target_rpath):CODE
LOWPyInstaller/utils/osx.py471def _set_dylib_dependency_paths(filename, target_rpath):CODE
LOWPyInstaller/utils/osx.py609def collect_files_from_framework_bundles(collected_files):CODE
LOW⚡PyInstaller/utils/hooks/django.py17def django_dottedstring_imports(django_root_dir):CODE
LOW⚡PyInstaller/utils/hooks/setuptools.py20def _retrieve_setuptools_info():CODE
LOWPyInstaller/utils/hooks/setuptools.py273def pre_safe_import_module_for_top_level_namespace_packages(api):CODE
LOWPyInstaller/utils/hooks/__init__.py294def get_module_file_attribute(package: str):CODE
LOWPyInstaller/utils/hooks/__init__.py331 def _get_module_file_attribute(package):CODE
LOWPyInstaller/utils/hooks/__init__.py888def collect_system_data_files(path: str, destdir: str | os.PathLike | None = None, include_py_files: bool = False):STRING
LOWPyInstaller/utils/hooks/__init__.py1272def collect_delvewheel_libs_directory(package_name, libdir_name=None, datas=None, binaries=None):STRING
LOWPyInstaller/utils/hooks/gi.py259def get_glib_system_data_dirs():CODE
LOWPyInstaller/utils/hooks/gi.py326def collect_glib_translations(prog, lang_list=None):CODE
LOWPyInstaller/utils/hooks/gi.py348def compile_glib_schema_files(datas_toc, workdir, collect_source_files=False):CODE
LOWPyInstaller/utils/hooks/tcl_tk.py81def _check_tkinter_fully_usable():CODE
LOWPyInstaller/utils/hooks/tcl_tk.py307 def _collect_files_from_directory(root, prefix=None, excludes=None):CODE
LOWPyInstaller/utils/hooks/tcl_tk.py336 def _find_tcl_tk_shared_libraries(tkinter_ext_file):CODE
LOW⚡PyInstaller/utils/hooks/tcl_tk.py363 def _check_macos_system_framework(tcl_shared_lib):CODE
LOW⚡PyInstaller/utils/hooks/tcl_tk.py374 def _warn_if_using_activetcl_or_teapot(tcl_root):CODE
LOW⚡PyInstaller/utils/hooks/qt/__init__.py1337def ensure_single_qt_bindings_package(qt_bindings):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py310 def _normalize_shared_library_name(self, filename):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py550 def _validate_plugin_dependencies(self, plugin_file):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py664 def _check_if_openssl_enabled(package):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py713 def _collect_qtnetwork_openssl_windows(self, openssl_version):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py794 def _collect_qtnetwork_openssl_macos(self, openssl_version):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py872 def _collect_qtnetwork_openssl_linux(self, openssl_version):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py1056 def collect_qtwebengine_files(self):CODE
LOWPyInstaller/utils/hooks/qt/__init__.py1358def exclude_extraneous_qt_bindings(hook_name, qt_bindings_order=None):CODE
LOWPyInstaller/utils/hooks/qt/_modules_info.py429def process_namespace_strings(namespaces):CODE
LOWPyInstaller/utils/hooks/qt/_modules_info.py437def _process_namespace_string(namespace):CODE
LOW⚡PyInstaller/utils/win32/versioninfo.py19def pefile_check_control_flow_guard(filename):CODE
LOWPyInstaller/utils/win32/versioninfo.py54def read_version_info_from_executable(exe_filename):CODE
LOWPyInstaller/utils/win32/versioninfo.py559def load_version_info_from_text_file(filename):CODE
LOWPyInstaller/utils/win32/versioninfo.py583def write_version_info_to_executable(exe_filename, info):CODE
LOWPyInstaller/utils/win32/winmanifest.py120def _ensure_common_controls_dependency(manifest_dom, root_element):STRING
LOWPyInstaller/utils/win32/winmanifest.py157def create_application_manifest(manifest_xml=None, uac_admin=False, uac_uiaccess=False):STRING
LOWPyInstaller/utils/win32/winmanifest.py197def write_manifest_to_executable(filename, manifest_xml):CODE
LOWPyInstaller/utils/win32/winmanifest.py213def read_manifest_from_executable(filename):CODE
LOWPyInstaller/utils/win32/winresource.py155def copy_resources_from_pe_file(filename, src_filename, types=None, names=None, languages=None):CODE
LOWPyInstaller/utils/cliutils/archive_viewer.py87 def _non_interactive_processing(self):CODE
287 more matches not shown…
Deep Nesting183 hits · 164 pts
SeverityFileLineSnippetContext
LOWbootloader/waflib/Build.py126CODE
LOWbootloader/waflib/Build.py259CODE
LOWbootloader/waflib/Build.py392CODE
LOWbootloader/waflib/Build.py560CODE
LOWbootloader/waflib/Build.py642CODE
LOWbootloader/waflib/Build.py764CODE
LOWbootloader/waflib/Build.py827CODE
LOWbootloader/waflib/Build.py431CODE
LOWbootloader/waflib/Options.py53CODE
LOWbootloader/waflib/Options.py194CODE
LOWbootloader/waflib/Task.py603CODE
LOWbootloader/waflib/Task.py644CODE
LOWbootloader/waflib/Task.py729CODE
LOWbootloader/waflib/Task.py69CODE
LOWbootloader/waflib/Task.py159CODE
LOWbootloader/waflib/Task.py276CODE
LOWbootloader/waflib/Task.py449CODE
LOWbootloader/waflib/Task.py480CODE
LOWbootloader/waflib/Runner.py139CODE
LOWbootloader/waflib/Runner.py187CODE
LOWbootloader/waflib/Runner.py212CODE
LOWbootloader/waflib/Runner.py294CODE
LOWbootloader/waflib/Runner.py314CODE
LOWbootloader/waflib/Runner.py351CODE
LOWbootloader/waflib/Runner.py399CODE
LOWbootloader/waflib/Runner.py404CODE
LOWbootloader/waflib/fixpy2.py17CODE
LOWbootloader/waflib/ansiterm.py193CODE
LOWbootloader/waflib/ansiterm.py241CODE
LOWbootloader/waflib/Configure.py266CODE
LOWbootloader/waflib/Configure.py317CODE
LOWbootloader/waflib/Configure.py157CODE
LOWbootloader/waflib/Scripting.py14CODE
LOWbootloader/waflib/Scripting.py202CODE
LOWbootloader/waflib/Scripting.py222CODE
LOWbootloader/waflib/Scripting.py414CODE
LOWbootloader/waflib/Scripting.py415CODE
LOWbootloader/waflib/TaskGen.py178CODE
LOWbootloader/waflib/TaskGen.py308CODE
LOWbootloader/waflib/TaskGen.py512CODE
LOWbootloader/waflib/TaskGen.py78CODE
LOWbootloader/waflib/TaskGen.py200CODE
LOWbootloader/waflib/Context.py399CODE
LOWbootloader/waflib/Context.py118CODE
LOWbootloader/waflib/Context.py352CODE
LOWbootloader/waflib/Utils.py530CODE
LOWbootloader/waflib/Utils.py654CODE
LOWbootloader/waflib/Logs.py192CODE
LOWbootloader/waflib/Logs.py124CODE
LOWbootloader/waflib/Logs.py149CODE
LOWbootloader/waflib/Node.py42CODE
LOWbootloader/waflib/Node.py66CODE
LOWbootloader/waflib/Node.py354CODE
LOWbootloader/waflib/Tools/ifort.py99CODE
LOWbootloader/waflib/Tools/ifort.py174CODE
LOWbootloader/waflib/Tools/ifort.py318CODE
LOWbootloader/waflib/Tools/javaw.py101CODE
LOWbootloader/waflib/Tools/intltool.py69CODE
LOWbootloader/waflib/Tools/waf_unit_test.py61CODE
LOWbootloader/waflib/Tools/tex.py12CODE
123 more matches not shown…
Excessive Try-Catch Wrapping141 hits · 145 pts
SeverityFileLineSnippetContext
LOWbootloader/waflib/Build.py147 except Exception as e:CODE
MEDIUMbootloader/waflib/Task.py192def process(self):CODE
LOWbootloader/waflib/Task.py199 except Exception:STRING
LOWbootloader/waflib/Task.py211 except Exception:STRING
LOWbootloader/waflib/Runner.py98 except Exception:CODE
LOWbootloader/waflib/Runner.py297 except Exception:CODE
MEDIUMbootloader/waflib/Runner.py76def run(self):CODE
MEDIUMbootloader/waflib/Runner.py294def task_status(self, tsk):CODE
LOWbootloader/waflib/ansiterm.py307 except Exception as e:CODE
LOWbootloader/waflib/Configure.py175 except Exception as e:CODE
LOWbootloader/waflib/Scripting.py112 except Exception as e:CODE
LOWbootloader/waflib/Scripting.py140 except Exception as e:CODE
LOWbootloader/waflib/processor.py46 except Exception as e:CODE
LOWbootloader/waflib/Context.py201 except Exception as e:CODE
LOWbootloader/waflib/Context.py248 except Exception as e:CODE
MEDIUMbootloader/waflib/Context.py71def __init__(self, **kw):CODE
LOWbootloader/waflib/Logs.py152 except Exception:STRING
LOWbootloader/waflib/Logs.py258 except Exception:STRING
MEDIUMbootloader/waflib/Logs.py108def emit(self, record):CODE
MEDIUMbootloader/waflib/Logs.py253def free_logger(logger):CODE
LOWbootloader/waflib/Node.py58 except Exception as e:CODE
LOWbootloader/waflib/Tools/ifort.py219 except Exception as e:CODE
MEDIUMbootloader/waflib/Tools/ifort.py174def get_ifort_version_win32(conf, compiler, version, target, vcvars):CODE
LOWbootloader/waflib/Tools/javaw.py225 except Exception:STRING
LOWbootloader/waflib/Tools/javaw.py373 except Exception:STRING
LOWbootloader/waflib/Tools/c_preproc.py647 except Exception:CODE
LOWbootloader/waflib/Tools/c_preproc.py722 except Exception as e:CODE
MEDIUMbootloader/waflib/Tools/c_preproc.py563def cached_find_resource(self, node, filename):CODE
LOWbootloader/waflib/Tools/c_config.py844 except Exception:STRING
LOWbootloader/waflib/Tools/fc_config.py241 except Exception:CODE
LOWbootloader/waflib/Tools/fc_config.py270 except Exception:CODE
LOWbootloader/waflib/Tools/msvc.py143 except Exception as e:STRING
LOWPyInstaller/compat.py257 except Exception:CODE
LOWPyInstaller/compat.py266 except Exception:CODE
MEDIUMPyInstaller/compat.py355 print("Error running '%s':" % " ".join(cmdargs), file=sys.stderr)CODE
LOW⚡PyInstaller/configure.py39 except Exception:CODE
LOWPyInstaller/__main__.py188 except Exception:CODE
LOWPyInstaller/__main__.py299 except Exception:CODE
LOWPyInstaller/fake-modules/_pyi_rth_utils/_win32.py242 except Exception:CODE
LOWPyInstaller/utils/misc.py93 except Exception:CODE
MEDIUMPyInstaller/utils/misc.py88def mtime(fnm):CODE
MEDIUMPyInstaller/utils/run_tests.py49 print("Error: no tests discovered.", file=sys.stderr)CODE
LOWPyInstaller/utils/hooks/setuptools.py236 except Exception as e:CODE
MEDIUMPyInstaller/utils/hooks/__init__.py242def _can_import_module(module_name):CODE
LOWPyInstaller/utils/hooks/__init__.py246 except Exception:CODE
LOWPyInstaller/utils/hooks/__init__.py290 except Exception as e:CODE
LOWPyInstaller/utils/hooks/__init__.py353 except Exception as e:CODE
LOWPyInstaller/utils/hooks/__init__.py488 except Exception:CODE
LOWPyInstaller/utils/hooks/__init__.py519 except Exception:CODE
LOWPyInstaller/utils/hooks/__init__.py666 except Exception as ex:CODE
LOWPyInstaller/utils/hooks/__init__.py997 except Exception:STRING
LOWPyInstaller/utils/hooks/__init__.py1160 except Exception:STRING
LOWPyInstaller/utils/hooks/gi.py114 except Exception as e:CODE
LOWPyInstaller/utils/hooks/gi.py438 except Exception:CODE
LOWPyInstaller/utils/hooks/tcl_tk.py98 except Exception:CODE
LOWPyInstaller/utils/hooks/tcl_tk.py165 except Exception as e:CODE
LOWPyInstaller/utils/hooks/tcl_tk.py208 except Exception:CODE
LOWPyInstaller/utils/hooks/qt/__init__.py238 except Exception as e:CODE
LOWPyInstaller/utils/hooks/qt/__init__.py967 except Exception:CODE
LOWPyInstaller/utils/win32/versioninfo.py39 except Exception:CODE
81 more matches not shown…
Self-Referential Comments47 hits · 138 pts
SeverityFileLineSnippetContext
MEDIUMPyInstaller/compat.py142# The following code creates compat.is_venv and is.virtualenv that are True when running a virtual environment, and alsoCOMMENT
MEDIUM⚡PyInstaller/fake-modules/pyi_splash.py12# This module is not a "fake module" in the classical sense, but a real module that can be imported. It acts as an RPCCOMMENT
MEDIUMPyInstaller/utils/hooks/__init__.py650# This function is called in an isolated sub-process via `isolated.Python.call`.COMMENT
MEDIUMPyInstaller/utils/hooks/qt/__init__.py76# This class contains information about python module (extension), its corresponding Qt module (shared library), andCOMMENT
MEDIUMPyInstaller/utils/hooks/qt/__init__.py294 # Create a QtModuleInfo entryCOMMENT
MEDIUMPyInstaller/loader/pyimod02_importers.py342 # The following methods are part of legacy PEP302 finder interface. They have been deprecated since python 3.4,COMMENT
MEDIUMPyInstaller/loader/pyimod02_importers.py459 # The following method is part of legacy PEP302 loader interface. It has been deprecated since python 3.4, andCOMMENT
MEDIUMPyInstaller/hooks/rthooks/pyi_rth_gdkpixbuf.py26 # Create a temporary file with the cache and cleverly replace the prefix we injected with the actual path.COMMENT
MEDIUMPyInstaller/lib/modulegraph/modulegraph.py1152 # Create the referred node.COMMENT
MEDIUMPyInstaller/lib/modulegraph/__main__.py55 # Create the module finder and turn its crankCOMMENT
MEDIUMPyInstaller/isolated/_parent.py365 # Define a function to be ran in isolation.COMMENT
MEDIUMPyInstaller/isolated/_child.py55 # Define the global namespace available to the function.COMMENT
MEDIUMPyInstaller/depend/bindepend.py264 # Create the symbolic linkCOMMENT
MEDIUMPyInstaller/building/api.py156 # Create the archiveCOMMENT
MEDIUMPyInstaller/building/api.py536 # Create the CArchive PKG in WORKPATH. When instancing PKG(), set name so that guts check can test whether theCOMMENT
MEDIUMPyInstaller/building/datastruct.py42# This class is deprecated and has been replaced by plain lists with explicit normalization (de-duplication) viaCOMMENT
MEDIUM⚡PyInstaller/building/splash_templates.py18 # This function is called if a new client connects toCOMMENT
MEDIUMPyInstaller/building/splash_templates.py32 # This function is called if a command was sent throughCOMMENT
MEDIUMPyInstaller/building/splash_templates.py78 # This function is rigged to be called if the a variableCOMMENT
MEDIUMPyInstaller/building/splash_templates.py130# Create a text on the canvas, which tracks the localCOMMENT
MEDIUM⚡PyInstaller/building/osx.py456 # Create a SYMLINK entry, but only for this level. In case of nested directories with dots in names, theCOMMENT
MEDIUMPyInstaller/building/osx.py601 # Create a minimal Mac bundle structure.COMMENT
MEDIUMtests/unit/test_hookutils.py183 # Create an egg from the test package. For debug, show the output of the egg build.COMMENT
MEDIUMtests/unit/test_modulegraph_more.py141 (pkg / 'x' / 'y').mkdir(parents=True) # Create the whole package directory treeCODE
MEDIUMtests/unit/test_isolation.py208 # Creating an isolated.Python() does nothing.COMMENT
MEDIUMtests/unit/test_miscutils.py133 # Create a version info structure...COMMENT
MEDIUMtests/unit/test_miscutils.py162 # Create a local copyCOMMENT
MEDIUM⚡tests/unit/test_building_utils.py24 (tmp_path / 'existing.txt').touch() # Create a file with different name, for sanity check.CODE
MEDIUMtests/unit/test_building_utils.py71 # Create the fileCOMMENT
MEDIUMtests/unit/test_building_utils.py104 # Create the fileCOMMENT
MEDIUMtests/unit/test_winmanifest.py499 # Create a local copySTRING
MEDIUMtests/unit/test_winmanifest.py556 # Create a local copySTRING
MEDIUMtests/functional/test_linux_appimage.py47 # Create the AppImageCOMMENT
MEDIUMtests/functional/test_symlinks.py504 # Create a symbolic link at the directory levelCOMMENT
MEDIUMtests/functional/test_django.py24 # Create the exe, run django command 'check' to do basic sanity checking of the executable.COMMENT
MEDIUMtests/functional/test_macos_bundle_structure.py110 # Create a text fileSTRING
MEDIUM…sts/functional/test_binary_vs_data_reclassification.py23 # Create a text fileCOMMENT
MEDIUMtests/functional/test_regression.py45 # Create a hookCOMMENT
MEDIUMtests/functional/scripts/pyi_app_with_plugin.py31# Create the dynamic plugin in the same directory as the executable.STRING
MEDIUMtests/functional/scripts/pyi_multiprocessing_queue.py31 # Create a queue, and run a subprocess that fills it with dataCOMMENT
MEDIUM…i_excluded_subpackage/modules/mypackage/mandatory/a.py1# This module contains an "unused" function (not called from anywhere in the package itself) that adds reference to theCOMMENT
MEDIUM⚡…test_egg/pyi_egg_unzipped.egg/unzipped_egg/__init__.py12# This file is part of the package for testing eggs in `PyInstaller`.COMMENT
MEDIUM…dules/pyi_mixed_collection_mode/modules/mypackage/a.py1# This module is collected into PYZ archive.COMMENT
MEDIUM…dules/pyi_mixed_collection_mode/modules/mypackage/b.py1# This module is collected as source .py file only.COMMENT
MEDIUMtests/functional/data/sphinx/conf.py4# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdoc/conf.py4# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdoc/conf.py275# Define the canonical URL if you are using a custom domain on Read the DocsCOMMENT
Redundant / Tautological Comments44 hits · 73 pts
SeverityFileLineSnippetContext
LOWPyInstaller/compat.py125# Check if python >= 3.13 was built with Py_GIL_DISABLED / free-threading (PEP703).COMMENT
LOW⚡PyInstaller/configure.py31 # Check if we can call `upx -V`.COMMENT
LOWPyInstaller/utils/osx.py452 # Check if we are dealing with a fat binary; the `install-name-tool` seems to be unable to remove an rpath that isCOMMENT
LOWPyInstaller/utils/hooks/setuptools.py56 # Check if `setuptools._vendor` exists. Some linux distributions opt to de-vendor `setuptools` and remove theCOMMENT
LOWPyInstaller/utils/hooks/setuptools.py283 # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, becauseCOMMENT
LOWPyInstaller/utils/hooks/setuptools.py324 # Check if the package/module is a vendored copy. This also returns False is setuptools is unavailable, becauseCOMMENT
LOWPyInstaller/utils/hooks/conda.py358 # Check if this file/folder's parent is in ``sys.path`` i.e. it's directly importable. This intentionally excludesCOMMENT
LOWPyInstaller/utils/hooks/__init__.py636 # Add modules to the list of all submodulesCOMMENT
LOWPyInstaller/utils/hooks/tcl_tk.py56 # Check if Tcl/Tk is built with multi-threaded support (built with --enable-threads), as indicated by the presenceCOMMENT
LOW⚡PyInstaller/utils/hooks/tcl_tk.py370 # Check if the path corresponds to the system framework, i.e., [/System]/Library/Frameworks/Tcl.framework/TclCOMMENT
LOWPyInstaller/utils/hooks/qt/__init__.py661 # Check if QtNetwork supports SSL and has OpenSSL backend available (Qt >= 6.1).COMMENT
LOWPyInstaller/utils/hooks/qt/__init__.py1413 # Check if bindings are availableCOMMENT
LOWPyInstaller/utils/win32/versioninfo.py596 # Check if the overlay is still presentCOMMENT
LOWPyInstaller/utils/win32/winutils.py190 # Open fileCOMMENT
LOWPyInstaller/utils/win32/winresource.py54 # Open fileCOMMENT
LOWPyInstaller/utils/win32/winresource.py107 # Close fileCOMMENT
LOWPyInstaller/hooks/hook-numpy.py55# Check if we are using Anaconda-packaged numpyCOMMENT
LOW⚡PyInstaller/hooks/rthooks/pyi_rth__tkinter.py17 # Set path to Tcl and Tk library directories, if they exist.COMMENT
LOWPyInstaller/hooks/rthooks/pyi_rth_inspect.py67 # Check if given filename matches the basename of __main__'s __file__.COMMENT
LOWPyInstaller/isolated/_parent.py214 # Check if we are already running in PyInstaller's isolated subprocess, to prevent further nesting.COMMENT
LOWPyInstaller/isolated/_parent.py238 # Open file handles to talk to the child. This should fully transfer ownership of the underlying fileCOMMENT
LOWPyInstaller/depend/analysis.py419 # Check if the referrer is (was!) subject to the same rule. Because if it was and wasCOMMENT
LOWPyInstaller/depend/imphook.py430 # Check if module has hook() function.COMMENT
LOW⚡PyInstaller/depend/bindepend.py1157 # Check if the file can be opened using `pefile`.COMMENT
LOW⚡PyInstaller/building/api.py876 # Set checksum to appease antiviral software. Also set build timestamp to current time to increase entropyCOMMENT
LOWPyInstaller/building/api.py108 # Check if code cache association exists for the given TOC listCOMMENT
LOWPyInstaller/building/api.py942 # Check if src_filename points to a PE file or an arbitrary (data) file.COMMENT
LOWPyInstaller/building/api.py1060 # Check if exception is eligible for retry; if not, also check its immediate cause (in case theCOMMENT
LOWPyInstaller/building/api.py1309 # Add entry to list of kept TOC entriesCOMMENT
LOWPyInstaller/building/datastruct.py446 # Check if referenced destination file is valid (i.e., we are collecting a file under referenced name).COMMENT
LOWPyInstaller/building/utils.py677 # Check if optional cache contains module entryCOMMENT
LOWPyInstaller/building/utils.py741 # Check if .pyc file is stored in a .zip archive, as is the case for stdlib modules in embeddableCOMMENT
LOWPyInstaller/building/utils.py813 # Check if we need to divert - based on the destination base name and destination parent directory.COMMENT
LOWPyInstaller/building/splash.py134 # Check if the Tcl/Tk version is supported.COMMENT
LOWPyInstaller/building/splash.py251 # Check if all requirements were found.COMMENT
LOW⚡PyInstaller/building/splash.py330 # Check if the tkinter installation changed. This is theoretically possible if someone uses two different pythonCOMMENT
LOW⚡PyInstaller/building/splash.py339 # Check if the image has been modified.COMMENT
LOW⚡PyInstaller/building/splash.py349 # Check if PIL/pillow is available.COMMENT
LOWtests/functional/test_misc.py159 # Check if OS supports creation of symbolic linksSTRING
LOWtests/functional/test_qt.py768 # Check if particular module is importable. This guards against errors if a module is unavailable in particularSTRING
LOW⚡tests/functional/scripts/pyi_optimization.py20# Check if __debug__ is setCOMMENT
LOW⚡tests/functional/scripts/pyi_optimization.py23# Check if assert worksCOMMENT
LOW⚡…ctional/modules/pyi_optimization/mypackage/__init__.py17# Check if __debug__ is setCOMMENT
LOW⚡…ctional/modules/pyi_optimization/mypackage/__init__.py20# Check if assert worksCOMMENT
Cross-Language Confusion6 hits · 32 pts
SeverityFileLineSnippetContext
HIGHbootloader/waflib/Tools/javaw.py28 lib = null;CODE
HIGHbootloader/waflib/Tools/c_preproc.py670 state.append(undefined)CODE
HIGHPyInstaller/depend/imphook.py439 # If this attribute is undefined, expose a sane default instead.COMMENT
HIGHPyInstaller/depend/bindepend.py499 # libsomething.so without soversion has .(null) in displayed name (the .%m part of the ldd format).COMMENT
HIGHPyInstaller/depend/bindepend.py500 if name.endswith('.(null)'):CODE
HIGHtests/functional/test_splash.py128 # is_alive() should return falseSTRING
Modern Structural Boilerplate29 hits · 32 pts
SeverityFileLineSnippetContext
LOW⚡PyInstaller/configure.py21logger = logging.getLogger(__name__)CODE
LOW⚡PyInstaller/log.py15__all__ = ['getLogger', 'INFO', 'WARN', 'DEBUG', 'TRACE', 'ERROR', 'FATAL', 'DEPRECATION']CODE
LOWPyInstaller/__main__.py36logger = logging.getLogger(__name__)CODE
LOWPyInstaller/fake-modules/pyi_splash.py41__all__ = ["CLOSE_CONNECTION", "FLUSH_CHARACTER", "is_alive", "close", "update_text"]CODE
LOWPyInstaller/utils/misc.py27logger = logging.getLogger(__name__)CODE
LOWPyInstaller/utils/osx.py43logger = logging.getLogger(__name__)CODE
LOW⚡PyInstaller/utils/hooks/setuptools.py14logger = logging.getLogger(__name__)CODE
LOWPyInstaller/utils/hooks/__init__.py30logger = logging.getLogger(__name__)CODE
LOWPyInstaller/utils/hooks/gi.py25logger = logging.getLogger(__name__)CODE
LOWPyInstaller/utils/hooks/tcl_tk.py23logger = logging.getLogger(__name__)CODE
LOWPyInstaller/utils/hooks/qt/__init__.py24logger = logging.getLogger(__name__)CODE
LOWPyInstaller/utils/win32/icon.py29logger = logging.getLogger(__name__)CODE
LOW⚡PyInstaller/utils/win32/winresource.py18logger = logging.getLogger(__name__)CODE
LOWPyInstaller/hooks/hook-django.py21logger = logging.getLogger(__name__)CODE
LOW⚡PyInstaller/hooks/hook-gi.repository.Gio.py19logger = logging.getLogger(__name__)CODE
LOWPyInstaller/hooks/hook-gi.repository.Gst.py22logger = logging.getLogger(__name__)CODE
LOW⚡PyInstaller/hooks/pre_find_module_path/hook-tkinter.py15logger = logging.getLogger(__name__)CODE
LOWPyInstaller/isolated/_parent.py23logger = logging.getLogger(__name__)CODE
LOWPyInstaller/depend/analysis.py58logger = logging.getLogger(__name__)CODE
LOWPyInstaller/depend/imphook.py27logger = logging.getLogger(__name__)CODE
LOWPyInstaller/depend/bindepend.py33logger = logging.getLogger(__name__)CODE
LOWPyInstaller/depend/utils.py27logger = logging.getLogger(__name__)CODE
LOWPyInstaller/depend/dylib.py23logger = logging.getLogger(__name__)CODE
LOWPyInstaller/building/makespec.py26logger = logging.getLogger(__name__)CODE
LOWPyInstaller/building/api.py39logger = logging.getLogger(__name__)CODE
LOW⚡PyInstaller/building/datastruct.py20logger = logging.getLogger(__name__)CODE
LOWPyInstaller/building/utils.py38logger = logging.getLogger(__name__)CODE
LOWPyInstaller/building/build_main.py51logger = logging.getLogger(__name__)CODE
LOWPyInstaller/building/splash.py25logger = logging.getLogger(__name__)CODE
AI Slop Vocabulary11 hits · 23 pts
SeverityFileLineSnippetContext
MEDIUMPyInstaller/__main__.py243 # 3. User has used *run as administrator* to elevate: TokenElevationTypeFullCOMMENT
LOWPyInstaller/fake-modules/_pyi_rth_utils/_win32.py226 # but as they are at the beginning of the buffer, just pass the buffer instead...COMMENT
MEDIUMPyInstaller/utils/hooks/__init__.py1325 # Collect all dynamic libs - collect them as binaries in order to facilitate proper binary dependency analysisSTRING
LOWPyInstaller/utils/hooks/gi.py383 # If there are no schema files available, simply return the input datas TOC.COMMENT
LOWPyInstaller/utils/hooks/qt/__init__.py878 # expected to be provided by the system. So we can just use standard library path resolution with library namesCOMMENT
LOWPyInstaller/utils/win32/icon.py226 # We could continue with no icon (i.e., just return), but it seems best to terminate the build with a message.COMMENT
MEDIUMPyInstaller/hooks/rthooks/pyi_rth_inspect.py77 # facilitate matching via __file__ attribute and use of loader's `get_source`, as per the earlier commentCOMMENT
MEDIUMPyInstaller/lib/modulegraph/modulegraph.py142#leverage a named tuple -- but this should do just as well.COMMENT
MEDIUMPyInstaller/lib/modulegraph/modulegraph.py2468 #handle opcodes pertaining to global attributes (e.g.,COMMENT
MEDIUMPyInstaller/depend/imphookapi.py408 # (e.g., "hook-PIL.SpiderImagePlugin.py"). We only require this for the aforementioned hook, so contemplateCOMMENT
LOWtests/functional/scripts/pyi_c_extension.py29# Filename extensions can include several dots (e.g., '.cpython-33m.so'), so we cannot simply use os.path.splitext(),COMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHPyInstaller/utils/hooks/__init__.py1167 Collect modules and metadata for all exporters of a given entry point. Args: name: The namSTRING
HIGHPyInstaller/utils/hooks/__init__.py1273 Collect data files and binaries from the .libs directory of a delvewheel-enabled python wheel. Such wheels ship STRING
HIGHPyInstaller/isolated/_parent.py346 Call a function with arguments in a separate child Python. Retrieve its return value. Args: function: STRING
Verbosity Indicators9 hits · 15 pts
SeverityFileLineSnippetContext
LOWPyInstaller/utils/hooks/qt/__init__.py168 # The PyQt wheels come in both non-commercial and commercial variants. So we need to check if a particularCOMMENT
LOW⚡PyInstaller/building/api.py874 # Step 3: post-processingCOMMENT
LOWPyInstaller/building/api.py776 # Step 1: copy the bootloader file, and perform any operations that need to be done prior to appending the PKG.COMMENT
LOWPyInstaller/building/api.py805 # Step 2: append the PKG, if necessaryCOMMENT
LOW⚡PyInstaller/building/osx.py464 # Step 4: process the entries for collected files, and decide whether they should be placed intoCOMMENT
LOWPyInstaller/building/osx.py328 # Step 1: inspect the directory layout and classify the directories according to their contents.COMMENT
LOWPyInstaller/building/osx.py396 # Step 2: process the obtained directory structure and create symlink entries for directories that need to beCOMMENT
LOWPyInstaller/building/osx.py427 # Step 3: first part of the work-around for directories that are located in `Contents/Frameworks` but contain aCOMMENT
LOWPyInstaller/building/osx.py549 # Step 5: sanitize all destination paths in the new TOC, to ensure that paths that are rooted inCOMMENT
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡PyInstaller/building/api.py874 # Step 3: post-processingCOMMENT
LOWPyInstaller/building/api.py776 # Step 1: copy the bootloader file, and perform any operations that need to be done prior to appending the PKG.COMMENT
LOWPyInstaller/building/api.py805 # Step 2: append the PKG, if necessaryCOMMENT
LOW⚡PyInstaller/building/osx.py464 # Step 4: process the entries for collected files, and decide whether they should be placed intoCOMMENT
LOWPyInstaller/building/osx.py328 # Step 1: inspect the directory layout and classify the directories according to their contents.COMMENT
LOWPyInstaller/building/osx.py396 # Step 2: process the obtained directory structure and create symlink entries for directories that need to beCOMMENT
LOWPyInstaller/building/osx.py427 # Step 3: first part of the work-around for directories that are located in `Contents/Frameworks` but contain aCOMMENT
LOWPyInstaller/building/osx.py549 # Step 5: sanitize all destination paths in the new TOC, to ensure that paths that are rooted inCOMMENT
AI Structural Patterns13 hits · 12 pts
SeverityFileLineSnippetContext
LOWbootloader/waflib/Task.py845CODE
LOWbootloader/waflib/TaskGen.py178CODE
LOWbootloader/waflib/Tools/glib2.py77CODE
LOWbootloader/waflib/Tools/python.py112CODE
LOWbootloader/waflib/Tools/python.py129CODE
LOWPyInstaller/utils/win32/versioninfo.py202CODE
LOWPyInstaller/utils/win32/winmanifest.py194CODE
LOWPyInstaller/lib/modulegraph/modulegraph.py791CODE
LOWPyInstaller/lib/modulegraph/find_modules.py61CODE
LOWPyInstaller/depend/bindepend.py351CODE
LOWPyInstaller/building/makespec.py635CODE
LOWPyInstaller/building/api.py188CODE
LOWPyInstaller/building/build_main.py400CODE
Overly Generic Function Names7 hits · 9 pts
SeverityFileLineSnippetContext
LOWtests/functional/test_inspect.py117 EXPECTED_START = "def test_function():"CODE
LOW…multipackage-scripts/multipackage_test_pkg/__init__.py41def test_function():CODE
LOW⚡tests/functional/scripts/pyi_multiprocessing_process.py17def test_function():CODE
LOW⚡tests/functional/scripts/pyi_optimization.py33def test_function():CODE
LOW⚡…ts/functional/scripts/pyi_multiprocessing_semaphore.py16def test_function(semaphore):CODE
LOW…ional/modules/pyi_inspect_getsource/mypackage/mod_b.py4def test_function():CODE
LOW⚡…ctional/modules/pyi_optimization/mypackage/__init__.py30def test_function():CODE
Fake / Example Data4 hits · 6 pts
SeverityFileLineSnippetContext
LOWPyInstaller/utils/hooks/setuptools.py186 # Similarly, ensure that `Lorem ipsum.txt` from vendored jaraco.text is collectedCOMMENT
LOWPyInstaller/utils/hooks/setuptools.py187 vendored_data += collect_data_files('setuptools._vendor.jaraco.text', includes=['**/Lorem ipsum.txt'])CODE
LOWPyInstaller/hooks/hook-pkg_resources.py42 # In setuptools 60.7.0, the vendored jaraco.text package included "Lorem Ipsum.txt" data file, which also has to beCOMMENT
LOWPyInstaller/hooks/hook-pkg_resources.py50 # In setuptools 60.7.1, the "Lorem Ipsum.txt" data file was dropped from the vendored jaraco.text package, so we canCOMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWPyInstaller/hooks/rthooks/pyi_rth_pkgres.py158 # Use os.listdir() to avoid having to convert Path objects to strings... Also make sure to de-duplicateCOMMENT
MEDIUMtests/functional/test_signals.py116 # slowing down the test; as mentioned earlier, we expect signals to be delivered within 1 second for most of theCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/functional/test_libraries.py344 # Twisted is an event-driven networking engine.COMMENT