Repository Analysis

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.

11.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Nuitka/Nuitka, a Python project with 14,985 GitHub stars. SynthScan v2.0 examined 287,777 lines of code across 1119 source files, recording 2725 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 11.7 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

11.7
Adjusted Score
11.7
Raw Score
100%
Time Factor
2026-07-10
Last Push
15.0K
Stars
Python
Language
287.8K
Lines of Code
1.1K
Files
2.7K
Pattern Hits
2026-07-14
Scan Date
0.11
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 124MEDIUM 120LOW 2481

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2725 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block1445 hits · 1443 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.toml41 "**/node_modules",COMMENT
LOWpyproject.toml61# distributed under the License is distributed on an "AS IS" BASIS,COMMENT
LOWsetup.py521 verbose=0,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.py261COMMENT
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.py61 target_filename = codename + ".tgz"COMMENT
LOWmisc/create-pbuilder-image.py81# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOWmisc/make-upload.py61# Part of "Nuitka", an optimizing Python compiler that is compatible andCOMMENT
LOWmisc/make-apidoc.py21# integrates with CPython, but also works on its own.COMMENT
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
LOW…s/distutils/example_5_versioneer_setuptools32/setup.py21COMMENT
LOW…/distutils/example_5_versioneer_setuptools32/setup.cfg1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…/distutils/example_5_versioneer_setuptools32/setup.cfg21# See the License for the specific language governing permissions andCOMMENT
LOW…tutils/example_5_versioneer_setuptools32/versioneer.py141COMMENT
LOW…tutils/example_5_versioneer_setuptools32/versioneer.py161COMMENT
LOW…tutils/example_5_versioneer_setuptools32/versioneer.py201 write_to_version_file(target_versionfile, versions)COMMENT
LOW…tutils/example_5_versioneer_setuptools32/versioneer.py221# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.COMMENT
LOW…ple_5_versioneer_setuptools32/some_package/_version.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…ple_5_versioneer_setuptools32/some_package/_version.py21 return {COMMENT
LOW…ple_5_versioneer_setuptools32/some_package/_version.py41# Unless required by applicable law or agreed to in writing, softwareCOMMENT
LOW…ple_5_versioneer_setuptools32/some_package/__init__.py1# Copyright 2026, Kay Hayen, mailto:kay.hayen@gmail.com find license text at end of fileCOMMENT
LOW…ple_5_versioneer_setuptools32/some_package/__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
1385 more matches not shown…
Deep Nesting411 hits · 404 pts
SeverityFileLineSnippetContext
LOWsetup.py299CODE
LOWtests/distutils/run_all.py121CODE
LOWtests/basics/OrderChecksTest.py532CODE
LOWtests/basics/OrderChecksTest.py597CODE
LOWtests/basics/LoopingTest.py15CODE
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/programs/run_all.py132CODE
LOWtests/programs/multiprocessing_using/foo/entry.py13CODE
LOWtests/optimizations/run_all.py86CODE
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.py111CODE
LOWnuitka/PythonOperators.py158CODE
LOWnuitka/Tracing.py78CODE
LOWnuitka/SourceCodeReferences.py46CODE
LOWnuitka/PythonFlavors.py101CODE
LOWnuitka/PythonFlavors.py305CODE
LOWnuitka/PythonFlavors.py482CODE
LOWnuitka/PythonVersions.py433CODE
LOWnuitka/PythonVersions.py588CODE
LOWnuitka/Variables.py477CODE
LOWnuitka/Variables.py240CODE
LOWnuitka/Variables.py255CODE
LOWnuitka/Constants.py29CODE
LOWnuitka/Constants.py123CODE
LOWnuitka/Constants.py193CODE
LOWnuitka/Constants.py242CODE
LOWnuitka/Constants.py281CODE
LOWnuitka/Constants.py364CODE
LOWnuitka/HardImportRegistry.py221CODE
LOWnuitka/MainControl.py494CODE
LOWnuitka/Bytecodes.py31CODE
LOWnuitka/PostProcessing.py129CODE
LOWnuitka/Progress.py322CODE
LOWnuitka/Progress.py466CODE
LOWnuitka/__main__.py74CODE
LOWnuitka/Serialization.py88CODE
LOWnuitka/Serialization.py180CODE
LOWnuitka/OutputDirectories.py225CODE
LOWnuitka/tree/SourceHandling.py129CODE
LOWnuitka/tree/SourceHandling.py252CODE
LOWnuitka/tree/SourceHandling.py370CODE
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.py339CODE
LOWnuitka/tree/Building.py649CODE
LOWnuitka/tree/Building.py689CODE
LOWnuitka/tree/Building.py1069CODE
351 more matches not shown…
Excessive Try-Catch Wrapping261 hits · 340 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
LOWtests/basics/OrderChecksTest.py374 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py384 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py392 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py400 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py405 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py429 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py437 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py445 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py450 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py464 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py472 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py480 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py488 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py496 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py504 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py512 except Exception as e:CODE
LOWtests/basics/OrderChecksTest.py182 except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py248except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py255except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py262except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py311except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py319except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py324except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py329except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py334except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py339except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py344except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py670except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py676except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py682except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py708except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py714except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py720except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py32 except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py50 except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py280except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py285except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py376except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py397except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py402except Exception as e:CODE
LOWtests/basics/BuiltinsTest.py639except Exception as e:CODE
LOWtests/basics/OperatorsTest.py77except Exception as e:CODE
LOWtests/basics/YieldFromTest33.py47 except Exception as e:CODE
LOWtests/basics/YieldFromTest33.py55 except Exception as e:CODE
LOWtests/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
LOWtests/basics/BuiltinSuperTest.py33 except Exception as e:CODE
LOWtests/basics/BuiltinSuperTest.py48 except Exception as e:CODE
201 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…
Unused Imports334 hits · 304 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
274 more matches not shown…
Docstring Block Structure55 hits · 275 pts
SeverityFileLineSnippetContext
HIGHnuitka/MainControl.py404Pick the names for the C files of each module. Args: source_dir - the externally usable directory to put moSTRING
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.py325Match a call arguments to a signature. Args: func_name - Name of the function being matched, used to constrSTRING
HIGHnuitka/plugins/Plugins.py264Decide if a plugin is active. Args: plugin_name - name of the plugin Notes: Detectors do not cSTRING
HIGHnuitka/plugins/Plugins.py1410Let plugins decide whether to suppress import warnings for an unknown module. Notes: If all pluginsSTRING
HIGHnuitka/plugins/Plugins.py2155Activate selected plugin classes Args: None Notes: This creates actual plugin instances, beforSTRING
HIGHnuitka/plugins/Hooks.py274Let plugins decide whether to suppress import warnings for an unknown module. Notes: If all plugins return STRING
HIGHnuitka/plugins/PluginBase.py568Indicate whether an implicitly imported module should be accepted. Notes: You may negate importing STRING
HIGHnuitka/plugins/PluginBase.py595Return a compile-time constant value for a module-level variable. Notes: During tree building, whenSTRING
HIGHnuitka/plugins/PluginBase.py616Inspect or modify source code. Args: module_name: (str) name of module source_code: (stSTRING
HIGHnuitka/plugins/PluginBase.py667Create code to execute before importing a module. Notes: Called by @onModuleDiscovered. ArSTRING
HIGHnuitka/plugins/PluginBase.py684Create code to execute after loading to a module. Notes: Called by @onModuleDiscovered. ArSTRING
HIGHnuitka/plugins/PluginBase.py702Create module to depend on. Notes: Called by @onModuleDiscovered. Args: moduleSTRING
HIGHnuitka/plugins/PluginBase.py738Called with a module to be loaded. Notes: We may specify code to be prepended and/or appended to thSTRING
HIGHnuitka/plugins/PluginBase.py846Provide extra modules during the optimization module loop. Args: module_names - tuple of module namSTRING
HIGHnuitka/plugins/PluginBase.py861Provide extra modules to the initial root module set. Args: module_set - tuple of modules RSTRING
HIGHnuitka/plugins/PluginBase.py1247Decide whether to compile a module (or just use its bytecode). Notes: The first plugin not returninSTRING
HIGHnuitka/plugins/standard/TkinterPlugin.py90This method is called with a module that will be imported. Notes: If the word "tkinter" occurs in iSTRING
HIGHnuitka/plugins/standard/TkinterPlugin.py251Provide TCL libraries to the dist folder. Notes: We will provide the copy the TCL/TK directories toSTRING
HIGHnuitka/plugins/standard/TkinterPlugin.py360This 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.py114Convert tags argument to an OrderedSet. Notes: In many places, strings are accepted for tags, convert to OrSTRING
HIGHnuitka/freezer/IncludedDataFiles.py571Create an included data file for a build-generated file already in place. Notes: Use this for files produceSTRING
HIGHnuitka/freezer/IncludedDataFiles.py1164Copy the data files needed for standalone distribution. Notes: This is for data files only, not DLLs or eveSTRING
HIGHnuitka/utils/Signing.py176Add the code signature to filenames. Args: filenames - The filenames to be signed. entitlements_filSTRING
HIGHnuitka/utils/Execution.py308Wrap a command for system debugger to call exec Args: command: (iterable of str) args for call to be debuggSTRING
HIGHnuitka/utils/Execution.py411Wrap a command for system debugger with subprocess module. Args: args: (list of str) args for call to be deSTRING
HIGHnuitka/utils/Importing.py60Import Python module given as a file name. Notes: Provides a Python version independent way to import any sSTRING
HIGHnuitka/utils/Importing.py267Given a filename, decide the module name and kind. Args: module_name - file path of the module Returns: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.py66Create a module name in a package. Args: - module_name (str or ModuleName) module name to put belowSTRING
HIGHnuitka/utils/SharedLibraries.py273Parse the Import File Strings section of 'dump -H' output. Args: output: The stdout of 'dump -H <filename>'STRING
HIGHnuitka/utils/SharedLibraries.py467Detect the shared libraries needed by a COFF (AIX) binary. Uses 'dump -H' to determine which shared libraries are iSTRING
HIGHnuitka/utils/SharedLibraries.py812Update the macOS shared library information for a binary or shared library. Adds the rpath path name `rpath` in theSTRING
HIGHnuitka/utils/SharedLibraries.py864Find the pywin32 DLL directory Args: None Returns: path to the pywin32 DLL directory or None STRING
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.py483Get os.path.realpath with Python2 and Windows symlink workaround applied. Args: path: path to get realpath STRING
HIGHnuitka/utils/FileOperations.py509Give a sorted listing of a path. Args: path: directory to create a listing from ignore_permission_eSTRING
HIGHnuitka/utils/FileOperations.py566Get all files below a given path. Args: path: directory to create a recursive listing from ignore_dSTRING
HIGHnuitka/utils/FileOperations.py627Get all directories below a given path. Args: path: directory to create a recursive listing from igSTRING
HIGHnuitka/utils/FileOperations.py704Give a sorted listing of DLLs filenames in a path. Args: path: directory to create a DLL listing from STRING
HIGHnuitka/utils/FileOperations.py740Give a sorted listing of EXE filenames in a path. Args: path: directory to create a DLL listing from STRING
HIGHnuitka/utils/FileOperations.py785Get all directories below a given path. Args: path: directory to create a recursive listing from igSTRING
HIGHnuitka/utils/FileOperations.py1556Gets the short path name of a given long path. Args: filename - long Windows filename Returns: STRING
HIGHnuitka/utils/FileOperations.py1644Gets the externally usable absolute path for a given relative path. Args: filename - filename, potentially STRING
HIGHnuitka/utils/FileOperations.py1782Return the path a link is pointing too, if any. Args: filename - check this path, need not be a filename STRING
HIGHnuitka/utils/FileOperations.py2128Encode a path to filesystem encoding. Args: path: Path to encode. Returns: Encoded path (bytesSTRING
HIGHnuitka/importing/Importing.py299Given a filename, decide the module name and kind. Args: module_name - file path of the module Returns:STRING
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_setuptools32/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.py662 # This function is a case driven by returns, pylint: disable=too-many-return-statementsCOMMENT
MEDIUMnuitka/tree/ReformulationClasses3.py163 # This function is the Python3 special case with special re-formulation asCOMMENT
MEDIUMnuitka/tools/testing/Common.py248 # 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.py19 """This class represents the main logic of the glfw plugin.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py28 """This class represents the main logic of the TkInter plugin.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py82 """This method is called one time only to check, whether the plugin might make sense at all.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py90 """This method is called with a module that will be imported.STRING
MEDIUMnuitka/plugins/standard/TkinterPlugin.py103 # The following code will be executed before importing the module.COMMENT
MEDIUMnuitka/plugins/standard/TkinterPlugin.py352 """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.py304 # Create the bootstrap binary for unpacking.COMMENT
MEDIUMnuitka/utils/SharedLibraries.py61 # 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/CodeObjectCodes.py99 # Create the always identical, but dynamic filename first thing.COMMENT
MEDIUMnuitka/code_generation/ModuleCodes.py134 # 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.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMnuitka/code_generation/PythonSourceCodeGeneration.py179# ---------------------------------------------------------------------------COMMENT
MEDIUMnuitka/code_generation/PythonSourceCodeGeneration.py292# ---------------------------------------------------------------------------COMMENT
Hyper-Verbose Identifiers33 hits · 33 pts
SeverityFileLineSnippetContext
LOWtests/basics/YieldFromTest33.py38def test_broken_getattr_handling():CODE
LOWtests/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.py823 def method_function_with_defaults(self, a, b, c, d=1, e=2, f=3):STRING
LOWtests/basics/ReferencingTest.py1229def local_uncompiled_function(*args, **kwargs):CODE
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/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
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.yml3616 def _assert_no_warnings_context(name=None):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml3651 def assert_array_almost_equal(*args, **kwargs):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml6129 def nuitka_compatible_minimize(*args, **kwargs):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml8759 def _nuitka_attribute_type_is_supported_checker_check(self, nn_module):CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml8811 def get_assignments_with_compile_ignored_comments(module):STRING
LOW…ka/plugins/standard/standard.nuitka-package.config.yml9346 def _nuitka_make_missing_default_ca_runtime_error():CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml9374 def _nuitka_handle_missing_default_ca_store_error(self, http_class, req, **http_conn_args):STRING
LOWnuitka/plugins/standard/TransformersPlugin.py66_transformers_attn_method_code = "def _can_set_attn_implementation("CODE
LOWnuitka/plugins/standard/TransformersPlugin.py67_transformers_experts_method_code = "def _can_set_experts_implementation("CODE
LOWnuitka/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.py130 def _fixup_main_from_path_for_nuitka(main_path):STRING
LOWnuitka/plugins/standard/MultiprocessingPlugin.py153def _process_worker_for_nuitka():STRING
LOWnuitka/plugins/standard/DillPlugin/dill-postLoad.py49 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 Confusion7 hits · 32 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.py1925the 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/code_generation/LocalsDictCodes.py286 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 Comments22 hits · 32 pts
SeverityFileLineSnippetContext
LOWnuitka/PythonOperators.py263 # Check if format uses mapping keys.COMMENT
LOWnuitka/MainControl.py355 # Check if distribution meta data is included, that cannot be used.COMMENT
LOWnuitka/MainControl.py1236 # 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.py664 # Check if there are bases, and if there are, go with the type of theCOMMENT
LOWnuitka/options/Options.py2446 # Check if Linux icon requirement is met.COMMENT
LOWnuitka/options/OptionParsing.py294 # Check if it is a Poetry projectCOMMENT
LOWnuitka/options/OptionParsing.py305 # Check if it is a "setuptools" projectCOMMENT
LOWnuitka/options/OptionParsing.py329 # 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.py101 # Check if we become activeCOMMENT
LOWnuitka/tools/watch/__main__.py323 # 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.py346 # Check if there is a comma after the base class.COMMENT
AI Structural Patterns14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/optimizations/run_all.py59CODE
LOWnuitka/PythonVersions.py62CODE
LOWnuitka/PythonVersions.py295CODE
LOWnuitka/tools/general/extract_poetry_config/__main__.py113CODE
LOWnuitka/tools/testing/RuntimeTracing.py243CODE
LOWnuitka/nodes/NodeMakingHelpers.py74CODE
LOWnuitka/nodes/NodeMakingHelpers.py116CODE
LOWnuitka/plugins/PluginBase.py1814CODE
LOWnuitka/plugins/PluginBase.py1927CODE
LOWnuitka/freezer/DllDependenciesWin32WinDepends.py172CODE
LOWnuitka/utils/Execution.py658CODE
LOWnuitka/utils/Execution.py687CODE
LOWnuitka/code_generation/RaisingCodes.py42CODE
LOWnuitka/code_generation/FunctionCodes.py535CODE
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.py68 # Strings happens from XML parsing, make sure to convert them.COMMENT
LOWnuitka/nodes/ExpressionBases.py398 constant=int(iter_length), # make sure to downcast longCODE
LOWnuitka/nodes/VariableRefNodes.py107 constant=int(iter_length), # make sure to downcast longCODE
LOWnuitka/nodes/LoopNodes.py150 # Don't forget to initialize the loop resume traces with the starting point. We useCOMMENT
LOW…ka/plugins/standard/standard.nuitka-package.config.yml8618 # have a "__file__" value, so make sure to ignore it.COMMENT
LOWnuitka/freezer/Standalone.py743 # 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 Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
LOWnuitka/plugins/standard/SpacyPlugin.py94 # TODO: Can we not just return the OrderedSet.COMMENT
MEDIUMnuitka/plugins/standard/TkinterPlugin.py304 # TODO: Not very version robust, may we ought toCOMMENT
MEDIUMnuitka/code_generation/ComparisonHelperDefinitions.py109 # TODO: Absolutely possible to shortcut, why aren't we doing it?COMMENT
MEDIUMnuitka/code_generation/ComparisonHelperDefinitions.py112 # TODO: Absolutely possible to shortcut, why aren't we doing it?COMMENT
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtests/basics/BuiltinsTest.py58CODE
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.yml2271 - 'Lorem ipsum.txt'CODE
LOW…ka/plugins/standard/standard.nuitka-package.config.yml4607 "lorem_ipsum: str = files(__name__).joinpath('Lorem ipsum.txt').read_text()": ''CODE