AI Slop Code RIsk Monitor

badabing2005/PixelFlasher

Pixel™ phone flashing GUI utility with features.

90.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for badabing2005/PixelFlasher, a Python project with 2,319 GitHub stars. SynthScan examined 65,380 lines of code across 62 source files, recording 4110 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 90.3 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

90.3
Adjusted Signal
90.3
Raw Pattern Score
100%
Time Factor
2026-10-06
Last Push
2.3K
Stars
Python
Language
65.4K
Lines of Code
62
Files
4.1K
Pattern Hits
2026-10-12
Scan Date
0.40
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 31.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 2.1/100 · LOW

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

Agent Over-Engineering Ratio 98.4/100 · CRITICAL

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

PR Review Velocity Impact 100.0/100 · CRITICAL

Which changes need focused human review? 4110 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 25MEDIUM 2795LOW 1290

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 4110 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators2401 hits · 4568 pts
SeverityFileLineSnippetContext
MEDIUM⚡magisk_modules.py68# ============================================================================COMMENT
MEDIUM⚡magisk_modules.py70# ============================================================================COMMENT
MEDIUM⚡magisk_modules.py76# ============================================================================COMMENT
MEDIUM⚡magisk_modules.py78# ============================================================================COMMENT
MEDIUM⚡magisk_modules.py435 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py437 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py441 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py443 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py495 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py497 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py504 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py506 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py510 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py512 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py531 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py533 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py552 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py554 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py571 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py573 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py590 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py592 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py645 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py647 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py651 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py653 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py671 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py673 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py755 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py757 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py824 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py826 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py843 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py845 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py883 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py885 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py911 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py913 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py953 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py955 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py959 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py961 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py965 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py967 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py1008 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py1010 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py1020 # ----------------------------------------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py1022 # ----------------------------------------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py1029 # -----------------------------------------------COMMENT
MEDIUM⚡magisk_modules.py1031 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py51# ============================================================================COMMENT
MEDIUMmagisk_modules.py53# ============================================================================COMMENT
MEDIUMmagisk_modules.py309 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py311 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py421 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py423 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py459 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py461 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py940 # -----------------------------------------------COMMENT
MEDIUMmagisk_modules.py942 # -----------------------------------------------COMMENT
2341 more matches not shown…
Excessive Try-Catch Wrapping908 hits · 656 pts
SeverityFileLineSnippetContext
MEDIUMmagisk_modules.py513def onEnableZygisk(self, e):CODE
MEDIUMmagisk_modules.py534def onDisableZygisk(self, e):CODE
MEDIUMmagisk_modules.py555def onEnableDenylist(self, e):CODE
MEDIUMmagisk_modules.py574def onDisableDenylist(self, e):CODE
MEDIUMmagisk_modules.py593def onSuperuserAccess(self, e):CODE
MEDIUMmagisk_modules.py654def onSystemlessHosts(self, e):CODE
MEDIUMmagisk_modules.py674def onInstallPif(self, e):CODE
MEDIUMmagisk_modules.py758def onInstallZygiskModule(self, e):CODE
MEDIUMmagisk_modules.py846def onUninstallModule(self, e):CODE
MEDIUMmagisk_modules.py886def onUpdateModule(self, e):CODE
LOW⚡magisk_modules.py525 except Exception as e:CODE
LOW⚡magisk_modules.py546 except Exception as e:CODE
LOW⚡magisk_modules.py565 except Exception as e:CODE
LOW⚡magisk_modules.py584 except Exception as e:CODE
LOW⚡magisk_modules.py639 except Exception as e:CODE
LOW⚡magisk_modules.py665 except Exception as e:CODE
LOW⚡magisk_modules.py749 except Exception as e:CODE
LOW⚡magisk_modules.py818 except Exception as e:CODE
LOW⚡magisk_modules.py837 except Exception as e:CODE
LOW⚡magisk_modules.py877 except Exception as e:CODE
LOW⚡magisk_modules.py905 except Exception as e:CODE
MEDIUMphone.py363def get_path_from_details(self, details):CODE
MEDIUMphone.py444def init(self, mode):CODE
MEDIUMphone.py565def build(self):CODE
MEDIUMphone.py707def kmi(self):CODE
MEDIUMphone.py785def is_gki(self):CODE
MEDIUMphone.py799def magisk_path(self):CODE
MEDIUMphone.py819def root_version(self):CODE
MEDIUMphone.py836def ksu_path(self):CODE
MEDIUMphone.py856def ksu_next_path(self):CODE
MEDIUMphone.py876def sukisu_path(self):CODE
MEDIUMphone.py896def wild_ksu_path(self):CODE
MEDIUMphone.py916def apatch_path(self):CODE
MEDIUMphone.py1446def get_firmware_from_boot(self, sha1):CODE
MEDIUMphone.py1810def data_adb_backup(self, filename):CODE
MEDIUMphone.py2608def push_update_engine_client(self, local_filename = 'update_engine_client_r72',CODE
MEDIUMphone.py3159def stop_magisk(self):CODE
MEDIUMphone.py3171def _get_json_modules_common(self, solution_name):CODE
MEDIUMphone.py3532def _fetch_lsposed_modules(self):CODE
MEDIUMphone.py3765def mount_count(self):CODE
MEDIUMphone.py3785def magisk_denylist_enforced(self):CODE
MEDIUMphone.py3810def magisk_zygisk_enabled(self):CODE
MEDIUMphone.py3834def get_device_details(self):CODE
MEDIUMphone.py3985def reboot_recovery_interactive(self, timeout=60, hint='None'):CODE
MEDIUMphone.py4376def is_connected(self, device_id):CODE
MEDIUMphone.py4413def adb_wait_for(self, device_id='', timeout=60, wait_for=''):CODE
MEDIUMphone.py4448def fastboot_wait_for_bootloader(self, device_id='', timeout=60):CODE
MEDIUMphone.py4488def get_magisk_denylist(self):CODE
MEDIUMphone.py4527def install_apk(self, app, fastboot_included = False, owner_playstore = False, bCODE
MEDIUMphone.py4575def get_current_slot(self):CODE
MEDIUMphone.py4609def get_wm_size(self):CODE
MEDIUMphone.py4640def swipe_up(self, percentage=10):CODE
MEDIUMphone.py4665def set_active_slot(self, slot):CODE
MEDIUMphone.py4689def switch_slot(self, timeout=60):CODE
MEDIUMphone.py4729def erase_partition(self, partition):CODE
MEDIUMphone.py4754def lock_bootloader(self):CODE
MEDIUMphone.py4787def unlock_bootloader(self):CODE
MEDIUMphone.py4819def magisk_install_module(self, module):CODE
MEDIUMphone.py4868def magisk_run_module_action(self, dirname):CODE
MEDIUMphone.py4903def enable_magisk_module(self, dirname):CODE
848 more matches not shown…
Self-Referential Comments66 hits · 139 pts
SeverityFileLineSnippetContext
MEDIUMmagisk_modules.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMfile_editor.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMphone.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMcompile_po.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMlogcat.py4# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMlogcat.py96 ] # Create a grid of radio buttons with 2 rows, 4 columnsCODE
MEDIUMlogcat.py122 ] # Create a grid of checkboxes with 2 rows, 4 columnsCODE
MEDIUMlogcat.py177 ] # Create a horizontal row of radio buttonsCODE
MEDIUMwifi.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMconfig.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMdownload_progress.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMpackage_manager.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMpackage_manager.py1377 # Create a minimal package object for missing packagesCOMMENT
MEDIUMencode-bitmaps.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMencode-bitmaps.py218# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMmy_tools.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMmessage_box_ex.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMksu_asset_selector.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMapk.py1# This file is part of Androguard.COMMENT
MEDIUMconstants.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUM⚡pif_manager.py1325 # Create a simplified package manager dialogCOMMENT
MEDIUM⚡pif_manager.py1961 # Create a custom dialog with tree control for selectionCOMMENT
MEDIUM⚡pif_manager.py3712 # Create a new dictionary with the modified keysCOMMENT
MEDIUMpif_manager.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMpif_manager.py2670 # Create a pif_data dict similar to process_factory_image_selectionCOMMENT
MEDIUMpif_manager.py3690 # Define the mapping rulesCOMMENT
MEDIUMpf_modules.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMpf_modules.py3258 # Create the patch scriptSTRING
MEDIUMmagisk_downloads.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMAbout.py4# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMruntime.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMruntime.py4094 # Create a unique identifier from device, build_id, and urlCOMMENT
MEDIUM⚡runtime.py3185 # Create a hash object using md5STRING
MEDIUMruntime.py6463 # Create a dictionary for each downloadSTRING
MEDIUMruntime.py7686 # Create a dummy stream that has a valid fileno()STRING
MEDIUMruntime.py11697 # Define the minimum safe versions for different ARB effected devicesSTRING
MEDIUMavbtool.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMfactory_image_selector.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMcustom_controls.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMpartition_manager.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMbackup_manager.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMimages.py2# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMi18n.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMi18n.py323 # Create the directory if it doesn't existCOMMENT
MEDIUMset_version.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMcheck_translations.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMmanage_devices.py1# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUM⚡Main.py1531 # Create a dictionary to store menu_id -> (url, label) mappingsCOMMENT
MEDIUM⚡Main.py1560 # Create the File menuCOMMENT
MEDIUM⚡Main.py1563 # Create the Device menuCOMMENT
MEDIUM⚡Main.py1566 # Create the Devices management menu (for enable/disable scanning)COMMENT
MEDIUM⚡Main.py1570 # Create the Toolbar menuCOMMENT
MEDIUM⚡Main.py1573 # Create the Dev Tools menuCOMMENT
MEDIUM⚡Main.py1576 # Create the My Tools menuCOMMENT
MEDIUM⚡Main.py1579 # Create the language menuCOMMENT
MEDIUM⚡Main.py1582 # Create the Help menuCOMMENT
MEDIUM⚡Main.py3737 # Define the rules engineCOMMENT
MEDIUMMain.py3# This file is part of PixelFlasher https://github.com/badabing2005/PixelFlasherCOMMENT
MEDIUMMain.py1962 # Create an instance of GoogleImagesMenuCOMMENT
MEDIUMMain.py6905 # Create a new list (will be by value and not by reference)STRING
6 more matches not shown…
Deep Nesting267 hits · 136 pts
SeverityFileLineSnippetContext
LOWmagisk_modules.py312CODE
LOWmagisk_modules.py674CODE
LOWmagisk_modules.py758CODE
LOWmagisk_modules.py846CODE
LOWmagisk_modules.py968CODE
LOWphone.py5488CODE
LOWphone.py5604CODE
LOWphone.py392CODE
LOWphone.py444CODE
LOWphone.py485CODE
LOWphone.py681CODE
LOWphone.py721CODE
LOWphone.py936CODE
LOWphone.py971CODE
LOWphone.py1160CODE
LOWphone.py1222CODE
LOWphone.py1270CODE
LOWphone.py1320CODE
LOWphone.py1406CODE
LOWphone.py1514CODE
LOWphone.py1730CODE
LOWphone.py1765CODE
LOWphone.py1810CODE
LOWphone.py1859CODE
LOWphone.py1904CODE
LOWphone.py1932CODE
LOWphone.py2003CODE
LOWphone.py2177CODE
LOWphone.py2362CODE
LOWphone.py2431CODE
LOWphone.py2635CODE
LOWphone.py2677CODE
LOWphone.py2977CODE
LOWphone.py3123CODE
LOWphone.py3171CODE
LOWphone.py3296CODE
LOWphone.py3430CODE
LOWphone.py3449CODE
LOWphone.py3468CODE
LOWphone.py3487CODE
LOWphone.py3506CODE
LOWphone.py3532CODE
LOWphone.py3681CODE
LOWphone.py3706CODE
LOWphone.py3734CODE
LOWphone.py3765CODE
LOWphone.py3785CODE
LOWphone.py3810CODE
LOWphone.py3853CODE
LOWphone.py3914CODE
LOWphone.py4016CODE
LOWphone.py4060CODE
LOWphone.py4101CODE
LOWphone.py4161CODE
LOWphone.py4223CODE
LOWphone.py4305CODE
LOWphone.py4376CODE
LOWphone.py4413CODE
LOWphone.py4448CODE
LOWphone.py4527CODE
207 more matches not shown…
Empty Error Handlers23 hits · 115 pts
SeverityFileLineSnippetContext
HIGHpif_manager.py3297except ValueError:CODE
HIGHpif_manager.py4094except Exception:CODE
HIGHpif_manager.py1232except:CODE
HIGHpif_manager.py1952except Exception:CODE
HIGHruntime.py6128except ValueError:CODE
HIGHruntime.py6133except ValueError:CODE
HIGHruntime.py2488except Exception:CODE
HIGHruntime.py5435except ValueError:CODE
HIGHruntime.py6659except Exception:CODE
HIGHruntime.py7743except:CODE
HIGHruntime.py395except Exception:CODE
HIGHruntime.py4513except Exception:CODE
HIGHruntime.py5284except:CODE
HIGHruntime.py6037except Exception:CODE
HIGHruntime.py2308except Exception:CODE
HIGHruntime.py2521except Exception:CODE
HIGHi18n.py436except FileNotFoundError:CODE
HIGHmanage_devices.py190except:CODE
HIGHMain.py2417except Exception:CODE
HIGHMain.py334except Exception:CODE
HIGHMain.py314except:CODE
HIGHMain.py371except Exception:CODE
HIGHMain.py356except Exception:CODE
Over-Commented Block130 hits · 96 pts
SeverityFileLineSnippetContext
LOWmagisk_modules.py1#!/usr/bin/env pythonCOMMENT
LOWmagisk_modules.py21#COMMENT
LOWfile_editor.py1#!/usr/bin/env pythonCOMMENT
LOWfile_editor.py21#COMMENT
LOWphone.py1#!/usr/bin/env pythonCOMMENT
LOWphone.py21#COMMENT
LOWcompile_po.py1#!/usr/bin/env pythonCOMMENT
LOWcompile_po.py21#COMMENT
LOWlogcat.py1#!/usr/bin/env pythonCOMMENT
LOWlogcat.py21# along with this program. If not, see <https://www.gnu.org/licenses/>.COMMENT
LOWwifi.py1#!/usr/bin/env pythonCOMMENT
LOWwifi.py21#COMMENT
LOWwifi.py421 # -----------------------------------------------COMMENT
LOWconfig.py1#!/usr/bin/env pythonCOMMENT
LOWconfig.py21#COMMENT
LOWdownload_progress.py1#!/usr/bin/env pythonCOMMENT
LOWdownload_progress.py21#COMMENT
LOWpackage_manager.py1#!/usr/bin/env pythonCOMMENT
LOWpackage_manager.py21#COMMENT
LOWpackage_manager.py961 event.Skip()COMMENT
LOWrequirements.txt21rsa>=4.9COMMENT
LOWencode-bitmaps.py1#!/usr/bin/env pythonCOMMENT
LOWencode-bitmaps.py21#COMMENT
LOWencode-bitmaps.py221# SPDX-FileCopyrightText: 2025 Badabing2005COMMENT
LOWencode-bitmaps.py241# For example, if your program is a web application, its interface couldCOMMENT
LOWmy_tools.py1#!/usr/bin/env pythonCOMMENT
LOWmy_tools.py21#COMMENT
LOWmessage_box_ex.py1#!/usr/bin/env pythonCOMMENT
LOWmessage_box_ex.py21#COMMENT
LOWksu_asset_selector.py1#!/usr/bin/env pythonCOMMENT
LOWksu_asset_selector.py21#COMMENT
LOWapk.py1# This file is part of Androguard.COMMENT
LOWconstants.py1#!/usr/bin/env pythonCOMMENT
LOWconstants.py21#COMMENT
LOWpif_manager.py1#!/usr/bin/env pythonCOMMENT
LOWpif_manager.py21#COMMENT
LOWpf_modules.py1#!/usr/bin/env pythonCOMMENT
LOWpf_modules.py21#COMMENT
LOWpf_modules.py441 # 'bfd5ea39c672b8f0f51796d6fe5439f152e86eafbba9f402d3abda802050e956',COMMENT
LOWpf_modules.py1801 traceback.print_exc()COMMENT
LOWpf_modules.py1821 # return -1COMMENT
LOWpf_modules.py1841 # if not device.is_display_unlocked():COMMENT
LOWpf_modules.py1861 # return -1COMMENT
LOWpf_modules.py1881 # # if res == -1:COMMENT
LOWpf_modules.py1901 # # return -1COMMENT
LOWpf_modules.py1921 # # # Check for Display being locked againCOMMENT
LOWpf_modules.py1941 # returnCOMMENT
LOWpf_modules.py1961 # print("ERROR: The device display is Locked!\nAborting ...\n")COMMENT
LOWpf_modules.py1981 # debug(theCmd)COMMENT
LOWpf_modules.py2001 # # get view3 bounds / click coordinatesCOMMENT
LOWpf_modules.py2021 # debug(theCmd)COMMENT
LOWpf_modules.py2041 # debug(theCmd)COMMENT
LOWpf_modules.py2061COMMENT
LOWpf_modules.py2081 # return -1COMMENT
LOWpf_modules.py2101COMMENT
LOWpf_modules.py2121 # print("Aborting ...\n")COMMENT
LOWpf_modules.py2141 # if coords:COMMENT
LOWpf_modules.py7421 # OTACOMMENT
LOWmagisk_downloads.py1#!/usr/bin/env pythonCOMMENT
LOWmagisk_downloads.py21#COMMENT
70 more matches not shown…
Hyper-Verbose Identifiers119 hits · 65 pts
SeverityFileLineSnippetContext
LOW⚡phone.py637 def ro_boot_vbmeta_device_state(self):CODE
LOW⚡phone.py647 def ro_boot_verifiedbootstate(self):CODE
LOW⚡phone.py971 def _get_root_solution_version(self, solution_type):CODE
LOW⚡phone.py1154 def current_device_props_as_json(self): # sourcery skip: use-joinCODE
LOW⚡phone.py1597 def magisk_add_systemless_hosts(self):CODE
LOW⚡phone.py1669 def magisk_modify_root_access(self, value):STRING
LOW⚡phone.py2608 def push_update_engine_client(self, local_filename = 'update_engine_client_r72', file_path = "/data/local/tmp/updateSTRING
LOW⚡phone.py3025 def apatch_next_app_version_code(self):STRING
LOW⚡phone.py3045 def ksu_next_app_version_code(self):STRING
LOW⚡phone.py3065 def wild_ksu_app_version_code(self):STRING
LOW⚡phone.py3074 def get_uncached_magisk_app_version(self):STRING
LOW⚡phone.py3081 def get_uncached_ksu_app_version(self):STRING
LOW⚡phone.py3088 def get_uncached_ksu_next_app_version(self):STRING
LOW⚡phone.py3095 def get_uncached_sukisu_app_version(self):STRING
LOW⚡phone.py3102 def get_uncached_wild_ksu_app_version(self):STRING
LOW⚡phone.py3109 def get_uncached_apatch_app_version(self):STRING
LOW⚡phone.py3116 def get_uncached_apatch_next_app_version(self):STRING
LOW⚡phone.py3264 def get_apatch_detailed_modules(self, refresh=False):STRING
LOW⚡phone.py3280 def get_sukisu_detailed_modules(self, refresh=False):STRING
LOW⚡phone.py3288 def get_wild_ksu_detailed_modules(self, refresh=False):STRING
LOW⚡phone.py3296 def get_magisk_detailed_modules(self, refresh=False):STRING
LOW⚡phone.py3985 def reboot_recovery_interactive(self, timeout=60, hint='None'):STRING
LOW⚡phone.py4448 def fastboot_wait_for_bootloader(self, device_id='', timeout=60):STRING
LOW⚡phone.py4983 def open_update_engine_logcat(self):STRING
LOW⚡logcat.py68 def _create_formatting_section(self):CODE
LOW⚡package_manager.py1352 def add_missing_packages_for_simplified_mode(self, process_filter=None):CODE
LOWapk.py258def is_android_packages_binary(raw_buff):CODE
LOW⚡pif_manager.py587 def setup_syntax_highlighting(self, stc_ctrl, format_type=None):CODE
LOW⚡pif_manager.py638 def update_syntax_highlighting(self):CODE
LOW⚡pif_manager.py2137 def process_factory_image_selection(self, image_url, source_label):CODE
LOW⚡pif_manager.py2503 def _get_prop_processing_state(self):CODE
LOW⚡pif_manager.py2517 def _apply_processed_props_result(self, donor_json_string, processing_state=None):CODE
LOW⚡pif_manager.py2617 def _log_image_process_duration(self, start):CODE
LOW⚡pif_manager.py3040 def process_active_pif_updated_value(self):CODE
LOW⚡pf_modules.py2444 def ensure_root_app_installed(app_type='KernelSU') -> tuple:STRING
LOW⚡pf_modules.py3112 def patch_kernelsu_lkm_script():STRING
LOW⚡pf_modules.py6929 def reboot_device_to_bootloader():STRING
LOW⚡pf_modules.py7315 def reboot_to_system_if_needed():STRING
LOW⚡runtime.py634def get_selected_boot_partition() -> str | None:CODE
LOW⚡runtime.py642def set_selected_boot_partition(value) -> None:CODE
LOW⚡runtime.py880def get_firmware_hash_validity() -> bool:CODE
LOW⚡runtime.py888def set_firmware_hash_validity(value) -> None:CODE
LOW⚡runtime.py896def get_firmware_has_init_boot() -> bool:CODE
LOW⚡runtime.py904def set_firmware_has_init_boot(value) -> None:CODE
LOW⚡runtime.py4078def get_telegram_factory_images(max_pages=3):CODE
LOW⚡runtime.py1373def get_favorite_pifs_file_path() -> str:STRING
LOW⚡runtime.py1380def get_device_images_history_file_path() -> str:STRING
LOW⚡runtime.py1401def get_wifi_history_file_path() -> str:STRING
LOW⚡runtime.py1466def invalidate_devices_json_cache():STRING
LOW⚡runtime.py1598def update_device_custom_label(device_id, custom_label):STRING
LOW⚡runtime.py1630def update_all_devices_connection_status(connected_device_ids):STRING
LOW⚡runtime.py2022def _normalize_archive_file_requests(file_requests):STRING
LOW⚡runtime.py2049def check_archive_contains_file(archive_file_path, file_to_check, nested=False, is_recursive=False) -> str:STRING
LOW⚡runtime.py2074def check_archive_contains_files(archive_file_path, file_requests) -> dict[str, str]:STRING
LOW⚡runtime.py2137def check_zip_contains_files_fast_inner(zip_file, file_requests, nested=False, is_recursive=False):STRING
LOW⚡runtime.py2256def check_zip_contains_files_fast(zip_file_path, file_requests):STRING
LOW⚡runtime.py2322def check_zip_contains_files_lowmem(zip_file_path, file_requests):STRING
LOW⚡runtime.py2369def check_zip_contains_file_fast_inner(zip_file, file_to_check, nested=False, is_recursive=False) -> str:STRING
LOW⚡runtime.py2476def check_zip_contains_file_fast(zip_file_path, file_to_check, nested=False, is_recursive=False) -> str:STRING
LOW⚡runtime.py2546def check_file_pattern_in_zip_file(zip_file_path, pattern, return_all_matches=False):STRING
59 more matches not shown…
Redundant / Tautological Comments80 hits · 42 pts
SeverityFileLineSnippetContext
LOW⚡phone.py5331 # Check if package is in the outputSTRING
LOWphone.py3242 # Check if update is availableSTRING
LOWphone.py3544 # Check if database exists on deviceSTRING
LOWphone.py5643 # Check if device is enabled (unless scan_all is True)STRING
LOWphone.py5691 # Check if device is enabled (unless scan_all is True)STRING
LOW⚡package_manager.py779 # Check if any packages are selected (checked)COMMENT
LOW⚡my_tools.py345 # Check if it's not the first itemCOMMENT
LOW⚡my_tools.py362 # Check if it's not the last itemCOMMENT
LOWapk.py291 # Check if this is actually an AXML file by verifying magic headerCOMMENT
LOW⚡pif_manager.py1818 # Set focus to the custom version input and select all textCOMMENT
LOW⚡pif_manager.py1919 # Check if window is still valid before proceedingCOMMENT
LOW⚡pif_manager.py1925 # Check if we got valid resultsCOMMENT
LOW⚡pif_manager.py2859 # Check if the selected file is a Pixel Factory image by looking for flash-all.bat and flash-all.shCOMMENT
LOWpif_manager.py1343 # Check if target already exists in local fileCOMMENT
LOWpif_manager.py1862 # Check if self.beta_pif_version is a two digit number then set force_version to that (int)COMMENT
LOWpif_manager.py1941 # Check if abort was triggered before handling exceptionCOMMENT
LOWpif_manager.py2148 # Check if window was closed (abort)COMMENT
LOWpif_manager.py2887 # Check if it's a Pixel Factory imageCOMMENT
LOWpif_manager.py3102 # Check if we should update favorite status (either create button enabled or TargetedFix module)COMMENT
LOWpif_manager.py3454 # Check if the line contains an '=' character split into key value pairCOMMENT
LOW⚡pf_modules.py6689 # Check if the patch file is made by Magisk Zygote64_32STRING
LOWpf_modules.py783 # Check if the firmware file starts with image-* and warn the user or abortSTRING
LOWpf_modules.py903 # Check if it existsSTRING
LOWpf_modules.py2491 # Check if app is already installedSTRING
LOWpf_modules.py2630 # Check if installation was successfulSTRING
LOWpf_modules.py2666 # Check if installation was successfulSTRING
LOWpf_modules.py4402 # Check if the user canceledSTRING
LOWpf_modules.py4428 # Check if version_choice checkbox is selectedSTRING
LOWpf_modules.py4431 # Check if get_all checkbox is selectedSTRING
LOWpf_modules.py6204 # Check if we're flashing older OTASTRING
LOWruntime.py3772 # Check if ul_content is a BeautifulSoup TagCOMMENT
LOWruntime.py4142 # Check if we've reached content that's already in our cacheCOMMENT
LOWruntime.py4157 # Check if this content is already cached, but don't break yetCOMMENT
LOWruntime.py4166 # Check if this is a factory image announcementCOMMENT
LOW⚡runtime.py1302 # Check if the full_ota column already exists in the PACKAGE tableSTRING
LOW⚡runtime.py1436 # Check if we have a valid cached versionSTRING
LOW⚡runtime.py3009 # Check if "Voice Search" is foundSTRING
LOW⚡runtime.py3477 # Check if the file existsSTRING
LOW⚡runtime.py3485 # Check if filename needs sanitizationSTRING
LOW⚡runtime.py5957 # Check if we were abortedSTRING
LOW⚡runtime.py5962 # Check if download is complete before attempting fallbackSTRING
LOW⚡runtime.py5967 # Check if download ended with an error (e.g. timeout after all retries)STRING
LOW⚡runtime.py7151 # Check if the XML contains the specific stringSTRING
LOW⚡runtime.py7203 # Check if the XML contains the specific stringSTRING
LOW⚡runtime.py7491 # Check if the buffer is empty (happens for Android packages binary format)STRING
LOW⚡runtime.py9328 # Check if all required algorithms were foundSTRING
LOW⚡runtime.py11792 # Check if device is a Pixel device and compare SPL values.STRING
LOWruntime.py1279 # Check if the patch_method and is_odin column already exists in the BOOT tableSTRING
LOWruntime.py3080 # Check if there is a match within the allowed shift rangeSTRING
LOWruntime.py4948 # Check if abort was triggered (but not if we got valid results - stop_event is set on success too)STRING
LOWruntime.py5000 # Check if abort was triggered (but not if we got valid results - stop_event is set on success too)STRING
LOWruntime.py5014 # Check if abort was triggered (but not if we got valid results - stop_event is set on success too)STRING
LOWruntime.py5317 # Check if the build is present in the zip_filename, if not print a warningSTRING
LOWruntime.py5404 # Check if it matches the pattern and log detailsSTRING
LOWruntime.py5503 # Check if we've reached a stable URL (no more redirects)STRING
LOWruntime.py5547 # Check if abort was triggeredSTRING
LOWruntime.py5556 # Check if we've reached the end of the fileSTRING
LOWruntime.py5879 # Check if we've processed everythingSTRING
LOWruntime.py6190 # Check if we've reached end of streamSTRING
LOWruntime.py6365 # Check if the text of the <h2> element should be skippedSTRING
20 more matches not shown…
Modern Structural Boilerplate47 hits · 35 pts
SeverityFileLineSnippetContext
LOW⚡runtime.py299def set_app_language(value) -> None:CODE
LOW⚡runtime.py316def set_config(value) -> None:CODE
LOW⚡runtime.py332def set_window_shown(value) -> None:CODE
LOW⚡runtime.py377def set_console_widget(widget) -> None:CODE
LOW⚡runtime.py415def set_boot(value) -> None:CODE
LOW⚡runtime.py431def set_labels(value) -> None:CODE
LOW⚡runtime.py447def set_xiaomi(value) -> None:CODE
LOW⚡runtime.py463def set_favorite_pifs(value) -> None:CODE
LOW⚡runtime.py479def set_low_memory(value) -> None:CODE
LOW⚡runtime.py495def set_android_versions(value) -> None:CODE
LOW⚡runtime.py511def set_android_devices(value) -> None:CODE
LOW⚡runtime.py527def set_env_variables(value) -> None:CODE
LOW⚡runtime.py543def set_patched_with(value) -> None:CODE
LOW⚡runtime.py559def set_db(value) -> None:CODE
LOW⚡runtime.py610def set_verbose(value) -> None:CODE
LOW⚡runtime.py626def set_a_only(value) -> None:CODE
LOW⚡runtime.py642def set_selected_boot_partition(value) -> None:CODE
LOW⚡runtime.py658def set_adb(value) -> None:CODE
LOW⚡runtime.py674def set_puml_state(value) -> None:CODE
LOW⚡runtime.py690def set_fastboot(value) -> None:CODE
LOW⚡runtime.py706def set_adb_sha256(value) -> None:CODE
LOW⚡runtime.py722def set_fastboot_sha256(value) -> None:CODE
LOW⚡runtime.py738def set_phones(value) -> None:CODE
LOW⚡runtime.py754def set_device_list(value) -> None:CODE
LOW⚡runtime.py770def set_phone_id(value) -> None:CODE
LOW⚡runtime.py801def set_system_codepage(value) -> None:CODE
LOW⚡runtime.py817def set_magisk_package(value) -> None:CODE
LOW⚡runtime.py833def set_linux_shell(value) -> None:CODE
LOW⚡runtime.py849def set_ota(self, value) -> None:CODE
LOW⚡runtime.py872def set_sdk_state(value) -> None:CODE
LOW⚡runtime.py888def set_firmware_hash_validity(value) -> None:CODE
LOW⚡runtime.py904def set_firmware_has_init_boot(value) -> None:CODE
LOW⚡runtime.py920def set_rom_has_init_boot(value) -> None:CODE
LOW⚡runtime.py936def set_dlg_checkbox_values(value) -> None:CODE
LOW⚡runtime.py952def set_firmware_model(value) -> None:CODE
LOW⚡runtime.py968def set_firmware_id(value) -> None:CODE
LOW⚡runtime.py984def set_custom_rom_id(value) -> None:CODE
LOW⚡runtime.py1000def set_logfile(value) -> None:CODE
LOW⚡runtime.py1016def set_pumlfile(value) -> None:CODE
LOW⚡runtime.py1032def set_sdk_version(value) -> None:CODE
LOW⚡runtime.py1048def set_image_mode(value) -> None:CODE
LOW⚡runtime.py1064def set_image_path(value) -> None:CODE
LOW⚡runtime.py1080def set_custom_rom_file(value) -> None:CODE
LOW⚡runtime.py1096def set_message_box_title(value) -> None:CODE
LOW⚡runtime.py1112def set_message_box_message(value) -> None:CODE
LOW⚡runtime.py1328def set_config_file_path(value) -> None:STRING
LOW⚡runtime.py1351def set_config_path(value) -> None:STRING
Unused Imports46 hits · 28 pts
SeverityFileLineSnippetContext
LOWmagisk_modules.py45CODE
LOWmagisk_modules.py46CODE
LOWfile_editor.py41CODE
LOWphone.py50CODE
LOWphone.py51CODE
LOWlogcat.py38CODE
LOWwifi.py48CODE
LOWconfig.py39CODE
LOWconfig.py42CODE
LOWpackage_manager.py51CODE
LOWmy_tools.py41CODE
LOWmy_tools.py42CODE
LOWmessage_box_ex.py43CODE
LOWapk.py19CODE
LOWpif_manager.py49CODE
LOWpf_modules.py43CODE
LOWpf_modules.py52CODE
LOWpf_modules.py52CODE
LOWpf_modules.py52CODE
LOWpf_modules.py52CODE
LOWpf_modules.py55CODE
LOWpf_modules.py60CODE
LOWmagisk_downloads.py42CODE
LOWmagisk_downloads.py49CODE
LOWmagisk_downloads.py50CODE
LOWAbout.py42CODE
LOWruntime.py60CODE
LOWruntime.py92CODE
LOWruntime.py94CODE
LOWruntime.py94CODE
LOWruntime.py88CODE
LOWpartition_manager.py36CODE
LOWpartition_manager.py46CODE
LOWbackup_manager.py47CODE
LOWset_version.py39CODE
LOWmanage_devices.py35CODE
LOWMain.py49CODE
LOWMain.py55CODE
LOWMain.py60CODE
LOWMain.py70CODE
LOWMain.py80CODE
LOWMain.py85CODE
LOWMain.py92CODE
LOWMain.py93CODE
LOWadvanced_settings.py40CODE
LOWadvanced_settings.py41CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHphone.py2363 Pushes a file to the device. Args: local_file (str): Local file path. STRING
HIGHphone.py4306 Gets the state of a device. The method retrieves the state of a device identified by the given device STRING
AI Slop Vocabulary4 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡pif_manager.py1921 # Window was destroyed, just returnCOMMENT
LOWavbtool.py702 # to rely on Crypto.PublicKey.RSA. Instead just use openssl(1) to verify.COMMENT
LOWavbtool.py1254 # Truncating to grow - just add a DONT_CARE section.COMMENT
LOWavbtool.py3025 # simpler - we just set the root to the partition.COMMENT
AI Structural Patterns10 hits · 6 pts
SeverityFileLineSnippetContext
LOWmessage_box_ex.py47CODE
LOWruntime.py8125CODE
LOWruntime.py9944CODE
LOWavbtool.py1318CODE
LOWavbtool.py1424CODE
LOWavbtool.py1598CODE
LOWavbtool.py1766CODE
LOWavbtool.py1879CODE
LOWavbtool.py1993CODE
LOWavbtool.py5073CODE
Verbosity Indicators3 hits · 1 pts
SeverityFileLineSnippetContext
LOW⚡runtime.py11757 # Step 1: Get the prefix portion, don't look into multiline stringsSTRING
LOW⚡runtime.py11764 # Step 2: Get the longest candidate by searching all linesSTRING
LOW⚡runtime.py11780 # Step 3: Filter out anything before the prefix in the longest candidateSTRING
Structural Annotation Overuse3 hits · 1 pts
SeverityFileLineSnippetContext
LOW⚡runtime.py11757 # Step 1: Get the prefix portion, don't look into multiline stringsSTRING
LOW⚡runtime.py11764 # Step 2: Get the longest candidate by searching all linesSTRING
LOW⚡runtime.py11780 # Step 3: Filter out anything before the prefix in the longest candidateSTRING
Example Usage Blocks1 hit · 0 pts
SeverityFileLineSnippetContext
LOW⚡runtime.py1660# Example usageSTRING