AI Slop Code RIsk Monitor

ranger/ranger

A VIM-inspired filemanager for the console

52.5 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ranger/ranger, a Python project with 17,423 GitHub stars. SynthScan examined 27,611 lines of code across 142 source files, recording 786 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 52.5 (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.

52.5
Adjusted Signal
52.5
Raw Pattern Score
100%
Time Factor
2026-09-09
Last Push
17.4K
Stars
Python
Language
27.6K
Lines of Code
142
Files
786
Pattern Hits
2026-10-12
Scan Date
0.70
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 59.5/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 44.3/100 · MEDIUM

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

Agent Over-Engineering Ratio 69.9/100 · HIGH

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

PR Review Velocity Impact 94.2/100 · CRITICAL

Which changes need focused human review? 786 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 100MEDIUM 144LOW 542

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 786 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.

Empty Error Handlers99 hits · 495 pts
SeverityFileLineSnippetContext
HIGHranger/core/runner.py128except TypeError:CODE
HIGHranger/core/runner.py282except Exception: # pylint: disable=broad-exception-caughtCODE
HIGHranger/core/filter_stack.py187except ValueError:CODE
HIGHranger/core/filter_stack.py131except StopIteration:CODE
HIGHranger/core/metadata.py82except KeyError:CODE
HIGHranger/core/actions.py159except AttributeError:CODE
HIGHranger/core/actions.py925except KeyError:CODE
HIGHranger/core/actions.py1224except ImportError:CODE
HIGHranger/core/actions.py1720except OSError:CODE
HIGHranger/core/actions.py126except ValueError:CODE
HIGHranger/core/actions.py131except ValueError:CODE
HIGHranger/core/actions.py575except IndexError:CODE
HIGHranger/core/actions.py1194except KeyError:CODE
HIGHranger/core/fm.py54except KeyError:CODE
HIGHranger/core/loader.py47except AttributeError:CODE
HIGHranger/core/loader.py294except OSError:CODE
HIGHranger/core/loader.py303except OSError:CODE
HIGHranger/core/loader.py313except OSError:CODE
HIGHranger/core/loader.py93except OSError:CODE
HIGHranger/core/loader.py287except OSError:CODE
HIGHranger/core/tab.py66except (TypeError, IndexError):CODE
HIGHranger/core/tab.py74except (TypeError, IndexError):CODE
HIGHranger/core/main.py246except (AttributeError, NameError):CODE
HIGHranger/core/main.py223except Exception: # pylint: disable=broad-exceptCODE
HIGHranger/config/commands.py947except ValueError:CODE
HIGHranger/ext/signals.py194except KeyError:CODE
HIGHranger/ext/signals.py200except IndexError:CODE
HIGHranger/ext/direction.py107except KeyError:CODE
HIGHranger/ext/keybinding_parser.py157except KeyError:CODE
HIGHranger/ext/keybinding_parser.py161except IndexError:CODE
HIGHranger/ext/shutil_generatorized.py132except AttributeError:CODE
HIGHranger/ext/shutil_generatorized.py73except OSError:CODE
HIGHranger/ext/shutil_generatorized.py77except NotImplementedError:CODE
HIGHranger/ext/shutil_generatorized.py89except OSError:CODE
HIGHranger/ext/shutil_generatorized.py98except OSError:CODE
HIGHranger/ext/shutil_generatorized.py144except OSError:CODE
HIGHranger/ext/shutil_generatorized.py26except OSError:CODE
HIGHranger/ext/shutil_generatorized.py31except OSError:CODE
HIGHranger/ext/shutil_generatorized.py36except OSError:CODE
HIGHranger/ext/shutil_generatorized.py94except OSError:CODE
HIGHranger/ext/shutil_generatorized.py162except NameError:CODE
HIGHranger/ext/accumulator.py47except (TypeError, AttributeError):CODE
HIGHranger/ext/rifle.py560except ImportError:CODE
HIGHranger/ext/rifle.py358except OSError:CODE
HIGHranger/ext/rifle.py123except Exception: # pylint: disable=broad-exceptCODE
HIGHranger/container/tags.py49except KeyError:CODE
HIGHranger/container/tags.py67except KeyError:CODE
HIGHranger/container/directory.py631except AttributeError:CODE
HIGHranger/container/directory.py676except AttributeError:CODE
HIGHranger/container/history.py35except ValueError:CODE
HIGHranger/container/history.py51except ValueError:CODE
HIGHranger/gui/color.py51except curses.error:CODE
HIGHranger/gui/displayable.py154except TypeError:CODE
HIGHranger/gui/displayable.py323except ValueError:CODE
HIGHranger/gui/displayable.py335except AttributeError:CODE
HIGHranger/gui/displayable.py189except curses.error:CODE
HIGHranger/gui/displayable.py206except curses.error:CODE
HIGHranger/gui/ui.py115except curses.error:CODE
HIGHranger/gui/ui.py120except curses.error:CODE
HIGHranger/gui/ui.py393except UnicodeError:CODE
39 more matches not shown…
Unused Imports330 hits · 324 pts
SeverityFileLineSnippetContext
LOWsetup.py5CODE
LOWsetup.py5CODE
LOWsetup.py5CODE
LOWranger.py26CODE
LOWranger.py26CODE
LOWranger.py26CODE
LOWranger/__init__.py11CODE
LOWranger/__init__.py11CODE
LOWranger/__init__.py11CODE
LOWranger/__init__.py66CODE
LOWranger/core/runner.py25CODE
LOWranger/core/runner.py25CODE
LOWranger/core/runner.py25CODE
LOWranger/core/filter_stack.py6CODE
LOWranger/core/filter_stack.py6CODE
LOWranger/core/filter_stack.py6CODE
LOWranger/core/metadata.py14CODE
LOWranger/core/metadata.py14CODE
LOWranger/core/metadata.py14CODE
LOWranger/core/actions.py6CODE
LOWranger/core/actions.py6CODE
LOWranger/core/actions.py6CODE
LOWranger/core/fm.py6CODE
LOWranger/core/fm.py6CODE
LOWranger/core/fm.py6CODE
LOWranger/core/shared.py6CODE
LOWranger/core/shared.py6CODE
LOWranger/core/shared.py6CODE
LOWranger/core/loader.py4CODE
LOWranger/core/loader.py4CODE
LOWranger/core/loader.py4CODE
LOWranger/core/linemode.py6CODE
LOWranger/core/linemode.py6CODE
LOWranger/core/linemode.py6CODE
LOWranger/core/tab.py4CODE
LOWranger/core/tab.py4CODE
LOWranger/core/tab.py4CODE
LOWranger/core/main.py6CODE
LOWranger/core/main.py6CODE
LOWranger/core/main.py6CODE
LOWranger/config/commands_sample.py10CODE
LOWranger/config/commands_sample.py10CODE
LOWranger/config/commands_sample.py10CODE
LOWranger/config/commands.py94CODE
LOWranger/config/commands.py94CODE
LOWranger/config/commands.py94CODE
LOWranger/config/commands.py503CODE
LOWranger/config/commands.py1090CODE
LOWranger/ext/human_readable.py4CODE
LOWranger/ext/human_readable.py4CODE
LOWranger/ext/human_readable.py4CODE
LOWranger/ext/signals.py67CODE
LOWranger/ext/signals.py67CODE
LOWranger/ext/signals.py67CODE
LOWranger/ext/direction.py21CODE
LOWranger/ext/direction.py21CODE
LOWranger/ext/direction.py21CODE
LOWranger/ext/keybinding_parser.py4CODE
LOWranger/ext/keybinding_parser.py4CODE
LOWranger/ext/keybinding_parser.py4CODE
270 more matches not shown…
Self-Referential Comments96 hits · 297 pts
SeverityFileLineSnippetContext
MEDIUMsetup.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger.py2# This file is part of ranger, the console file manager. (coding: utf-8)COMMENT
MEDIUMranger/__init__.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/runner.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/runner.py4"""This module is an abstract layer over subprocess.PopenSTRING
MEDIUMranger/core/filter_stack.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/metadata.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/actions.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/fm.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/shared.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/loader.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/linemode.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/tab.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/main.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/core/main.py467 # Create the file if it doesn't exist.STRING
MEDIUM⚡ranger/config/commands.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUM⚡ranger/config/commands.py11# This file contains ranger's commands.COMMENT
MEDIUMranger/ext/human_readable.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/signals.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/direction.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/direction.py4"""This class provides convenient methods for movement operations.STRING
MEDIUMranger/ext/keybinding_parser.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/relative_symlink.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/popen23.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/popen_forked.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/openstruct.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/posix_signals.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/hash.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/cached_function.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/curses_interrupt_handler.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/get_executables.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/accumulator.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/widestring.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/spawn.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/shell_escape.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/rifle.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/which.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/img_display.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/iter_tools.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/safe_path.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/mount_path.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/lazy_property.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/abc.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/vcs/git.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/vcs/svn.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/vcs/bzr.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/vcs/__init__.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/vcs/vcs.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/ext/vcs/hg.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/tags.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/fsobject.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/file.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/settings.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/bookmarks.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/directory.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/container/history.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/colorschemes/snow.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/colorschemes/solarized.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/colorschemes/default.py1# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/colorschemes/jungle.py1# This file is part of ranger, the console file manager.COMMENT
36 more matches not shown…
Decorative Section Separators40 hits · 110 pts
SeverityFileLineSnippetContext
MEDIUMranger.py5# =====================COMMENT
MEDIUMranger/core/actions.py52 # --------------------------COMMENT
MEDIUMranger/core/actions.py54 # --------------------------COMMENT
MEDIUMranger/core/actions.py464 # --------------------------COMMENT
MEDIUMranger/core/actions.py466 # --------------------------COMMENT
MEDIUMranger/core/actions.py653 # --------------------------COMMENT
MEDIUMranger/core/actions.py655 # --------------------------COMMENT
MEDIUMranger/core/actions.py788 # --------------------------COMMENT
MEDIUMranger/core/actions.py790 # --------------------------COMMENT
MEDIUMranger/core/actions.py860 # --------------------------COMMENT
MEDIUMranger/core/actions.py862 # --------------------------COMMENT
MEDIUMranger/core/actions.py911 # --------------------------COMMENT
MEDIUMranger/core/actions.py913 # --------------------------COMMENT
MEDIUMranger/core/actions.py966 # --------------------------COMMENT
MEDIUMranger/core/actions.py968 # --------------------------COMMENT
MEDIUMranger/core/actions.py1035 # --------------------------COMMENT
MEDIUMranger/core/actions.py1037 # --------------------------COMMENT
MEDIUMranger/core/actions.py1242 # --------------------------COMMENT
MEDIUMranger/core/actions.py1244 # --------------------------COMMENT
MEDIUMranger/core/actions.py1479 # --------------------------COMMENT
MEDIUMranger/core/actions.py1481 # --------------------------COMMENT
MEDIUMranger/core/actions.py1557 # --------------------------COMMENT
MEDIUMranger/core/actions.py1559 # --------------------------COMMENT
MEDIUMranger/config/commands_sample.py8# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡ranger/config/commands.py4# ===================================================================COMMENT
MEDIUM⚡ranger/config/commands.py10# ===================================================================COMMENT
MEDIUMranger/config/commands.py27# ===================================================================COMMENT
MEDIUMranger/config/commands.py48# ===================================================================COMMENT
MEDIUMranger/config/commands.py62# ===================================================================COMMENT
MEDIUMranger/config/commands.py90# ===================================================================COMMENT
MEDIUMranger/config/commands.py1909# --------------------------------COMMENT
MEDIUMranger/config/commands.py1954# --------------------------------COMMENT
MEDIUM⚡doc/config/commands.py4# ===================================================================COMMENT
MEDIUM⚡doc/config/commands.py10# ===================================================================COMMENT
MEDIUMdoc/config/commands.py27# ===================================================================COMMENT
MEDIUMdoc/config/commands.py48# ===================================================================COMMENT
MEDIUMdoc/config/commands.py62# ===================================================================COMMENT
MEDIUMdoc/config/commands.py90# ===================================================================COMMENT
MEDIUMdoc/config/commands.py1909# --------------------------------COMMENT
MEDIUMdoc/config/commands.py1954# --------------------------------COMMENT
Deep Nesting104 hits · 91 pts
SeverityFileLineSnippetContext
LOWranger/core/filter_stack.py120CODE
LOWranger/core/actions.py279CODE
LOWranger/core/actions.py369CODE
LOWranger/core/actions.py391CODE
LOWranger/core/actions.py468CODE
LOWranger/core/actions.py616CODE
LOWranger/core/actions.py636CODE
LOWranger/core/actions.py691CODE
LOWranger/core/actions.py724CODE
LOWranger/core/actions.py803CODE
LOWranger/core/actions.py1056CODE
LOWranger/core/actions.py1417CODE
LOWranger/core/actions.py1570CODE
LOWranger/core/actions.py1679CODE
LOWranger/core/actions.py1144CODE
LOWranger/core/fm.py488CODE
LOWranger/core/loader.py97CODE
LOWranger/core/loader.py195CODE
LOWranger/core/main.py30CODE
LOWranger/core/main.py387CODE
LOWranger/config/commands.py358CODE
LOWranger/config/commands.py1247CODE
LOWranger/config/commands.py1371CODE
LOWranger/config/commands.py1601CODE
LOWranger/config/commands.py1800CODE
LOWranger/config/commands.py1372CODE
LOWranger/ext/signals.py203CODE
LOWranger/ext/signals.py249CODE
LOWranger/ext/keybinding_parser.py76CODE
LOWranger/ext/keybinding_parser.py255CODE
LOWranger/ext/shutil_generatorized.py136CODE
LOWranger/ext/shutil_generatorized.py189CODE
LOWranger/ext/hash.py15CODE
LOWranger/ext/rifle.py573CODE
LOWranger/ext/rifle.py266CODE
LOWranger/ext/rifle.py329CODE
LOWranger/ext/rifle.py400CODE
LOWranger/ext/rifle.py93CODE
LOWranger/ext/img_display.py396CODE
LOWranger/ext/img_display.py412CODE
LOWranger/ext/vcs/vcs.py275CODE
LOWranger/ext/vcs/vcs.py344CODE
LOWranger/ext/vcs/vcs.py415CODE
LOWranger/ext/vcs/vcs.py440CODE
LOWranger/ext/vcs/vcs.py474CODE
LOWranger/container/fsobject.py280CODE
LOWranger/container/settings.py159CODE
LOWranger/container/settings.py292CODE
LOWranger/container/bookmarks.py171CODE
LOWranger/container/bookmarks.py223CODE
LOWranger/container/directory.py278CODE
LOWranger/container/directory.py338CODE
LOWranger/container/directory.py494CODE
LOWranger/container/directory.py565CODE
LOWranger/colorschemes/snow.py12CODE
LOWranger/colorschemes/solarized.py21CODE
LOWranger/colorschemes/default.py17CODE
LOWranger/gui/ui.py235CODE
LOWranger/gui/ui.py364CODE
LOWranger/gui/ui.py484CODE
44 more matches not shown…
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippetContext
LOWranger/core/fm.py201 # This can lead to a race condition where both FM and theCOMMENT
LOWranger/config/commands_sample.py1# This is a sample commands.py. You can add your own commands here.COMMENT
LOWranger/config/commands.py1# -*- coding: utf-8 -*-COMMENT
LOWranger/config/commands.py21# `ranger --copy-config=commands_full' and make your modifications, don'tCOMMENT
LOWranger/config/commands.py41#COMMENT
LOWranger/config/commands.py61#COMMENT
LOWranger/config/commands.py81#COMMENT
LOWranger/ext/img_display.py901 # start_y += ((box[1] - image.height) // 2) // self.pix_colCOMMENT
LOWranger/gui/widgets/console.py61 )COMMENT
LOWranger/data/scope.sh1#!/usr/bin/env bashCOMMENT
LOWranger/data/scope.sh161 orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )"COMMENT
LOWranger/data/scope.sh181 ## AudioCOMMENT
LOWranger/data/scope.sh221 convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \COMMENT
LOWranger/data/scope.sh241 # { [ "$tar" ] && fn=$(tar --list --file "${FILE_PATH}"); } || \COMMENT
LOWranger/data/scope.sh261 # "${IMAGE_CACHE_PATH}" && exit 6COMMENT
LOWtests/pylint/python3.py1# Copyright (c) 2014-2020 Claudiu Popa <pcmanticore@gmail.com>COMMENT
LOWtests/pylint/python3.py21# Copyright (c) 2018 ssolanki <sushobhitsolanki@gmail.com>COMMENT
LOWtests/pylint/python3.py1241 # The above statement looking for calls of the form:COMMENT
LOWtests/pylint/test_py2_compat.py181 # with self.assertAddsMessages(COMMENT
LOWtests/pylint/test_py2_compat.py201 # """)COMMENT
LOWtests/pylint/test_py2_compat.py221 # """)COMMENT
LOWtests/pylint/py2_compat.py21 # Each message has a code, a message that the user will see,COMMENT
LOWexamples/shell_automatic_cd.sh21COMMENT
LOWexamples/plugin_pmount_dynamic.py1# Tested with ranger 1.7.2COMMENT
LOWexamples/rifle_sxiv.sh1#!/bin/shCOMMENT
LOWexamples/shell_subshell_notice.sh1# shellcheck shell=shCOMMENT
LOWdoc/config/scope.sh1#!/usr/bin/env bashCOMMENT
LOWdoc/config/scope.sh161 orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )"COMMENT
LOWdoc/config/scope.sh181 ## AudioCOMMENT
LOWdoc/config/scope.sh221 convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \COMMENT
LOWdoc/config/scope.sh241 # { [ "$tar" ] && fn=$(tar --list --file "${FILE_PATH}"); } || \COMMENT
LOWdoc/config/scope.sh261 # "${IMAGE_CACHE_PATH}" && exit 6COMMENT
LOWdoc/config/commands.py1# -*- coding: utf-8 -*-COMMENT
LOWdoc/config/commands.py21# `ranger --copy-config=commands_full' and make your modifications, don'tCOMMENT
LOWdoc/config/commands.py41#COMMENT
LOWdoc/config/commands.py61#COMMENT
LOWdoc/config/commands.py81#COMMENT
Hyper-Verbose Identifiers36 hits · 34 pts
SeverityFileLineSnippetContext
LOWranger/core/actions.py1309 def _try_tabs_renumber_handler(self, *args, **kwargs):CODE
LOWranger/core/tab.py36 def _set_thisfile_from_signal(self, signal):CODE
LOWranger/core/tab.py110 def assign_cursor_positions_for_subdirs(self): # pylint: disable=invalid-nameCODE
LOWranger/config/commands.py849 def _trash_files_catch_arg_list_error(self, files):CODE
LOWranger/ext/curses_interrupt_handler.py39def install_interrupt_handler():CODE
LOWranger/ext/curses_interrupt_handler.py44def restore_interrupt_handler():CODE
LOWranger/ext/rifle.py206 def hook_command_preprocessing(command):CODE
LOWranger/ext/rifle.py210 def hook_command_postprocessing(command):CODE
LOWranger/container/fsobject.py184 def basename_without_extension(self):CODE
LOWranger/container/bookmarks.py213 def enable_saving_backtick_bookmark(self, boolean):CODE
LOWranger/container/directory.py50def sort_unicode_wrapper_string(old_sort_func):CODE
LOWranger/container/directory.py56def sort_unicode_wrapper_list(old_sort_func):CODE
LOWranger/gui/colorscheme.py85def _colorscheme_name_to_class(signal): # pylint: disable=too-many-branchesCODE
LOWranger/gui/widgets/browsercolumn.py453 def _get_index_of_selected_file(self):CODE
LOWranger/gui/widgets/view_miller.py86 def _request_clear_if_has_borders(self):CODE
LOWranger/api/commands.py60 def load_commands_from_module(self, module):CODE
LOWranger/api/commands.py68 def load_commands_from_object(self, obj, filtr):CODE
LOWtests/manpage_completion_test.py47def find_undocumented_settings():CODE
LOWtests/ranger/ext/test_shutil_generatorized.py17def test_move_symlink_into_target_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py38def test_move_symlink_into_symlink_to_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py103def test_move_symlink_into_unrelated_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py120def test_move_broken_symlink_into_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py135def test_move_symlink_to_file_into_directory(tmpdir):CODE
LOWtests/ranger/container/test_container.py94def test_history_without_max_length():CODE
LOWtests/ranger/container/test_tags.py40def test_update_path_renames_single_tag(tmpdir):CODE
LOWtests/ranger/container/test_tags.py57def test_update_path_renames_directory_prefix(tmpdir):CODE
LOWtests/ranger/container/test_tags.py79def test_update_path_noop_does_not_rewrite_file(tmpdir):CODE
LOWtests/ranger/container/test_tags.py92def test_update_path_does_not_rename_partial_prefix_match(tmpdir):CODE
LOWtests/ranger/gui/test_ui.py18def test_handle_multiplexer_missing_screen_executable(monkeypatch):CODE
LOWtests/pylint/python3.py1164 def _is_constant_string_or_name(node):CODE
LOWtests/pylint/python3.py1174 def _has_only_n_positional_args(node, number_of_args):CODE
LOWtests/pylint/test_py2_compat.py50 def test_print_without_import(self):STRING
LOWtests/pylint/test_py2_compat.py109 def test_implicit_format_spec(self):STRING
LOWtests/pylint/test_py2_compat.py176 # def test_division_without_import(self):STRING
LOWtests/pylint/test_py2_compat.py189 # def test_division_with_import(self):COMMENT
LOWdoc/config/commands.py849 def _trash_files_catch_arg_list_error(self, files):CODE
Excessive Try-Catch Wrapping20 hits · 19 pts
SeverityFileLineSnippetContext
LOWranger/core/runner.py137 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWranger/core/runner.py143 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWranger/core/runner.py282 except Exception: # pylint: disable=broad-exception-caughtCODE
MEDIUMranger/core/runner.py98def filepaths(self):CODE
MEDIUMranger/core/actions.py248def anypath_macro(i, char):CODE
LOWranger/core/actions.py273 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWranger/core/actions.py386 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWranger/core/fm.py305 except Exception: # pylint: disable=broad-exceptCODE
LOWranger/core/fm.py311 except Exception: # pylint: disable=broad-exceptCODE
LOWranger/core/loader.py466 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWranger/core/main.py217 except Exception: # pylint: disable=broad-exceptCODE
LOWranger/core/main.py223 except Exception: # pylint: disable=broad-exceptCODE
LOWranger/core/main.py364 except Exception as ex: # pylint: disable=broad-exceptSTRING
LOWranger/core/main.py484 except Exception as ex: # pylint: disable=broad-exceptSTRING
LOWranger/config/commands.py1110 except Exception as err: # pylint: disable=broad-exceptCODE
LOWranger/ext/rifle.py123 except Exception: # pylint: disable=broad-exceptCODE
LOWranger/ext/img_display.py860 except Exception as err:CODE
LOWranger/ext/vcs/vcs.py497 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWranger/gui/widgets/pager.py123 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWdoc/config/commands.py1110 except Exception as err: # pylint: disable=broad-exceptCODE
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMranger/core/tab.py189 # is required so that you can use enter_dir when switching tabsCOMMENT
MEDIUMranger/config/commands_sample.py7# A simple command for demonstration purposes follows.COMMENT
MEDIUMranger/config/commands_sample.py26 A sample command for demonstration purposes that opens a file in an editor.STRING
LOWranger/config/commands.py25# But make sure you update your configs when you update ranger.COMMENT
LOWdoc/config/commands.py25# But make sure you update your configs when you update ranger.COMMENT
AI Slop Vocabulary4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMranger/config/commands.py49# Commands have certain attributes and methods that facilitate parsing ofCOMMENT
MEDIUMranger/gui/curses_shortcuts.py21 """This class defines shortcuts to facilitate operations with curses.STRING
LOWexamples/plugin_hello_world.py23 # simply return the return value of the previous hook to be safe.COMMENT
MEDIUMdoc/config/commands.py49# Commands have certain attributes and methods that facilitate parsing ofCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHranger/container/directory.py381 # size has changed and I'll add a "?".COMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWranger/ext/hash.py31 # Read the file in ~64KiB chunks (multiple of sha256's blockCOMMENT
LOWranger/ext/get_executables.py26 # Check if the current environment is Microsoft WSL instead of native LinuxCOMMENT
LOWranger/ext/rifle.py155 # Check if stdin (file descriptor 0), stdout (fd 1) andCOMMENT
LOWranger/gui/widgets/browsercolumn.py349 # Check if current line has not already computed and cachedCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWranger/ext/rifle.py638 # TODO: implement interactive asking for file type?COMMENT
LOWranger/ext/img_display.py835 # TODO: implement a wrapper class for Imagemagick process toCOMMENT
LOWranger/ext/img_display.py904 # TODO: implement z compressionCOMMENT
LOWranger/ext/img_display.py945 # TODO: implement this using the actual x, y, since the protocolCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWranger/ext/shutil_generatorized.py12__all__ = ["copyfileobj", "copyfileobj_range", "copyfile", "copystat", "copy2", "BLOCK_SIZE",CODE
LOWranger/ext/vcs/__init__.py10__all__ = ['Vcs', 'VcsError', 'VcsThread']CODE
LOWranger/api/__init__.py12__all__ = ['ranger', 'LinemodeBase', 'hook_init', 'hook_ready', 'register_linemode']CODE
LOWranger/api/commands.py18__all__ = ['Command', 'LinemodeBase', 'hook_init', 'hook_ready', 'register_linemode'] # COMPATCODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWranger/core/runner.py73CODE
Overly Generic Function Names1 hit · 0 pts
SeverityFileLineSnippetContext
LOWranger/ext/signals.py27>>> def test_function(signal):STRING