AI Slop Code RIsk Monitor

Nuitka/Nuitka

Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4-3.14. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.

13.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Nuitka/Nuitka, a Python project with 15,182 GitHub stars. SynthScan examined 306,851 lines of code across 1146 source files, recording 2971 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 13.7 (Moderate 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.

13.7
Adjusted Signal
13.7
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
15.2K
Stars
Python
Language
306.9K
Lines of Code
1.1K
Files
3.0K
Pattern Hits
2026-10-12
Scan Date
0.25
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 33.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 5.6/100 · LOW

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

Agent Over-Engineering Ratio 21.0/100 · LOW

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

PR Review Velocity Impact 53.0/100 · HIGH

Which changes need focused human review? 2971 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 282MEDIUM 127LOW 2562

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 2971 distinct pattern matches across 17 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.

Over-Commented Block1477 hits · 1474 pts
SeverityFileLineSnippetContext
LOWrequirements.txt21# Plugins need that, but there is an inline copy for old versions too.COMMENT
LOWrequirements.txt41# See the License for the specific language governing permissions andCOMMENT
LOWpyproject.toml61# "LICENSE-RUNTIME.txt" for additional permissions granted under Section 7.COMMENT
LOWsetup.py541)COMMENT
LOW.sourcery.yaml1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW.sourcery.yaml21#COMMENT
LOWmisc/dump-config-options.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOWmisc/dump-config-options.py21#COMMENT
LOWmisc/vscode_config_gen.py281#COMMENT
LOWmisc/make-coverage-rendering.py81 # Clean up after ourselves again.COMMENT
LOWmisc/make-coverage-rendering.py101# distributed under the License is distributed on an "AS IS" BASIS,COMMENT
LOWmisc/make-version-bump.py21# integrates with CPython, but also works on its own.COMMENT
LOWmisc/make-deb-mentors-release.py21# integrates with CPython, but also works on its own.COMMENT
LOWmisc/create-pbuilder-image.py101#COMMENT
LOWmisc/make-upload.py61# Part of "Nuitka", an optimizing Python compiler that is compatible andCOMMENT
LOWmisc/run-valgrind.py101# https://www.gnu.org/licenses/agpl-3.0.txtCOMMENT
LOWmisc/make-deb-release.py21# integrates with CPython, but also works on its own.COMMENT
LOWmisc/update-doc.py21# integrates with CPython, but also works on its own.COMMENT
LOWmisc/make-pypi-upload.py21# integrates with CPython, but also works on its own.COMMENT
LOWmisc/make-release.py61print("Finished.")COMMENT
LOWmisc/install-git-hooks.py141# https://www.gnu.org/licenses/agpl-3.0.txtCOMMENT
LOWbin/compile-python-for-nuitka-mac.sh201if [ "$CLEANUP" = true ]; thenCOMMENT
LOWbin/compile-python-for-nuitka-mac.sh221# distributed under the License is distributed on an "AS IS" BASIS,COMMENT
LOWbin/compile-python-for-nuitka-linux.sh221# You may obtain a copy of the License atCOMMENT
LOWtests/distutils/run_all.py421 except NuitkaCalledProcessError:COMMENT
LOWtests/distutils/run_all.py441# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOWtests/distutils/example_nested_namespaces_3/setup.py21#COMMENT
LOW…tutils/example_nested_namespaces_3/a/b/pkg/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…tutils/example_nested_namespaces_3/a/b/pkg/__init__.py21# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.COMMENT
LOW…3_dependencies_poetry_pyproject/pyproject.cpython.toml21requires = ["poetry-core>=1.0.0"]COMMENT
LOW…_3_dependencies_poetry_pyproject/pyproject.nuitka.toml21requires = ["nuitka", "poetry-core>=1.0.0"]COMMENT
LOW…ls/example_3_dependencies_poetry_pyproject/src/main.py21# indicated.COMMENT
LOW…ts/distutils/example_package_and_module/some_module.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…ts/distutils/example_package_and_module/some_module.py21# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.COMMENT
LOWtests/distutils/example_package_and_module/setup.py21COMMENT
LOW…ls/example_package_and_module/some_package/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…ls/example_package_and_module/some_package/__init__.py21# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOW…s/distutils/example_3_pyproject/pyproject.cpython.toml21[tool.setuptools.packages.find]COMMENT
LOW…ts/distutils/example_3_pyproject/pyproject.nuitka.toml21[tool.setuptools.packages.find]COMMENT
LOW…_pyproject/src/some_namespace/some_package/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…_pyproject/src/some_namespace/some_package/__init__.py21#COMMENT
LOW…rc/some_namespace/some_package/sub_package/__init__.py21# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWtests/distutils/example_multiple_packages/setup.py21 "other_package_a",COMMENT
LOWtests/distutils/example_multiple_packages/setup.py41# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.COMMENT
LOW…sts/distutils/example_multiple_packages/main_module.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…sts/distutils/example_multiple_packages/main_module.py21# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.COMMENT
LOW…ils/example_multiple_packages/some_package/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…ils/example_multiple_packages/some_package/__init__.py21# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOW…ls/example_multiple_packages/other_package/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…ls/example_multiple_packages/other_package/__init__.py21# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOW…s/example_multiple_packages/some_package_b/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…s/example_multiple_packages/some_package_b/__init__.py21# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOW…/example_multiple_packages/other_package_a/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…/example_multiple_packages/other_package_a/__init__.py21# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOW…s/example_multiple_packages/some_package_a/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…s/example_multiple_packages/some_package_a/__init__.py21# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOWtests/distutils/example_3_setuptools_3/setup.py21# it's copied from other people. In these cases, that will normally beCOMMENT
LOW…stutils/example_3_setuptools_3/outer/inner/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.comCOMMENT
LOW…s/distutils/example_3_setuptools_3/outer/inner/main.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…s/distutils/example_3_setuptools_3/outer/inner/main.py21#COMMENT
1417 more matches not shown…
Empty Error Handlers134 hits · 648 pts
SeverityFileLineSnippetContext
HIGHsetup.py311except AttributeError:CODE
HIGHsetup.py363except AttributeError:CODE
HIGH…tutils/example_5_versioneer_setuptools_3/versioneer.py66except (tomllib.TOMLDecodeError, KeyError):CODE
HIGHtests/basics/GeneratorExpressionsTest.py66except AttributeError:CODE
HIGHtests/basics/ReferencingTest33.py53except (ValueError, TypeError):CODE
HIGHtests/basics/ReferencingTest33.py70except Exception: # different to Nuitka, pylint: disable=broad-exceptCODE
HIGHtests/basics/ReferencingTest33.py121except KeyError as e: # on purpose, pylint: disable=unused-variableCODE
HIGHtests/basics/ReferencingTest33.py195except TypeError:CODE
HIGHtests/basics/ReferencingTest33.py218except Exception: # pylint: disable=broad-exceptCODE
HIGHtests/basics/ReferencingTest33.py230except Exception: # pylint: disable=broad-exceptCODE
HIGHtests/basics/ReferencingTest33.py271except ValueError:CODE
HIGHtests/basics/ReferencingTest33.py287except TypeError:CODE
HIGHtests/basics/ReferencingTest33.py318except TypeError:CODE
HIGHtests/basics/ReferencingTest33.py349except GeneratorExit:CODE
HIGHtests/basics/ReferencingTest33.py351except TypeError:CODE
HIGHtests/basics/ReferencingTest33.py400except TypeError:CODE
HIGHtests/basics/ReferencingTest27.py40except NameError:CODE
HIGHtests/basics/ReferencingTest27.py51except NameError:CODE
HIGHtests/basics/FunctionsTest.py208except TypeError:CODE
HIGHtests/basics/ReferencingTest.py139except TypeError as _e:CODE
HIGHtests/basics/ReferencingTest.py144except TypeError:CODE
HIGHtests/basics/ReferencingTest.py161except:CODE
HIGHtests/basics/ReferencingTest.py206except IndexError as _e:CODE
HIGHtests/basics/ReferencingTest.py328except:CODE
HIGHtests/basics/ReferencingTest.py335except:CODE
HIGHtests/basics/ReferencingTest.py342except TypeError:CODE
HIGHtests/basics/ReferencingTest.py351except ValueError:CODE
HIGHtests/basics/ReferencingTest.py411except:CODE
HIGHtests/basics/ReferencingTest.py461except ValueError as _e:CODE
HIGHtests/basics/ReferencingTest.py470except ValueError as _e:CODE
HIGHtests/basics/ReferencingTest.py479except TypeError as _e:CODE
HIGHtests/basics/ReferencingTest.py489except TypeError as _e:CODE
HIGHtests/basics/ReferencingTest.py498except ValueError as _e:CODE
HIGHtests/basics/ReferencingTest.py510except ValueError as _e:CODE
HIGHtests/basics/ReferencingTest.py564except Exception:CODE
HIGHtests/basics/ReferencingTest.py652except Exception:CODE
HIGHtests/basics/ReferencingTest.py682except RuntimeError:CODE
HIGHtests/basics/ReferencingTest.py956except TypeError:CODE
HIGHtests/basics/ReferencingTest.py1040except UnicodeDecodeError:CODE
HIGHtests/basics/ReferencingTest.py1099except TypeError:CODE
HIGHtests/basics/ReferencingTest.py1107except TypeError:CODE
HIGHtests/basics/ReferencingTest.py1133except TypeError:CODE
HIGHtests/basics/ReferencingTest.py1141except TypeError:CODE
HIGHtests/basics/ReferencingTest.py621except Exception:CODE
HIGHtests/basics/ReferencingTest.py1045except Exception:CODE
HIGHtests/basics/ReferencingTest.py1049except Exception:CODE
HIGHtests/basics/ReferencingTest.py641except Exception:CODE
HIGHtests/basics/ReferencingTest.py705except MyException:CODE
HIGHtests/basics/ReferencingTest36.py74except StopAsyncIteration:CODE
HIGHtests/basics/ReferencingTest36.py135except StopIteration as _ex:CODE
HIGHtests/basics/ReferencingTest36.py209except asyncio.CancelledError:CODE
HIGHtests/basics/ReferencingTest36.py213except asyncio.CancelledError:CODE
HIGHtests/basics/ReferencingTest36.py239except ZeroDivisionError:CODE
HIGHtests/basics/ReferencingTest36.py64except: # pylint: disable=bare-exceptCODE
HIGHtests/basics/TryExceptFinallyTest.py92except:CODE
HIGHtests/basics/ReferencingTest35.py102except RuntimeError:CODE
HIGHtests/basics/ReferencingTest35.py139except TypeError:CODE
HIGHtests/basics/ReferencingTest35.py172except FileNotFoundError:CODE
HIGHtests/basics/ReferencingTest35.py203except TypeError:CODE
HIGHtests/basics/ExceptionRaisingTest32.py166except:CODE
74 more matches not shown…
Deep Nesting433 hits · 424 pts
SeverityFileLineSnippetContext
LOWsetup.py316CODE
LOWtests/distutils/run_all.py121CODE
LOWtests/basics/OrderChecksTest.py532CODE
LOWtests/basics/OrderChecksTest.py597CODE
LOWtests/basics/LoopingTest.py17CODE
LOWtests/basics/run_all.py35CODE
LOWtests/PyPI-pytest/run_all.py67CODE
LOWtests/library/check_yaml_anti_bloat_modules.py48CODE
LOWtests/library/compile_extension_modules.py100CODE
LOWtests/pgo/run_all.py38CODE
LOWtests/programs/run_all.py132CODE
LOWtests/programs/multiprocessing_using/foo/entry.py13CODE
LOWtests/optimizations/run_all.py168CODE
LOWtests/reflected/compile_itself.py301CODE
LOWtests/reflected/compile_itself.py429CODE
LOWtests/benchmarks/pystone3.py213CODE
LOWtests/benchmarks/pybench/Constructs.py12CODE
LOWtests/benchmarks/pybench/Constructs.py479CODE
LOWlib/hints.py76CODE
LOWnuitka/PythonOperators.py112CODE
LOWnuitka/PythonOperators.py159CODE
LOWnuitka/Tracing.py78CODE
LOWnuitka/SourceCodeReferences.py46CODE
LOWnuitka/PythonFlavors.py101CODE
LOWnuitka/PythonFlavors.py305CODE
LOWnuitka/PythonFlavors.py482CODE
LOWnuitka/PythonVersions.py491CODE
LOWnuitka/PythonVersions.py646CODE
LOWnuitka/PythonVersions.py693CODE
LOWnuitka/Variables.py489CODE
LOWnuitka/Variables.py252CODE
LOWnuitka/Variables.py267CODE
LOWnuitka/Constants.py37CODE
LOWnuitka/Constants.py134CODE
LOWnuitka/Constants.py204CODE
LOWnuitka/Constants.py260CODE
LOWnuitka/Constants.py305CODE
LOWnuitka/Constants.py406CODE
LOWnuitka/HardImportRegistry.py267CODE
LOWnuitka/MainControl.py491CODE
LOWnuitka/Bytecodes.py31CODE
LOWnuitka/PostProcessing.py138CODE
LOWnuitka/Progress.py322CODE
LOWnuitka/Progress.py466CODE
LOWnuitka/__main__.py88CODE
LOWnuitka/Serialization.py90CODE
LOWnuitka/Serialization.py197CODE
LOWnuitka/OutputDirectories.py225CODE
LOWnuitka/tree/SourceHandling.py130CODE
LOWnuitka/tree/SourceHandling.py253CODE
LOWnuitka/tree/SourceHandling.py373CODE
LOWnuitka/tree/ReformulationSubscriptExpressions.py27CODE
LOWnuitka/tree/VariableClosure.py90CODE
LOWnuitka/tree/VariableClosure.py139CODE
LOWnuitka/tree/VariableClosure.py257CODE
LOWnuitka/tree/VariableClosure.py365CODE
LOWnuitka/tree/VariableClosure.py459CODE
LOWnuitka/tree/Building.py346CODE
LOWnuitka/tree/Building.py656CODE
LOWnuitka/tree/Building.py696CODE
373 more matches not shown…
Docstring Block Structure77 hits · 385 pts
SeverityFileLineSnippetContext
HIGH.agents/rules/coding-standards.md20Brief one-line summary. Notes: Detailed explanation (optional). Args: arg1: DeSTRING
HIGHnuitka/Builtins.py73Get the C identifier of a built-in exception name. Notes: Usually that is the name prefixed with "PyExc_", STRING
HIGHnuitka/MainControl.py401Pick the names for the C files of each module. Args: source_dir - the externally usable directory to put moSTRING
HIGHnuitka/Policies.py27Decide how to check PGO data for a class dictionary. Args: static_qualname: Statically known qualified nameSTRING
HIGHnuitka/Policies.py58Decide if imports can be lowered to fixed imports. Args: module_name: Name of the imported module. NotSTRING
HIGHnuitka/Policies.py82Decide if not found imports can be dropped from the imports. Args: module_name: Name of the imported moduleSTRING
HIGHnuitka/tools/quality/pyright/Pyright.py24Find the pyright binary on the system. Args: basedpyright: If True, look for 'basedpyright' instead of 'pyrSTRING
HIGHnuitka/specs/ParameterSpecs.py330Match a call arguments to a signature. Args: func_name - Name of the function being matched, used to constrSTRING
HIGHnuitka/plugins/Plugins.py281Decide if a plugin is active. Args: plugin_name - name of the plugin Notes: Detectors do not cSTRING
HIGHnuitka/plugins/Plugins.py1532Let plugins decide whether to suppress import warnings for an unknown module. Notes: If all pluginsSTRING
HIGHnuitka/plugins/Plugins.py2336Activate selected plugin classes Args: None Notes: This creates actual plugin instances, beforSTRING
HIGHnuitka/plugins/Hooks.py298Let plugins decide whether to suppress import warnings for an unknown module. Notes: If all plugins return STRING
HIGHnuitka/plugins/PluginBase.py570Indicate whether an implicitly imported module should be accepted. Notes: You may negate importing STRING
HIGHnuitka/plugins/PluginBase.py597Return a compile-time constant value for a module-level variable. Notes: During tree building, whenSTRING
HIGHnuitka/plugins/PluginBase.py618Inspect or modify source code. Args: module_name: (str) name of module source_code: (stSTRING
HIGHnuitka/plugins/PluginBase.py669Create code to execute before importing a module. Notes: Called by @onModuleDiscovered. ArSTRING
HIGHnuitka/plugins/PluginBase.py686Create code to execute after loading to a module. Notes: Called by @onModuleDiscovered. ArSTRING
HIGHnuitka/plugins/PluginBase.py704Create module to depend on. Notes: Called by @onModuleDiscovered. Args: moduleSTRING
HIGHnuitka/plugins/PluginBase.py722Create a virtual module for a module name that was not found. Notes: Called when module location reSTRING
HIGHnuitka/plugins/PluginBase.py758Called with a module to be loaded. Notes: We may specify code to be prepended and/or appended to thSTRING
HIGHnuitka/plugins/PluginBase.py866Provide extra modules during the optimization module loop. Args: module_names - tuple of module namSTRING
HIGHnuitka/plugins/PluginBase.py881Provide extra modules to the initial root module set. Args: module_set - tuple of modules RSTRING
HIGHnuitka/plugins/PluginBase.py1279Decide whether to compile a module (or just use its bytecode). Notes: The first plugin not returninSTRING
HIGHnuitka/plugins/PluginBase.py1326Decide which C defines to be used in compilation. Notes: The plugins can each contribute, but are hSTRING
HIGHnuitka/plugins/standard/TkinterPlugin.py127This method is called with a module that will be imported. Notes: If the word "tkinter" occurs in iSTRING
HIGHnuitka/plugins/standard/TkinterPlugin.py384Provide TCL libraries to the dist folder. Notes: We will provide the copy the TCL/TK directories toSTRING
HIGHnuitka/plugins/standard/TkinterPlugin.py549This method checks the source code Notes: We only use it to check whether this is the main module, STRING
HIGHnuitka/plugins/standard/DataFilesPlugin.py264Get dirnames in given subdirectories of the module. Notes: All dirnames in folders below one of theSTRING
HIGHnuitka/plugins/standard/PySidePyQtPlugin.py902Method called when a module is being imported. Notes: If full name equals to the binding we insert STRING
HIGHnuitka/plugins/standard/MatplotlibPlugin.py203Method called when a module is being imported. Notes: If full name equals "matplotlib" we insert coSTRING
HIGHnuitka/freezer/IncludedDataFiles.py111Convert tags argument to an OrderedSet. Notes: In many places, strings are accepted for tags, convert to OrSTRING
HIGHnuitka/freezer/IncludedDataFiles.py348Check if a filename is ignored as a data file by Nuitka. Notes: Nuitka ignores files like 'py.typed' or '.pSTRING
HIGHnuitka/freezer/IncludedDataFiles.py611Create an included data file for a build-generated file already in place. Notes: Use this for files produceSTRING
HIGHnuitka/freezer/IncludedDataFiles.py1173Copy the data files needed for standalone distribution. Notes: This is for data files only, not DLLs or eveSTRING
HIGHnuitka/freezer/IncludedEntryPoints.py533Get the standalone entry point for a source file in any package. Args: source_path: The source path to lookSTRING
HIGHnuitka/freezer/DllDependenciesWin32DependsExe.py156Check if a path can be handled by 'depends.exe'. Args: path: Path to be checked. encoding: The ANSISTRING
HIGHnuitka/utils/Signing.py177Unlock a macOS keychain for codesign without dirtying the original. Args: signing_keychain_filename: OriginSTRING
HIGHnuitka/utils/Signing.py263Add the code signature to filenames. Args: filenames - The filenames to be signed. entitlements_filSTRING
HIGHnuitka/utils/Execution.py396Wrap a command for system debugger to call exec Args: command: (iterable of str) args for call to be debuggSTRING
HIGHnuitka/utils/Execution.py511Wrap a command for system debugger with subprocess module. Args: args: (list of str) args for call to be deSTRING
HIGHnuitka/utils/Execution.py573Get command prefix to run a tool in the architecture it needs. Args: tool: The tool name or path that is toSTRING
HIGHnuitka/utils/Importing.py59Import Python module given as a file name. Notes: Provides a Python version independent way to import any sSTRING
HIGHnuitka/utils/Importing.py168Given a filename, decide the module name and kind. Args: module_name - file path of the module Returns:STRING
HIGHnuitka/utils/Importing.py321List directory entries with duplicate modules resolved. Args: path: The directory to list. package_STRING
HIGHnuitka/utils/WindowsResources.py222Copy resources from one file to another. Args: source_filename - filename where the resources are taken froSTRING
HIGHnuitka/utils/Shebang.py11Given source code, extract the shebang (#!) part. Notes: This function is less relevant on Windows, becauseSTRING
HIGHnuitka/utils/Shebang.py38Given a filename, extract the shebang (#!) part from it. Notes: This function is less relevant on Windows, STRING
HIGHnuitka/utils/Shebang.py67Given a concrete shebang value, it will extract the binary used. Notes: This function is less relevant on WSTRING
HIGHnuitka/utils/ModuleNames.py67Create a module name in a package. Args: - module_name (str or ModuleName) module name to put belowSTRING
HIGHnuitka/utils/SharedLibraries.py350Parse the Import File Strings section of 'dump -H' output. Args: output: The stdout of 'dump -H <filename>'STRING
HIGHnuitka/utils/SharedLibraries.py590Detect the shared libraries needed by a COFF (AIX) binary. Uses 'dump -H' to determine which shared libraries are iSTRING
HIGHnuitka/utils/SharedLibraries.py675Detect the shared libraries needed by a COFF (AIX) binary. Uses 'dump -H' to determine which shared libraries are iSTRING
HIGHnuitka/utils/SharedLibraries.py995Update the macOS shared library information for a binary or shared library. Adds the rpath path name `rpath` in theSTRING
HIGHnuitka/utils/SharedLibraries.py1047Find the pywin32 DLL directory Args: None Returns: path to the pywin32 DLL directory or None STRING
HIGHnuitka/utils/SharedLibraries.py1179Does the given file contain the given architecture. Args: filename: Filename to inspect. architectuSTRING
HIGHnuitka/utils/FileOperations.py127Decide if two paths the same. Args: path1: First path path2: Second path Returns: BoolSTRING
HIGHnuitka/utils/FileOperations.py223Make it a relative path, if possible. Args: path: path to work on start: where to start from, defauSTRING
HIGHnuitka/utils/FileOperations.py428Get os.path.realpath with Python2 and Windows symlink workaround applied. Args: path: path to get realpath STRING
HIGHnuitka/utils/FileOperations.py491Get os.path.realpath with Python2 and Windows symlink workaround applied. Args: path: path to get realpath STRING
HIGHnuitka/utils/FileOperations.py520Give a sorted listing of a path. Args: path: directory to create a listing from ignore_permission_eSTRING
17 more matches not shown…
Excessive Try-Catch Wrapping279 hits · 354 pts
SeverityFileLineSnippetContext
MEDIUMmisc/vscode_config_gen.py65 print("Error: vswhere.exe not found.")CODE
MEDIUMmisc/vscode_config_gen.py89 print("Error: Failed to run vswhere.exe")CODE
MEDIUMmisc/vscode_config_gen.py93 print("Error: No suitable Visual Studio installation found.")CODE
MEDIUMmisc/vscode_config_gen.py112 print("Error: No MSVC versions found.")CODE
MEDIUMmisc/vscode_config_gen.py115 print("Error: MSVC directory not found.")CODE
MEDIUMmisc/vscode_config_gen.py129 print(f"Error: Compiler not found at {compiler_path}")CODE
MEDIUM…tutils/example_5_uv_pyproject/src/example_uv/runner.py35 print("Error: data_included.txt missing in example_uv.subpackage")CODE
MEDIUM…/example_6_uv_pyproject_flat/example_uv_flat/runner.py32 print("Error: data_included.txt missing in example_uv_flat.subpackage")CODE
LOW⚡tests/basics/OrderChecksTest.py374 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py384 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py392 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py400 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py405 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py429 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py437 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py445 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py450 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py464 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py472 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py480 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py488 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py496 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py504 except Exception as e:CODE
LOW⚡tests/basics/OrderChecksTest.py512 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py182 except Exception as e:CODE
MEDIUMtests/basics/BuiltinsTest.py792 print("Error: sorted accepted 'iterable' keyword arg!")CODE
MEDIUMtests/basics/BuiltinsTest.py806 print("Error: zip accepted 'iterables' keyword arg!")CODE
LOW⚡tests/basics/BuiltinsTest.py257except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py264except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py271except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py320except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py328except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py333except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py338except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py343except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py348except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py353except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py679except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py685except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py691except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py717except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py723except Exception as e:CODE
LOW⚡tests/basics/BuiltinsTest.py729except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py33 except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py51 except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py289except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py294except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py385except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py406except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py411except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py648except Exception as e:CODE
LOWtests/basics/OperatorsTest.py77except Exception as e:CODE
LOW⚡tests/basics/YieldFromTest33.py47 except Exception as e:CODE
LOW⚡tests/basics/YieldFromTest33.py55 except Exception as e:CODE
LOW⚡tests/basics/YieldFromTest33.py65 except Exception as e:CODE
LOWtests/basics/ReferencingTest33.py70 except Exception: # different to Nuitka, pylint: disable=broad-exceptCODE
LOWtests/basics/ReferencingTest33.py218 except Exception: # pylint: disable=broad-exceptCODE
LOWtests/basics/ReferencingTest33.py230 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMtests/basics/ReferencingTest33.py57def simpleFunction3():CODE
MEDIUMtests/basics/ReferencingTest33.py152def simpleFunction11():CODE
219 more matches not shown…
Unused Imports341 hits · 310 pts
SeverityFileLineSnippetContext
LOW…ls/example_3_dependencies_poetry_pyproject/src/main.py4CODE
LOW…ts/distutils/example_package_and_module/some_module.py4CODE
LOW…ls/example_package_and_module/some_package/__init__.py6CODE
LOW…_pyproject/src/some_namespace/some_package/__init__.py4CODE
LOW…rc/some_namespace/some_package/sub_package/__init__.py4CODE
LOW…sts/distutils/example_multiple_packages/main_module.py4CODE
LOW…ils/example_multiple_packages/some_package/__init__.py6CODE
LOW…ls/example_multiple_packages/other_package/__init__.py6CODE
LOW…s/example_multiple_packages/some_package_b/__init__.py6CODE
LOW…/example_multiple_packages/other_package_a/__init__.py6CODE
LOW…s/example_multiple_packages/some_package_a/__init__.py6CODE
LOW…sts/distutils/example_2_setuptools/package1/module1.py5CODE
LOW…sts/distutils/example_2_setuptools/package1/module2.py4CODE
LOW…ample_2_setuptools/package1/subpackage1/submodule11.py4CODE
LOW…ample_2_setuptools/package1/subpackage2/submodule21.py4CODE
LOW…ts/distutils/example_pymodules_only/py_modules_only.py5CODE
LOW…mple_4_dependencies_pyproject/src/example4/__init__.py4CODE
LOWtests/basics/OrderChecksTest.py4CODE
LOWtests/basics/GeneratorExpressionsTest.py6CODE
LOWtests/basics/InspectionTest.py6CODE
LOWtests/basics/ModuleAttributesTest.py8CODE
LOWtests/basics/BuiltinsTest.py11CODE
LOWtests/basics/OperatorsTest.py4CODE
LOWtests/basics/InplaceOperationsTest.py4CODE
LOWtests/basics/DecoratorsTest.py4CODE
LOWtests/basics/FutureTest32.py4CODE
LOWtests/basics/ClassesTest.py4CODE
LOWtests/basics/ComparisonChainsTest.py6CODE
LOWtests/basics/BuiltinSuperTest.py13CODE
LOWtests/basics/ImportingTest.py4CODE
LOWtests/basics/ImportingTest.py37CODE
LOWtests/basics/ImportingTest.py48CODE
LOWtests/basics/ImportingTest.py67CODE
LOWtests/basics/FunctionsTest.py6CODE
LOWtests/basics/AssertsTest.py6CODE
LOWtests/basics/LoopingTest.py6CODE
LOWtests/basics/TryExceptFinallyTest.py4CODE
LOWtests/basics/LambdasTest.py4CODE
LOWtests/basics/GlobalStatementTest.py4CODE
LOWtests/basics/DoubleDeletionsTest.py4CODE
LOWtests/basics/TryContinueFinallyTest.py4CODE
LOWtests/basics/FunctionObjectsTest.py6CODE
LOWtests/basics/MainProgramsTest.py4CODE
LOWtests/basics/ListContractionsTest.py6CODE
LOWtests/basics/BranchingTest.py6CODE
LOWtests/basics/NestedLoopsTest27.py6CODE
LOWtests/basics/ConstantsTest.py8CODE
LOWtests/basics/ExtremeClosureTest.py6CODE
LOWtests/basics/LateClosureAssignmentTest.py4CODE
LOWtests/basics/CoroutinesTest35.py7CODE
LOWtests/basics/TryExceptContinueTest.py4CODE
LOWtests/basics/OrderChecksTest27.py4CODE
LOWtests/basics/TryReturnFinallyTest.py7CODE
LOWtests/basics/TryExceptFramesTest.py4CODE
LOWtests/basics/BuiltinOverload.py4CODE
LOWtests/basics/BigIntOperationsTest.py6CODE
LOWtests/basics/run_xml.py5CODE
LOWtests/basics/run_xml.py20CODE
LOWtests/basics/run_xml.py23CODE
LOWtests/basics/AssignmentsTest.py6CODE
281 more matches not shown…
Cross-File Repetition62 hits · 310 pts
SeverityFileLineSnippetContext
HIGH…ls/example_package_and_module/some_package/__init__.py0module to be imported and report its name as evidence of usage.STRING
HIGH…ils/example_multiple_packages/some_package/__init__.py0module to be imported and report its name as evidence of usage.STRING
HIGH…ls/example_multiple_packages/other_package/__init__.py0module to be imported and report its name as evidence of usage.STRING
HIGH…s/example_multiple_packages/some_package_b/__init__.py0module to be imported and report its name as evidence of usage.STRING
HIGH…/example_multiple_packages/other_package_a/__init__.py0module to be imported and report its name as evidence of usage.STRING
HIGH…s/example_multiple_packages/some_package_a/__init__.py0module to be imported and report its name as evidence of usage.STRING
HIGHtests/basics/ReferencingTest33.py0reference counting tests for features of python3.5 or higher. these contain functions that do specific things, where we STRING
HIGHtests/basics/ReferencingTest36.py0reference counting tests for features of python3.5 or higher. these contain functions that do specific things, where we STRING
HIGHtests/basics/ReferencingTest312.py0reference counting tests for features of python3.5 or higher. these contain functions that do specific things, where we STRING
HIGHtests/basics/ReferencingTest35.py0reference counting tests for features of python3.5 or higher. these contain functions that do specific things, where we STRING
HIGHnuitka/tree/ReformulationImportStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationClasses.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationForLoopStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationWithStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationCallExpressions.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationPrintStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationAssertStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationTryFinallyStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationFunctionStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationAssignmentStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationComparisonExpressions.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationContractionExpressions.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationLambdaExpressions.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationTryExceptStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationExecStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationBooleanExpressions.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationMatchStatements.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tree/ReformulationClasses3.py0reformulation of boolean and/or expressions. consult the developer manual for information. todo: add ability to sync souSTRING
HIGHnuitka/tools/quality/pylint/__main__.py0allow download and execution of tools if needed. default is %default.STRING
HIGHnuitka/tools/quality/codespell/__main__.py0allow download and execution of tools if needed. default is %default.STRING
HIGHnuitka/tools/quality/restlint/__main__.py0allow download and execution of tools if needed. default is %default.STRING
HIGHnuitka/tools/quality/yamllint/__main__.py0allow download and execution of tools if needed. default is %default.STRING
HIGHnuitka/tools/quality/auto_format/__main__.py0allow download and execution of tools if needed. default is %default.STRING
HIGHnuitka/nodes/HardImportNodesGenerated.py0specialized attribute nodes warning, this code is generated. modify the template builtinoperationnodebases.py.j2 insteadSTRING
HIGHnuitka/nodes/ChildrenHavingMixins.py0specialized attribute nodes warning, this code is generated. modify the template builtinoperationnodebases.py.j2 insteadSTRING
HIGHnuitka/nodes/ExpressionBasesGenerated.py0specialized attribute nodes warning, this code is generated. modify the template builtinoperationnodebases.py.j2 insteadSTRING
HIGHnuitka/nodes/StatementBasesGenerated.py0specialized attribute nodes warning, this code is generated. modify the template builtinoperationnodebases.py.j2 insteadSTRING
HIGHnuitka/nodes/AttributeNodesGenerated.py0specialized attribute nodes warning, this code is generated. modify the template builtinoperationnodebases.py.j2 insteadSTRING
HIGHnuitka/nodes/BuiltinOperationNodeBasesGenerated.py0specialized attribute nodes warning, this code is generated. modify the template builtinoperationnodebases.py.j2 insteadSTRING
HIGHnuitka/nodes/ChildrenHavingMixins.py0named children dictionary. for use in cloning nodes, debugging and xml output.STRING
HIGHnuitka/nodes/ExpressionBasesGenerated.py0named children dictionary. for use in cloning nodes, debugging and xml output.STRING
HIGHnuitka/nodes/StatementBasesGenerated.py0named children dictionary. for use in cloning nodes, debugging and xml output.STRING
HIGHnuitka/nodes/ChildrenHavingMixins.py0get clones of all children to pass for a new node. needs to make clones of child nodes too.STRING
HIGHnuitka/nodes/ExpressionBasesGenerated.py0get clones of all children to pass for a new node. needs to make clones of child nodes too.STRING
HIGHnuitka/nodes/StatementBasesGenerated.py0get clones of all children to pass for a new node. needs to make clones of child nodes too.STRING
HIGHnuitka/nodes/GeneratorNodes.py0nodes for async generator objects and their creations. async generator are turned into normal functions that create geneSTRING
HIGHnuitka/nodes/CoroutineNodes.py0nodes for async generator objects and their creations. async generator are turned into normal functions that create geneSTRING
HIGHnuitka/nodes/AsyncgenNodes.py0nodes for async generator objects and their creations. async generator are turned into normal functions that create geneSTRING
HIGHnuitka/plugins/Plugins.py0provide a list of directories, where dlls should be searched for this package (or module). args: module_name: name of a STRING
HIGHnuitka/plugins/Hooks.py0provide a list of directories, where dlls should be searched for this package (or module). args: module_name: name of a STRING
HIGHnuitka/plugins/PluginBase.py0provide a list of directories, where dlls should be searched for this package (or module). args: module_name: name of a STRING
HIGHnuitka/plugins/Plugins.py0provide a list of directories, that should be considered in 'pythonpath' when this module is used. args: module_name: naSTRING
HIGHnuitka/plugins/Hooks.py0provide a list of directories, that should be considered in 'pythonpath' when this module is used. args: module_name: naSTRING
HIGHnuitka/plugins/PluginBase.py0provide a list of directories, that should be considered in 'pythonpath' when this module is used. args: module_name: naSTRING
HIGHnuitka/plugins/standard/SpacyPlugin.py0this class represents the main logic of the plugin.STRING
HIGHnuitka/plugins/standard/PlaywrightPlugin.py0this class represents the main logic of the plugin.STRING
HIGHnuitka/plugins/standard/KivyPlugin.py0this class represents the main logic of the plugin.STRING
HIGHnuitka/plugins/standard/PywebViewPlugin.py0this class represents the main logic of the plugin.STRING
HIGHnuitka/plugins/standard/GeventPlugin.py0this class represents the main logic of the plugin.STRING
HIGHnuitka/plugins/standard/KivyPlugin.py0one time only check: may this plugin be required? returns: true if this is a standalone compilation.STRING
2 more matches not shown…
Self-Referential Comments35 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMmisc/nuitka-completion.bash6# This file is in the public domain.COMMENT
MEDIUMmisc/nuitka-completion.zsh5# This file is in the public domain.COMMENT
MEDIUMtests/distutils/run_all.py270 # Create the wheel or standalone binary with Nuitka compilation.COMMENT
MEDIUM…ple_5_versioneer_setuptools_3/some_package/_version.py10# This file is released into the public domain.COMMENT
MEDIUMnuitka/tree/ReformulationClasses.py64 # This function is the Python2 special case with special re-formulation asCOMMENT
MEDIUMnuitka/tree/ComplexCallHelperFunctions.py4"""This module is providing helper functions for complex call re-formulations.STRING
MEDIUMnuitka/tree/ReformulationAssignmentStatements.py667 # This function is a case driven by returns, pylint: disable=too-many-return-statementsCOMMENT
MEDIUMnuitka/tree/ReformulationClasses3.py220 # This function is the Python3 special case with special re-formulation asCOMMENT
MEDIUMnuitka/tools/testing/Common.py251 # Create a temporary directory to work in, automatically remove it in caseCOMMENT
MEDIUMnuitka/nodes/LocalsDictNodes.py185 # Create a cloned node with the locals variable.COMMENT
MEDIUMnuitka/nodes/TypeNodes.py87 # The above code is supposed to catch these in a better way.COMMENT
MEDIUMnuitka/plugins/standard/UpxPlugin.py20 """This class represents the main logic of the UPX plugin.STRING
MEDIUMnuitka/plugins/standard/SpacyPlugin.py18 """This class represents the main logic of the plugin."""STRING
MEDIUMnuitka/plugins/standard/PlaywrightPlugin.py21 """This class represents the main logic of the plugin."""STRING
MEDIUMnuitka/plugins/standard/GlfwPlugin.py23 """This class represents the main logic of the glfw plugin.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py31 """This class represents the main logic of the TkInter plugin.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py119 """This method is called one time only to check, whether the plugin might make sense at all.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py127 """This method is called with a module that will be imported.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py149 # The following code will be executed before importing the module.COMMENT
MEDIUMnuitka/plugins/standard/TkinterPlugin.py326 # Create a filtered zip file ourselves, do not expand to many individualCOMMENT
MEDIUMnuitka/plugins/standard/TkinterPlugin.py541 """This method is called one time only to check, whether the plugin might make sense at all.STRING
MEDIUMnuitka/plugins/standard/KivyPlugin.py11 """This class represents the main logic of the plugin."""STRING
MEDIUMnuitka/plugins/standard/MatplotlibPlugin.py25 """This class represents the main logic of the plugin.STRING
MEDIUMnuitka/plugins/standard/PywebViewPlugin.py15 """This class represents the main logic of the plugin."""STRING
MEDIUMnuitka/plugins/standard/DelvewheelPlugin.py23 """This class represents the main logic of the delvewheel plugin.STRING
MEDIUMnuitka/plugins/standard/GeventPlugin.py11 """This class represents the main logic of the plugin."""STRING
MEDIUMnuitka/freezer/Onefile.py307 # Create the bootstrap binary for unpacking.COMMENT
MEDIUMnuitka/utils/SharedLibraries.py65 # This function is a case driven by returns, pylint: disable=too-many-return-statementsCOMMENT
MEDIUMnuitka/utils/Profiling.py198 # Create the instruction counter as the group leader.COMMENT
MEDIUMnuitka/utils/Profiling.py203 # Create the cycle counter as a member of the same group.COMMENT
MEDIUMnuitka/code_generation/ModuleCodes.py135 # Create the always identical, but dynamic filename first thing.COMMENT
MEDIUMnuitka/containers/OrderedSets.py1"""This module is only an abstraction of OrderedSet which is not present inSTRING
MEDIUMnuitka/containers/OrderedDicts.py1"""This module is only an abstraction of OrderedDict as present in 2.7 and 3.x.STRING
MEDIUMnuitka/containers/OrderedSetsFallback.py4"""This module is only an abstraction of OrderedSet which is not present inSTRING
MEDIUMnuitka/containers/Namedtuples.py4"""This module is only an abstraction of namedtuple.STRING
Decorative Section Separators23 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMtests/basics/NestedLoopsTest27.py178# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py180# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py213# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py309# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py311# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py329# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py331# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py346# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py349# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py380# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py382# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py397# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py399# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py433# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py435# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py451# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/basics/NestedLoopsTest27.py453# ---------------------------------------------------------------------------COMMENT
MEDIUMnuitka/code_generation/PythonSourceCodeGeneration.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMnuitka/code_generation/PythonSourceCodeGeneration.py785# ---------------------------------------------------------------------------COMMENT
MEDIUMnuitka/code_generation/PythonSourceCodeGeneration.py1048# ---------------------------------------------------------------------------COMMENT
Hyper-Verbose Identifiers43 hits · 44 pts
SeverityFileLineSnippetContext
LOW⚡tests/basics/YieldFromTest33.py38def test_broken_getattr_handling():CODE
LOW⚡tests/basics/YieldFromTest33.py72def test_throw_caught_subgenerator_handling():CODE
LOWtests/basics/ComparisonChainsTest.py60def function_lambda_with_chain():CODE
LOWtests/basics/ComparisonChainsTest.py73def generator_function_with_chain():CODE
LOWtests/basics/FunctionsTest.py285def generator_without_context_function():CODE
LOWtests/basics/ReferencingTest.py807def method_uncompiled_function(*args, **kwargs):CODE
LOWtests/basics/ReferencingTest.py1229def local_uncompiled_function(*args, **kwargs):CODE
LOWtests/basics/ReferencingTest.py823 def method_function_with_defaults(self, a, b, c, d=1, e=2, f=3):STRING
LOWtests/basics/FunctionsTest_2.py71def nested_args_function_with_defaults((a, b)=default_giver(), c=5):CODE
LOWtests/basics/CoroutinesTest35.py94def run_until_complete_with_send(coro, value):CODE
LOWtests/basics/TryExceptStarTest311.py4def test_raise_and_catch_no_assign():CODE
LOWtests/basics/TryExceptStarTest311.py25def test_raise_and_catch_non_exception_group():CODE
LOW⚡tests/basics/TryExceptStarTest311.py36def test_raise_and_dont_catch():CODE
LOW⚡tests/basics/TryExceptStarTest311.py49def test_remaining_exceptions():CODE
LOWtests/basics/TryExceptStarTest311.py79def test_multiple_handlers_with_remaining():CODE
LOWtests/basics/TryExceptStarTest311.py100def test_catch_multiple_types():CODE
LOWtests/basics/TryExceptStarTest311.py111def test_catch_multiple_types_with_remaining():CODE
LOWtests/basics/VarargsTest.py7def plain_list_dict_args_function(plain, *arg_list, **arg_dict):CODE
LOWtests/benchmarks/pybench/systimes.py105def process_time_clock_systimes():CODE
LOWtests/benchmarks/pybench/systimes.py108def wall_clock_clock_systimes():CODE
LOWtests/benchmarks/pybench/systimes.py132def ctypes_getprocesstimes_systimes():CODE
LOW⚡tests/installer/run_all.py82def reject_missing_product_name(search_mode):CODE
LOW⚡tests/installer/run_all.py88def reject_missing_product_version(search_mode):CODE
LOW⚡tests/installer/run_all.py94def reject_missing_company_name(search_mode):CODE
LOWnuitka/distutils/Build.py14 def suppress_known_deprecation():CODE
LOWnuitka/options/BuildPackage.py95def new_egg_info_initialize_options(self):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml3663 def _assert_no_warnings_context(name=None):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml3698 def assert_array_almost_equal(*args, **kwargs):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml6241 def nuitka_compatible_minimize(*args, **kwargs):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml8881 def _nuitka_attribute_type_is_supported_checker_check(self, nn_module):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml8933 def get_assignments_with_compile_ignored_comments(module):STRING
LOW…ka/plugins/standard/standard.nuitka-package.config.yml9475 def _nuitka_make_missing_default_ca_runtime_error():CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml9503 def _nuitka_handle_missing_default_ca_store_error(self, http_class, req, **http_conn_args):STRING
LOW⚡nuitka/plugins/standard/TransformersPlugin.py66_transformers_attn_method_code = "def _can_set_attn_implementation("CODE
LOW⚡nuitka/plugins/standard/TransformersPlugin.py67_transformers_experts_method_code = "def _can_set_experts_implementation("CODE
LOW⚡nuitka/plugins/standard/TransformersPlugin.py75def _can_set_attn_implementation_nuitka(cls):CODE
LOWnuitka/plugins/standard/TransformersPlugin.py115def _can_set_experts_implementation_nuitka(cls):CODE
LOWnuitka/plugins/standard/MultiprocessingPlugin.py146 def _fixup_main_from_path_for_nuitka(main_path):STRING
LOWnuitka/plugins/standard/MultiprocessingPlugin.py170def _process_worker_for_nuitka():STRING
LOWnuitka/plugins/standard/DillPlugin/dill-postLoad.py51 def _create_compiled_function(module_name, func_values):CODE
LOW…ka/plugins/standard/DillPlugin/cloudpickle-postLoad.py19 def _create_compiled_function(module_name, func_values):CODE
LOWnuitka/utils/Distributions.py340def _get_pkg_resources_module():CODE
LOWnuitka/utils/Distributions.py350def _get_pkg_resource_distributions():CODE
Cross-Language Confusion9 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtests/basics/AssignmentsTest.py12# pylint: disable=broad-except,global-variable-undefined,redeclared-assigned-nameCOMMENT
HIGHtests/PyPI-pytest/run_all.py59 "cd %s && git fetch -q && git reset -q --hard origin && git clean -q -dfx"CODE
HIGHnuitka/options/Options.py2101the command 'RUN cd /opt/_internal && tar xf static-libs-for-embedding-only.tar.xz' \STRING
HIGHnuitka/tools/release/Release.py197 os.system("umask 0022 && chmod -R a+rX .")CODE
HIGHnuitka/tools/release/osc_upload/__main__.py72rm -rf osc && mkdir osc && cd osc && \STRING
HIGHnuitka/utils/Download.py412 mkdir -p ~/.local/share/python-build-standalone && curl -L '%s' | tar -x --zstd -C ~/.local/share/python-build-standalSTRING
HIGHnuitka/code_generation/ImportCodes.py193if (%(res_name)s == false && HAS_ERROR_OCCURRED(tstate) == false) {STRING
HIGHnuitka/code_generation/LocalsDictCodes.py295 condition="%s == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED(tstate)"CODE
HIGHnuitka/code_generation/IndexCodes.py27 condition="%s == -1 && HAS_ERROR_OCCURRED(tstate)" % to_name,CODE
Redundant / Tautological Comments21 hits · 30 pts
SeverityFileLineSnippetContext
LOWnuitka/PythonOperators.py264 # Check if format uses mapping keys.COMMENT
LOWnuitka/MainControl.py346 # Check if distribution meta data is included, that cannot be used.COMMENT
LOWnuitka/MainControl.py1278 # Check if the --project expectations are met for data files.STRING
LOWnuitka/Bytecodes.py67 # Check if it's a docstring having node type.COMMENT
LOWnuitka/Progress.py578 # Check if stdout is a TTY for RichCOMMENT
LOWnuitka/tree/ReformulationImportStatements.py41 # Check if a __future__ imports really were at the beginning of the file.COMMENT
LOWnuitka/tree/VariableClosure.py262 # Check if a plugin wants to provide a compile-time constantCOMMENT
LOWnuitka/tree/VariableClosure.py333 # Check if continue and break are properly in loops. If not, raise aCOMMENT
LOWnuitka/tree/ReformulationClasses3.py686 # Check if there are bases, and if there are, go with the type of theCOMMENT
LOWnuitka/options/OptionParsing.py295 # Check if it is a Poetry projectCOMMENT
LOWnuitka/options/OptionParsing.py306 # Check if it is a "setuptools" projectCOMMENT
LOWnuitka/options/OptionParsing.py330 # Check if it is old-style "setuptools".COMMENT
LOWnuitka/tools/quality/codespell/__main__.py72 # Check if the word is present in the file, as a substring (e.g. CamelCase).COMMENT
LOWnuitka/tools/testing/SearchModes.py113 # Check if we become activeCOMMENT
LOWnuitka/tools/watch/__main__.py383 # Check if compilation is required.COMMENT
LOWnuitka/nodes/FutureSpecs.py179 # Check if we are going to give similar results than what we got.COMMENT
LOWnuitka/plugins/standard/PmwPlugin.py135 # Read the filename and modify it so that it can be bundled with theCOMMENT
LOWnuitka/utils/ThreadedExecutor.py12# Set this to false, to enable actual use of threads. This was found no longerCOMMENT
LOWnuitka/utils/Distributions.py845 # Check if it starts with "nuitka" followed by end of string or a non-nameCOMMENT
LOWnuitka/utils/Timing.py146 # Check if its above the provided limit.COMMENT
LOWnuitka/format/PythonFormatting.py352 # Check if there is a comma after the base class.COMMENT
AI Structural Patterns15 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/optimizations/run_all.py59CODE
LOWnuitka/PythonVersions.py62CODE
LOWnuitka/PythonVersions.py353CODE
LOWnuitka/tools/general/extract_poetry_config/__main__.py113CODE
LOWnuitka/tools/testing/RuntimeTracing.py243CODE
LOWnuitka/nodes/NodeMakingHelpers.py74CODE
LOWnuitka/nodes/NodeMakingHelpers.py116CODE
LOWnuitka/specs/BuiltinParameterSpecs.py19CODE
LOWnuitka/plugins/PluginBase.py1884CODE
LOWnuitka/plugins/PluginBase.py1997CODE
LOWnuitka/freezer/DllDependenciesWin32WinDepends.py172CODE
LOWnuitka/utils/Execution.py810CODE
LOWnuitka/utils/Execution.py841CODE
LOWnuitka/code_generation/RaisingCodes.py44CODE
LOWnuitka/code_generation/FunctionCodes.py537CODE
Slop Phrases9 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/benchmarks/pybench/pybench.py172 If you change a test in some way, don't forget to increaseCODE
LOWnuitka/nodes/CodeObjectSpecs.py69 # Strings happens from XML parsing, make sure to convert them.COMMENT
LOWnuitka/nodes/ExpressionBases.py409 constant=int(iter_length), # make sure to downcast longCODE
LOWnuitka/nodes/VariableRefNodes.py104 constant=int(iter_length), # make sure to downcast longCODE
LOWnuitka/nodes/LoopNodes.py237 # Don't forget to initialize the loop resume traces with the starting point. We useCOMMENT
LOW…ka/plugins/standard/standard.nuitka-package.config.yml8740 # have a "__file__" value, so make sure to ignore it.COMMENT
LOWnuitka/freezer/Standalone.py755 # Sometimes an extension module is used like a DLL, make sure toCOMMENT
LOWnuitka/code_generation/FrameCodes.py79 # For nested frames, make sure to restore set the type description.COMMENT
LOWnuitka/code_generation/FrameCodes.py168 # For nested frames, make sure to restore set the type description.COMMENT
AI Slop Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
LOWnuitka/plugins/standard/SpacyPlugin.py94 # TODO: Can we not just return the OrderedSet.COMMENT
MEDIUMnuitka/code_generation/ComparisonHelperDefinitions.py118 # TODO: Absolutely possible to shortcut, why aren't we doing it?COMMENT
MEDIUMnuitka/code_generation/ComparisonHelperDefinitions.py121 # TODO: Absolutely possible to shortcut, why aren't we doing it?COMMENT
Dead Code4 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMtests/basics/BuiltinsTest.py59CODE
MEDIUMtests/basics/ReferencingTest.py1335CODE
MEDIUMtests/basics/ReferencingTest36.py227CODE
MEDIUM…/benchmarks/constructs/CallLambdaExpressionDirectly.py13CODE
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…istutils/example_5_uv_pyproject/pyproject.cpython.toml11authors = [{name = "Nuitka User", email = "user@example.com"}]CODE
LOW…distutils/example_5_uv_pyproject/pyproject.nuitka.toml11authors = [{name = "Nuitka User", email = "user@example.com"}]CODE
LOW…ils/example_6_uv_pyproject_flat/pyproject.cpython.toml11authors = [{name = "Nuitka User", email = "user@example.com"}]CODE
LOW…tils/example_6_uv_pyproject_flat/pyproject.nuitka.toml11authors = [{name = "Nuitka User", email = "user@example.com"}]CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml2318 - 'Lorem ipsum.txt'CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml4653 "lorem_ipsum: str = files(__name__).joinpath('Lorem ipsum.txt').read_text()": ''CODE