A runtime developer console and IRB alternative with powerful introspection capabilities.
This report summarizes scanner evidence for pry/pry, a Ruby project with 6,840 GitHub stars. SynthScan examined 33,262 lines of code across 224 source files, recording 150 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 148 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 25 finding(s).
Which changes need focused human review? 150 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
The scanner identified 150 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .rubocop_todo.yml | 1 | # This configuration was generated by | COMMENT |
| LOW | spec/commands/play_spec.rb | 21 | # @t.process_command 'play --lines 1', @eval_str | COMMENT |
| LOW | spec/commands/save_file_spec.rb | 101 | # end | COMMENT |
| LOW | spec/commands/save_file_spec.rb | 161 | # def @o.baby | COMMENT |
| LOW | spec/commands/save_file_spec.rb | 181 | # File.read(@path).should == str.lines.to_a[1..-2].join | COMMENT |
| LOW | spec/commands/edit_spec.rb | 641 | # @param [Integer] lineno | COMMENT |
| LOW | spec/commands/whereami_spec.rb | 121 | # though, as we don't hook stdout. | COMMENT |
| LOW | lib/pry/ring.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/class_command.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/class_command.rb | 101 | COMMENT | |
| LOW | lib/pry/class_command.rb | 121 | def setup; end | COMMENT |
| LOW | lib/pry/class_command.rb | 141 | # def subcommands(cmd) | COMMENT |
| LOW | lib/pry/class_command.rb | 161 | # method, as it may be called by Pry at any time for introspection reasons. | COMMENT |
| LOW | lib/pry/class_command.rb | 181 | # | COMMENT |
| LOW | lib/pry/pry_class.rb | 41 | # end | COMMENT |
| LOW | lib/pry/pry_class.rb | 201 | COMMENT | |
| LOW | lib/pry/pry_class.rb | 221 | # is attached to the return value when the length of inspect is greater than | COMMENT |
| LOW | lib/pry/pry_class.rb | 261 | end | COMMENT |
| LOW | lib/pry/editor.rb | 141 | end | COMMENT |
| LOW | lib/pry/prompt.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/prompt.rb | 21 | # # In [4]: | COMMENT |
| LOW | lib/pry/prompt.rb | 41 | @prompts = {} | COMMENT |
| LOW | lib/pry/prompt.rb | 61 | end | COMMENT |
| LOW | lib/pry/exceptions.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/exceptions.rb | 41 | # something wrong. | COMMENT |
| LOW | lib/pry/method.rb | 21 | extend Helpers::BaseHelpers | COMMENT |
| LOW | lib/pry/method.rb | 141 | alias from_module from_class | COMMENT |
| LOW | lib/pry/indent.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/indent.rb | 81 | # Clean the indentation of a fragment of ruby. | COMMENT |
| LOW | lib/pry/indent.rb | 121 | @module_nesting = [] | COMMENT |
| LOW | lib/pry/indent.rb | 181 | # This is what's used between the prompt and the cursor in pry. | COMMENT |
| LOW | lib/pry/indent.rb | 201 | # | COMMENT |
| LOW | lib/pry/indent.rb | 281 | end | COMMENT |
| LOW | lib/pry/indent.rb | 321 | # @return String | COMMENT |
| LOW | lib/pry/indent.rb | 361 | # Update the internal state relating to module nesting on 'end'. | COMMENT |
| LOW | lib/pry/input_lock.rb | 41 | # 1) There are no owners, in this case we are good to go. | COMMENT |
| LOW | lib/pry/wrapped_module.rb | 181 | # @return [Fixnum, nil] The associated line for the module (i.e | COMMENT |
| LOW | lib/pry/wrapped_module.rb | 221 | COMMENT | |
| LOW | lib/pry/wrapped_module.rb | 281 | end | COMMENT |
| LOW | lib/pry/code.rb | 21 | end | COMMENT |
| LOW | lib/pry/code.rb | 61 | # Attempt to extract the source code for module (or class) `mod`. | COMMENT |
| LOW | lib/pry/code.rb | 281 | COMMENT | |
| LOW | lib/pry/code_object.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/slop.rb | 41 | COMMENT | |
| LOW | lib/pry/slop.rb | 81 | # config - A Hash of configuration options to pass to Slop.new | COMMENT |
| LOW | lib/pry/slop.rb | 181 | # | COMMENT |
| LOW | lib/pry/slop.rb | 201 | # | COMMENT |
| LOW | lib/pry/slop.rb | 301 | # Specify code to be executed when these options are parsed. | COMMENT |
| LOW | lib/pry/slop.rb | 321 | raise ArgumentError, "You must specify a callable object or a block to #run" | COMMENT |
| LOW | lib/pry/slop.rb | 341 | options.any? { |o| o.key == method_name.to_s.chop } || super | COMMENT |
| LOW | lib/pry/slop.rb | 361 | # Fetch a Slop::Option object. | COMMENT |
| LOW | lib/pry/slop.rb | 381 | # Examples: | COMMENT |
| LOW | lib/pry/core_extensions.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/core_extensions.rb | 21 | METHOD | COMMENT |
| LOW | lib/pry/core_extensions.rb | 41 | # my_method() | COMMENT |
| LOW | lib/pry/core_extensions.rb | 61 | # be defined on its singleton class (as in `class << self; end`). | COMMENT |
| LOW | lib/pry/core_extensions.rb | 81 | # The scope is clear of local variables. Don't add any. | COMMENT |
| LOW | lib/pry/core_extensions.rb | 121 | # The default definee (http://yugui.jp/articles/846) is set such that new | COMMENT |
| LOW | lib/pry/pry_instance.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/pry/pry_instance.rb | 61 | # @param [Hash] options | COMMENT |
| 39 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/pry/class_command.rb | 6 | # This class implements the bare-minimum functionality that a command should | COMMENT |
| MEDIUM | lib/pry/code_object.rb | 4 | # This class is responsible for taking a string (identifying a | COMMENT |
| MEDIUM | lib/pry/slop.rb | 123 | # Create a new instance of Slop and optionally build options via a block. | COMMENT |
| MEDIUM | lib/pry/repl.rb | 18 | # Create an instance of {REPL} wrapping the given {Pry}. | COMMENT |
| MEDIUM | lib/pry/pry_instance.rb | 60 | # Create a new {Pry} instance. | COMMENT |
| MEDIUM | lib/pry/pry_instance.rb | 114 | # Initialize this instance by pushing its initial context into the binding | COMMENT |
| MEDIUM | lib/pry/repl_file_loader.rb | 57 | # Define a few extra commands useful for flipping back & forth | COMMENT |
| MEDIUM | lib/pry/command.rb | 113 | # Create a new command with the given properties. | COMMENT |
| MEDIUM | lib/pry/command_set.rb | 10 | # This class is used to create sets of commands. Commands can be imported from | COMMENT |
| MEDIUM | lib/pry/slop/commands.rb | 11 | # Create a new instance of Slop::Commands and optionally build | COMMENT |
| MEDIUM | lib/pry/helpers/documentation_helpers.rb | 5 | # This class contains methods useful for extracting | COMMENT |
| MEDIUM | lib/pry/method/weird_method_locator.rb | 5 | # This class is responsible for locating the *real* `Pry::Method` | COMMENT |
| MEDIUM | lib/pry/method/disowned.rb | 21 | # Create a new Disowned method. | COMMENT |
| MEDIUM | lib/pry/wrapped_module/candidate.rb | 5 | # This class represents a single candidate for a module/class definition. | COMMENT |
| MEDIUM | lib/pry/wrapped_module/candidate.rb | 112 | # This method is used by `Candidate#source_location` as a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/pry/editor.rb | 31 | def edit_tempfile_with_content(initial_content, line = 1) | CODE |
| LOW | lib/pry/editor.rb | 60 | def build_editor_invocation_string(file, line, blocking) | CODE |
| LOW | lib/pry/editor.rb | 115 | def start_line_syntax_for_editor(file_name, line_number) | CODE |
| LOW | lib/pry/method.rb | 114 | def lookup_method_via_binding( | CODE |
| LOW | lib/pry/method.rb | 210 | def instance_resolution_order(klass) | CODE |
| LOW | lib/pry/method.rb | 238 | def singleton_class_resolution_order(klass) | CODE |
| LOW | lib/pry/method.rb | 564 | def method_name_from_first_line(first_ln) | CODE |
| LOW | lib/pry/slop.rb | 552 | def execute_multiple_switches(option, argument, index) | CODE |
| LOW | lib/pry/command.rb | 329 | def check_for_command_collision(command_match, arg_string) | CODE |
| LOW | lib/pry/command_set.rb | 173 | def find_command_by_match_or_listing(match_or_listing) | CODE |
| LOW | lib/pry/code/loc.rb | 98 | def handle_multiline_entries_from_edit_command(line, max_width) | CODE |
| LOW | lib/pry/commands/help.rb | 98 | def display_filtered_search_results(search) | CODE |
| LOW | lib/pry/commands/help.rb | 111 | def display_filtered_commands(search) | CODE |
| LOW | lib/pry/commands/edit.rb | 107 | def ensure_file_name_is_valid(file_name) | CODE |
| LOW | lib/pry/commands/show_info.rb | 61 | def code_object_with_accessible_source(code_object) | CODE |
| LOW | lib/pry/commands/show_info.rb | 77 | def content_and_header_for_code_object(code_object) | CODE |
| LOW | lib/pry/commands/show_info.rb | 81 | def content_and_headers_for_all_module_candidates(mod) | CODE |
| LOW | lib/pry/commands/amend_line.rb | 83 | def zero_indexed_range_from_one_indexed_numbers(start_line_number, end_line_number) | CODE |
| LOW | lib/pry/commands/code_collector.rb | 139 | def pry_array_content_as_string(array, ranges) | CODE |
| LOW | lib/pry/commands/hist.rb | 143 | def check_for_juxtaposed_replay(replay_sequence) | CODE |
| LOW | lib/pry/commands/cat/file_formatter.rb | 59 | def detect_code_type_from_file(file_name) | CODE |
| LOW | lib/pry/commands/ls/local_vars.rb | 35 | def colorized_assignment_style(lhs, rhs, desired_width = 7) | CODE |
| LOW | lib/pry/helpers/command_helpers.rb | 106 | def one_index_range_or_number(range_or_number) | CODE |
| LOW | lib/pry/helpers/documentation_helpers.rb | 57 | def strip_comments_from_c_code(code) | CODE |
| LOW | lib/pry/wrapped_module/candidate.rb | 99 | def first_line_of_module_definition(file, line) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/pry/editor.rb | 146 | # we can just use the program's name and ignore any absolute paths. | COMMENT |
| MEDIUM | lib/pry/cli.rb | 15 | # utilize this facility in order to add and process their own Pry | COMMENT |
| MEDIUM | lib/pry/wrapped_module.rb | 364 | # TODO: make this more robust as valid user-defined files called | COMMENT |
| MEDIUM | lib/pry/code_object.rb | 18 | # TODO: This class is a clusterfuck. We need a much more robust | COMMENT |
| MEDIUM | lib/pry/repl_file_loader.rb | 33 | # Switch to non-interactive mode. Essentially | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/pry/history.rb | 101 | # Check if the line match any option in the histignore | COMMENT |
| LOW | lib/pry/pry_instance.rb | 293 | # Output the result or pass to an exception handler (if result is an exception). | COMMENT |
| LOW | lib/pry/commands/find_method.rb | 52 | # Output the result of the search. | COMMENT |
| LOW | lib/pry/testable/pry_tester.rb | 32 | # Check if this is a multiline paste. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/pry/helpers/command_helpers.rb | 61 | # Lorem ipsum dolor sit amet, consectetur adipisicing elit, | COMMENT |
| LOW | lib/pry/helpers/command_helpers.rb | 61 | # Lorem ipsum dolor sit amet, consectetur adipisicing elit, | COMMENT |