Repository Analysis

ranger/ranger

A VIM-inspired filemanager for the console

34.8 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of ranger/ranger, a Python project with 17,295 GitHub stars. SynthScan v2.0 examined 27,383 lines of code across 140 source files, recording 672 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 34.8 places this repository in the Strong 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).

34.8
Adjusted Score
34.8
Raw Score
100%
Time Factor
2026-07-12
Last Push
17.3K
Stars
Python
Language
27.4K
Lines of Code
140
Files
672
Pattern Hits
2026-07-14
Scan Date
0.01
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 1MEDIUM 144LOW 527

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 672 distinct pattern matches across 15 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.

Unused Imports324 hits · 318 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
264 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
MEDIUMranger/config/commands.py2# This file is part of ranger, the console file manager.COMMENT
MEDIUMranger/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 · 122 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.py651 # --------------------------COMMENT
MEDIUMranger/core/actions.py653 # --------------------------COMMENT
MEDIUMranger/core/actions.py786 # --------------------------COMMENT
MEDIUMranger/core/actions.py788 # --------------------------COMMENT
MEDIUMranger/core/actions.py858 # --------------------------COMMENT
MEDIUMranger/core/actions.py860 # --------------------------COMMENT
MEDIUMranger/core/actions.py909 # --------------------------COMMENT
MEDIUMranger/core/actions.py911 # --------------------------COMMENT
MEDIUMranger/core/actions.py964 # --------------------------COMMENT
MEDIUMranger/core/actions.py966 # --------------------------COMMENT
MEDIUMranger/core/actions.py1033 # --------------------------COMMENT
MEDIUMranger/core/actions.py1035 # --------------------------COMMENT
MEDIUMranger/core/actions.py1240 # --------------------------COMMENT
MEDIUMranger/core/actions.py1242 # --------------------------COMMENT
MEDIUMranger/core/actions.py1449 # --------------------------COMMENT
MEDIUMranger/core/actions.py1451 # --------------------------COMMENT
MEDIUMranger/core/actions.py1527 # --------------------------COMMENT
MEDIUMranger/core/actions.py1529 # --------------------------COMMENT
MEDIUMranger/config/commands_sample.py8# -----------------------------------------------------------------------------COMMENT
MEDIUMranger/config/commands.py4# ===================================================================COMMENT
MEDIUMranger/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
MEDIUMdoc/config/commands.py4# ===================================================================COMMENT
MEDIUMdoc/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 Nesting103 hits · 90 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.py614CODE
LOWranger/core/actions.py634CODE
LOWranger/core/actions.py689CODE
LOWranger/core/actions.py722CODE
LOWranger/core/actions.py801CODE
LOWranger/core/actions.py1054CODE
LOWranger/core/actions.py1387CODE
LOWranger/core/actions.py1540CODE
LOWranger/core/actions.py1142CODE
LOWranger/core/fm.py485CODE
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.py13CODE
LOWranger/ext/rifle.py574CODE
LOWranger/ext/rifle.py267CODE
LOWranger/ext/rifle.py330CODE
LOWranger/ext/rifle.py401CODE
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.py158CODE
LOWranger/container/settings.py291CODE
LOWranger/container/bookmarks.py171CODE
LOWranger/container/bookmarks.py223CODE
LOWranger/container/directory.py275CODE
LOWranger/container/directory.py335CODE
LOWranger/container/directory.py491CODE
LOWranger/container/directory.py562CODE
LOWranger/colorschemes/snow.py12CODE
LOWranger/colorschemes/solarized.py21CODE
LOWranger/colorschemes/default.py17CODE
LOWranger/gui/ui.py235CODE
LOWranger/gui/ui.py364CODE
LOWranger/gui/ui.py484CODE
LOWranger/gui/ui.py525CODE
43 more matches not shown…
Over-Commented Block36 hits · 36 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 if self.stream:COMMENT
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/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 Identifiers29 hits · 28 pts
SeverityFileLineSnippetContext
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.py207 def hook_command_preprocessing(command):CODE
LOWranger/ext/rifle.py211 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.py16def test_move_symlink_into_target_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py37def test_move_symlink_into_symlink_to_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py102def test_move_symlink_into_unrelated_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py119def test_move_broken_symlink_into_directory(tmpdir):CODE
LOWtests/ranger/ext/test_shutil_generatorized.py134def test_move_symlink_to_file_into_directory(tmpdir):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.py859 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.py378 # size has changed and I'll add a "?".COMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWranger/ext/hash.py26 # 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.py156 # 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.py639 # TODO: implement interactive asking for file type?COMMENT
LOWranger/ext/img_display.py834 # TODO: implement a wrapper class for Imagemagick process toCOMMENT
LOWranger/ext/img_display.py903 # TODO: implement z compressionCOMMENT
LOWranger/ext/img_display.py944 # 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