A VIM-inspired filemanager for the console
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 5 | CODE | |
| LOW | setup.py | 5 | CODE | |
| LOW | setup.py | 5 | CODE | |
| LOW | ranger.py | 26 | CODE | |
| LOW | ranger.py | 26 | CODE | |
| LOW | ranger.py | 26 | CODE | |
| LOW | ranger/__init__.py | 11 | CODE | |
| LOW | ranger/__init__.py | 11 | CODE | |
| LOW | ranger/__init__.py | 11 | CODE | |
| LOW | ranger/__init__.py | 66 | CODE | |
| LOW | ranger/core/runner.py | 25 | CODE | |
| LOW | ranger/core/runner.py | 25 | CODE | |
| LOW | ranger/core/runner.py | 25 | CODE | |
| LOW | ranger/core/filter_stack.py | 6 | CODE | |
| LOW | ranger/core/filter_stack.py | 6 | CODE | |
| LOW | ranger/core/filter_stack.py | 6 | CODE | |
| LOW | ranger/core/metadata.py | 14 | CODE | |
| LOW | ranger/core/metadata.py | 14 | CODE | |
| LOW | ranger/core/metadata.py | 14 | CODE | |
| LOW | ranger/core/actions.py | 6 | CODE | |
| LOW | ranger/core/actions.py | 6 | CODE | |
| LOW | ranger/core/actions.py | 6 | CODE | |
| LOW | ranger/core/fm.py | 6 | CODE | |
| LOW | ranger/core/fm.py | 6 | CODE | |
| LOW | ranger/core/fm.py | 6 | CODE | |
| LOW | ranger/core/shared.py | 6 | CODE | |
| LOW | ranger/core/shared.py | 6 | CODE | |
| LOW | ranger/core/shared.py | 6 | CODE | |
| LOW | ranger/core/loader.py | 4 | CODE | |
| LOW | ranger/core/loader.py | 4 | CODE | |
| LOW | ranger/core/loader.py | 4 | CODE | |
| LOW | ranger/core/linemode.py | 6 | CODE | |
| LOW | ranger/core/linemode.py | 6 | CODE | |
| LOW | ranger/core/linemode.py | 6 | CODE | |
| LOW | ranger/core/tab.py | 4 | CODE | |
| LOW | ranger/core/tab.py | 4 | CODE | |
| LOW | ranger/core/tab.py | 4 | CODE | |
| LOW | ranger/core/main.py | 6 | CODE | |
| LOW | ranger/core/main.py | 6 | CODE | |
| LOW | ranger/core/main.py | 6 | CODE | |
| LOW | ranger/config/commands_sample.py | 10 | CODE | |
| LOW | ranger/config/commands_sample.py | 10 | CODE | |
| LOW | ranger/config/commands_sample.py | 10 | CODE | |
| LOW | ranger/config/commands.py | 94 | CODE | |
| LOW | ranger/config/commands.py | 94 | CODE | |
| LOW | ranger/config/commands.py | 94 | CODE | |
| LOW | ranger/config/commands.py | 503 | CODE | |
| LOW | ranger/config/commands.py | 1090 | CODE | |
| LOW | ranger/ext/human_readable.py | 4 | CODE | |
| LOW | ranger/ext/human_readable.py | 4 | CODE | |
| LOW | ranger/ext/human_readable.py | 4 | CODE | |
| LOW | ranger/ext/signals.py | 67 | CODE | |
| LOW | ranger/ext/signals.py | 67 | CODE | |
| LOW | ranger/ext/signals.py | 67 | CODE | |
| LOW | ranger/ext/direction.py | 21 | CODE | |
| LOW | ranger/ext/direction.py | 21 | CODE | |
| LOW | ranger/ext/direction.py | 21 | CODE | |
| LOW | ranger/ext/keybinding_parser.py | 4 | CODE | |
| LOW | ranger/ext/keybinding_parser.py | 4 | CODE | |
| LOW | ranger/ext/keybinding_parser.py | 4 | CODE | |
| 264 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger.py | 2 | # This file is part of ranger, the console file manager. (coding: utf-8) | COMMENT |
| MEDIUM | ranger/__init__.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/runner.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/runner.py | 4 | """This module is an abstract layer over subprocess.Popen | STRING |
| MEDIUM | ranger/core/filter_stack.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/metadata.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/actions.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/fm.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/shared.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/loader.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/linemode.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/tab.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/main.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/core/main.py | 467 | # Create the file if it doesn't exist. | STRING |
| MEDIUM⚡ | ranger/config/commands.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM⚡ | ranger/config/commands.py | 11 | # This file contains ranger's commands. | COMMENT |
| MEDIUM | ranger/ext/human_readable.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/signals.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/direction.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/direction.py | 4 | """This class provides convenient methods for movement operations. | STRING |
| MEDIUM | ranger/ext/keybinding_parser.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/relative_symlink.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/popen23.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/popen_forked.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/openstruct.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/posix_signals.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/hash.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/cached_function.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/curses_interrupt_handler.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/get_executables.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/accumulator.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/widestring.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/spawn.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/shell_escape.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/rifle.py | 2 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/which.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/img_display.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/iter_tools.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/safe_path.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/mount_path.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/lazy_property.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/abc.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/vcs/git.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/vcs/svn.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/vcs/bzr.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/vcs/__init__.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/vcs/vcs.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/ext/vcs/hg.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/tags.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/fsobject.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/file.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/settings.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/bookmarks.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/directory.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/container/history.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/colorschemes/snow.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/colorschemes/solarized.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/colorschemes/default.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| MEDIUM | ranger/colorschemes/jungle.py | 1 | # This file is part of ranger, the console file manager. | COMMENT |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ranger.py | 5 | # ===================== | COMMENT |
| MEDIUM | ranger/core/actions.py | 52 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 54 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 464 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 466 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 651 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 653 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 786 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 788 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 858 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 860 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 909 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 911 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 964 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 966 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1033 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1035 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1240 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1242 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1449 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1451 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1527 | # -------------------------- | COMMENT |
| MEDIUM | ranger/core/actions.py | 1529 | # -------------------------- | COMMENT |
| MEDIUM | ranger/config/commands_sample.py | 8 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | ranger/config/commands.py | 4 | # =================================================================== | COMMENT |
| MEDIUM⚡ | ranger/config/commands.py | 10 | # =================================================================== | COMMENT |
| MEDIUM | ranger/config/commands.py | 27 | # =================================================================== | COMMENT |
| MEDIUM | ranger/config/commands.py | 48 | # =================================================================== | COMMENT |
| MEDIUM | ranger/config/commands.py | 62 | # =================================================================== | COMMENT |
| MEDIUM | ranger/config/commands.py | 90 | # =================================================================== | COMMENT |
| MEDIUM | ranger/config/commands.py | 1909 | # -------------------------------- | COMMENT |
| MEDIUM | ranger/config/commands.py | 1954 | # -------------------------------- | COMMENT |
| MEDIUM⚡ | doc/config/commands.py | 4 | # =================================================================== | COMMENT |
| MEDIUM⚡ | doc/config/commands.py | 10 | # =================================================================== | COMMENT |
| MEDIUM | doc/config/commands.py | 27 | # =================================================================== | COMMENT |
| MEDIUM | doc/config/commands.py | 48 | # =================================================================== | COMMENT |
| MEDIUM | doc/config/commands.py | 62 | # =================================================================== | COMMENT |
| MEDIUM | doc/config/commands.py | 90 | # =================================================================== | COMMENT |
| MEDIUM | doc/config/commands.py | 1909 | # -------------------------------- | COMMENT |
| MEDIUM | doc/config/commands.py | 1954 | # -------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/core/filter_stack.py | 120 | CODE | |
| LOW | ranger/core/actions.py | 279 | CODE | |
| LOW | ranger/core/actions.py | 369 | CODE | |
| LOW | ranger/core/actions.py | 391 | CODE | |
| LOW | ranger/core/actions.py | 468 | CODE | |
| LOW | ranger/core/actions.py | 614 | CODE | |
| LOW | ranger/core/actions.py | 634 | CODE | |
| LOW | ranger/core/actions.py | 689 | CODE | |
| LOW | ranger/core/actions.py | 722 | CODE | |
| LOW | ranger/core/actions.py | 801 | CODE | |
| LOW | ranger/core/actions.py | 1054 | CODE | |
| LOW | ranger/core/actions.py | 1387 | CODE | |
| LOW | ranger/core/actions.py | 1540 | CODE | |
| LOW | ranger/core/actions.py | 1142 | CODE | |
| LOW | ranger/core/fm.py | 485 | CODE | |
| LOW | ranger/core/loader.py | 97 | CODE | |
| LOW | ranger/core/loader.py | 195 | CODE | |
| LOW | ranger/core/main.py | 30 | CODE | |
| LOW | ranger/core/main.py | 387 | CODE | |
| LOW | ranger/config/commands.py | 358 | CODE | |
| LOW | ranger/config/commands.py | 1247 | CODE | |
| LOW | ranger/config/commands.py | 1371 | CODE | |
| LOW | ranger/config/commands.py | 1601 | CODE | |
| LOW | ranger/config/commands.py | 1800 | CODE | |
| LOW | ranger/config/commands.py | 1372 | CODE | |
| LOW | ranger/ext/signals.py | 203 | CODE | |
| LOW | ranger/ext/signals.py | 249 | CODE | |
| LOW | ranger/ext/keybinding_parser.py | 76 | CODE | |
| LOW | ranger/ext/keybinding_parser.py | 255 | CODE | |
| LOW | ranger/ext/shutil_generatorized.py | 136 | CODE | |
| LOW | ranger/ext/shutil_generatorized.py | 189 | CODE | |
| LOW | ranger/ext/hash.py | 13 | CODE | |
| LOW | ranger/ext/rifle.py | 574 | CODE | |
| LOW | ranger/ext/rifle.py | 267 | CODE | |
| LOW | ranger/ext/rifle.py | 330 | CODE | |
| LOW | ranger/ext/rifle.py | 401 | CODE | |
| LOW | ranger/ext/rifle.py | 93 | CODE | |
| LOW | ranger/ext/img_display.py | 396 | CODE | |
| LOW | ranger/ext/img_display.py | 412 | CODE | |
| LOW | ranger/ext/vcs/vcs.py | 275 | CODE | |
| LOW | ranger/ext/vcs/vcs.py | 344 | CODE | |
| LOW | ranger/ext/vcs/vcs.py | 415 | CODE | |
| LOW | ranger/ext/vcs/vcs.py | 440 | CODE | |
| LOW | ranger/ext/vcs/vcs.py | 474 | CODE | |
| LOW | ranger/container/fsobject.py | 280 | CODE | |
| LOW | ranger/container/settings.py | 158 | CODE | |
| LOW | ranger/container/settings.py | 291 | CODE | |
| LOW | ranger/container/bookmarks.py | 171 | CODE | |
| LOW | ranger/container/bookmarks.py | 223 | CODE | |
| LOW | ranger/container/directory.py | 275 | CODE | |
| LOW | ranger/container/directory.py | 335 | CODE | |
| LOW | ranger/container/directory.py | 491 | CODE | |
| LOW | ranger/container/directory.py | 562 | CODE | |
| LOW | ranger/colorschemes/snow.py | 12 | CODE | |
| LOW | ranger/colorschemes/solarized.py | 21 | CODE | |
| LOW | ranger/colorschemes/default.py | 17 | CODE | |
| LOW | ranger/gui/ui.py | 235 | CODE | |
| LOW | ranger/gui/ui.py | 364 | CODE | |
| LOW | ranger/gui/ui.py | 484 | CODE | |
| LOW | ranger/gui/ui.py | 525 | CODE | |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/core/fm.py | 201 | # This can lead to a race condition where both FM and the | COMMENT |
| LOW | ranger/config/commands_sample.py | 1 | # This is a sample commands.py. You can add your own commands here. | COMMENT |
| LOW | ranger/config/commands.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | ranger/config/commands.py | 21 | # `ranger --copy-config=commands_full' and make your modifications, don't | COMMENT |
| LOW | ranger/config/commands.py | 41 | # | COMMENT |
| LOW | ranger/config/commands.py | 61 | # | COMMENT |
| LOW | ranger/config/commands.py | 81 | # | COMMENT |
| LOW | ranger/ext/img_display.py | 901 | if self.stream: | COMMENT |
| LOW | ranger/gui/widgets/console.py | 61 | ) | COMMENT |
| LOW | ranger/data/scope.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | ranger/data/scope.sh | 161 | orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )" | COMMENT |
| LOW | ranger/data/scope.sh | 181 | ## Audio | COMMENT |
| LOW | ranger/data/scope.sh | 221 | convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \ | COMMENT |
| LOW | ranger/data/scope.sh | 241 | # { [ "$tar" ] && fn=$(tar --list --file "${FILE_PATH}"); } || \ | COMMENT |
| LOW | ranger/data/scope.sh | 261 | # "${IMAGE_CACHE_PATH}" && exit 6 | COMMENT |
| LOW | tests/pylint/python3.py | 1 | # Copyright (c) 2014-2020 Claudiu Popa <pcmanticore@gmail.com> | COMMENT |
| LOW | tests/pylint/python3.py | 21 | # Copyright (c) 2018 ssolanki <sushobhitsolanki@gmail.com> | COMMENT |
| LOW | tests/pylint/python3.py | 1241 | # The above statement looking for calls of the form: | COMMENT |
| LOW | tests/pylint/test_py2_compat.py | 181 | # with self.assertAddsMessages( | COMMENT |
| LOW | tests/pylint/test_py2_compat.py | 201 | # """) | COMMENT |
| LOW | tests/pylint/test_py2_compat.py | 221 | # """) | COMMENT |
| LOW | tests/pylint/py2_compat.py | 21 | # Each message has a code, a message that the user will see, | COMMENT |
| LOW | examples/plugin_pmount_dynamic.py | 1 | # Tested with ranger 1.7.2 | COMMENT |
| LOW | examples/rifle_sxiv.sh | 1 | #!/bin/sh | COMMENT |
| LOW | examples/shell_subshell_notice.sh | 1 | # shellcheck shell=sh | COMMENT |
| LOW | doc/config/scope.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | doc/config/scope.sh | 161 | orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )" | COMMENT |
| LOW | doc/config/scope.sh | 181 | ## Audio | COMMENT |
| LOW | doc/config/scope.sh | 221 | convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \ | COMMENT |
| LOW | doc/config/scope.sh | 241 | # { [ "$tar" ] && fn=$(tar --list --file "${FILE_PATH}"); } || \ | COMMENT |
| LOW | doc/config/scope.sh | 261 | # "${IMAGE_CACHE_PATH}" && exit 6 | COMMENT |
| LOW | doc/config/commands.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | doc/config/commands.py | 21 | # `ranger --copy-config=commands_full' and make your modifications, don't | COMMENT |
| LOW | doc/config/commands.py | 41 | # | COMMENT |
| LOW | doc/config/commands.py | 61 | # | COMMENT |
| LOW | doc/config/commands.py | 81 | # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/core/tab.py | 36 | def _set_thisfile_from_signal(self, signal): | CODE |
| LOW | ranger/core/tab.py | 110 | def assign_cursor_positions_for_subdirs(self): # pylint: disable=invalid-name | CODE |
| LOW | ranger/config/commands.py | 849 | def _trash_files_catch_arg_list_error(self, files): | CODE |
| LOW | ranger/ext/curses_interrupt_handler.py | 39 | def install_interrupt_handler(): | CODE |
| LOW | ranger/ext/curses_interrupt_handler.py | 44 | def restore_interrupt_handler(): | CODE |
| LOW | ranger/ext/rifle.py | 207 | def hook_command_preprocessing(command): | CODE |
| LOW | ranger/ext/rifle.py | 211 | def hook_command_postprocessing(command): | CODE |
| LOW | ranger/container/fsobject.py | 184 | def basename_without_extension(self): | CODE |
| LOW | ranger/container/bookmarks.py | 213 | def enable_saving_backtick_bookmark(self, boolean): | CODE |
| LOW | ranger/container/directory.py | 50 | def sort_unicode_wrapper_string(old_sort_func): | CODE |
| LOW | ranger/container/directory.py | 56 | def sort_unicode_wrapper_list(old_sort_func): | CODE |
| LOW | ranger/gui/colorscheme.py | 85 | def _colorscheme_name_to_class(signal): # pylint: disable=too-many-branches | CODE |
| LOW | ranger/gui/widgets/browsercolumn.py | 453 | def _get_index_of_selected_file(self): | CODE |
| LOW | ranger/gui/widgets/view_miller.py | 86 | def _request_clear_if_has_borders(self): | CODE |
| LOW | ranger/api/commands.py | 60 | def load_commands_from_module(self, module): | CODE |
| LOW | ranger/api/commands.py | 68 | def load_commands_from_object(self, obj, filtr): | CODE |
| LOW | tests/manpage_completion_test.py | 47 | def find_undocumented_settings(): | CODE |
| LOW | tests/ranger/ext/test_shutil_generatorized.py | 16 | def test_move_symlink_into_target_directory(tmpdir): | CODE |
| LOW | tests/ranger/ext/test_shutil_generatorized.py | 37 | def test_move_symlink_into_symlink_to_directory(tmpdir): | CODE |
| LOW | tests/ranger/ext/test_shutil_generatorized.py | 102 | def test_move_symlink_into_unrelated_directory(tmpdir): | CODE |
| LOW | tests/ranger/ext/test_shutil_generatorized.py | 119 | def test_move_broken_symlink_into_directory(tmpdir): | CODE |
| LOW | tests/ranger/ext/test_shutil_generatorized.py | 134 | def test_move_symlink_to_file_into_directory(tmpdir): | CODE |
| LOW | tests/pylint/python3.py | 1164 | def _is_constant_string_or_name(node): | CODE |
| LOW | tests/pylint/python3.py | 1174 | def _has_only_n_positional_args(node, number_of_args): | CODE |
| LOW | tests/pylint/test_py2_compat.py | 50 | def test_print_without_import(self): | STRING |
| LOW | tests/pylint/test_py2_compat.py | 109 | def test_implicit_format_spec(self): | STRING |
| LOW | tests/pylint/test_py2_compat.py | 176 | # def test_division_without_import(self): | STRING |
| LOW | tests/pylint/test_py2_compat.py | 189 | # def test_division_with_import(self): | COMMENT |
| LOW | doc/config/commands.py | 849 | def _trash_files_catch_arg_list_error(self, files): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/core/runner.py | 137 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/runner.py | 143 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/runner.py | 282 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| MEDIUM | ranger/core/runner.py | 98 | def filepaths(self): | CODE |
| MEDIUM | ranger/core/actions.py | 248 | def anypath_macro(i, char): | CODE |
| LOW | ranger/core/actions.py | 273 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/actions.py | 386 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/fm.py | 305 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/fm.py | 311 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/loader.py | 466 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/main.py | 217 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/main.py | 223 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | ranger/core/main.py | 364 | except Exception as ex: # pylint: disable=broad-except | STRING |
| LOW | ranger/core/main.py | 484 | except Exception as ex: # pylint: disable=broad-except | STRING |
| LOW | ranger/config/commands.py | 1110 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | ranger/ext/rifle.py | 123 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | ranger/ext/img_display.py | 859 | except Exception as err: | CODE |
| LOW | ranger/ext/vcs/vcs.py | 497 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | ranger/gui/widgets/pager.py | 123 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | doc/config/commands.py | 1110 | except Exception as err: # pylint: disable=broad-except | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ranger/core/tab.py | 189 | # is required so that you can use enter_dir when switching tabs | COMMENT |
| MEDIUM | ranger/config/commands_sample.py | 7 | # A simple command for demonstration purposes follows. | COMMENT |
| MEDIUM | ranger/config/commands_sample.py | 26 | A sample command for demonstration purposes that opens a file in an editor. | STRING |
| LOW | ranger/config/commands.py | 25 | # But make sure you update your configs when you update ranger. | COMMENT |
| LOW | doc/config/commands.py | 25 | # But make sure you update your configs when you update ranger. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ranger/config/commands.py | 49 | # Commands have certain attributes and methods that facilitate parsing of | COMMENT |
| MEDIUM | ranger/gui/curses_shortcuts.py | 21 | """This class defines shortcuts to facilitate operations with curses. | STRING |
| LOW | examples/plugin_hello_world.py | 23 | # simply return the return value of the previous hook to be safe. | COMMENT |
| MEDIUM | doc/config/commands.py | 49 | # Commands have certain attributes and methods that facilitate parsing of | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ranger/container/directory.py | 378 | # size has changed and I'll add a "?". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/ext/hash.py | 26 | # Read the file in ~64KiB chunks (multiple of sha256's block | COMMENT |
| LOW | ranger/ext/get_executables.py | 26 | # Check if the current environment is Microsoft WSL instead of native Linux | COMMENT |
| LOW | ranger/ext/rifle.py | 156 | # Check if stdin (file descriptor 0), stdout (fd 1) and | COMMENT |
| LOW | ranger/gui/widgets/browsercolumn.py | 349 | # Check if current line has not already computed and cached | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/ext/rifle.py | 639 | # TODO: implement interactive asking for file type? | COMMENT |
| LOW | ranger/ext/img_display.py | 834 | # TODO: implement a wrapper class for Imagemagick process to | COMMENT |
| LOW | ranger/ext/img_display.py | 903 | # TODO: implement z compression | COMMENT |
| LOW | ranger/ext/img_display.py | 944 | # TODO: implement this using the actual x, y, since the protocol | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/ext/shutil_generatorized.py | 12 | __all__ = ["copyfileobj", "copyfileobj_range", "copyfile", "copystat", "copy2", "BLOCK_SIZE", | CODE |
| LOW | ranger/ext/vcs/__init__.py | 10 | __all__ = ['Vcs', 'VcsError', 'VcsThread'] | CODE |
| LOW | ranger/api/__init__.py | 12 | __all__ = ['ranger', 'LinemodeBase', 'hook_init', 'hook_ready', 'register_linemode'] | CODE |
| LOW | ranger/api/commands.py | 18 | __all__ = ['Command', 'LinemodeBase', 'hook_init', 'hook_ready', 'register_linemode'] # COMPAT | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/core/runner.py | 73 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ranger/ext/signals.py | 27 | >>> def test_function(signal): | STRING |