AI Slop Code Risk Monitor

cucumber/cucumber-ruby

SlopCodeMonitor badge for cucumber/cucumber-ruby Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Cucumber for Ruby. It's amazing!

3.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cucumber/cucumber-ruby, a Ruby project with 5,213 GitHub stars. SynthScan examined 27,818 lines of code across 412 source files, recording 88 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 3.9 (Low 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.

3.9
Adjusted Signal
3.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.2K
Stars
Ruby
Language
27.8K
Lines of Code
412
Files
88
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 17.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 7.4/100 · LOW

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

PR Review Velocity Impact 17.6/100 · LOW

Which changes need focused human review? 88 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 0MEDIUM 10LOW 78

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 88 distinct pattern matches across 5 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.

Hyper-Verbose Identifiers43 hits · 43 pts
SeverityFileLineSnippetContext
LOWfeatures/lib/support/json.rb34 def normalise_json_step_or_hook(step_or_hook)CODE
LOWfeatures/lib/support/json.rb44 def update_json_step_or_hook_error_message(step_or_hook)CODE
LOWspec/cucumber/configuration_spec.rb27 def given_the_following_files(*files)CODE
LOWspec/cucumber/cli/configuration_spec.rb6 def given_cucumber_yml_defined_as(hash_or_string)CODE
LOWspec/cucumber/cli/configuration_spec.rb12 def given_the_following_files(*files)CODE
LOWspec/cucumber/cli/options_spec.rb7 def given_cucumber_yml_defined_as(hash_or_string)CODE
LOWspec/cucumber/cli/profile_loader_spec.rb8 def given_cucumber_yml_defined_as(hash_or_string)CODE
LOWspec/cucumber/formatter/json_spec.rb800 def normalise_json_step_or_hook(step_or_hook)CODE
LOWlib/cucumber/configuration.rb271 def register_snippet_generator(generator)CODE
LOWlib/cucumber/configuration.rb298 def with_default_features_path(paths)CODE
LOWlib/cucumber/configuration.rb304 def remove_excluded_files_from(files)CODE
LOWlib/cucumber/glue/snippet.rb52 def replace_and_count_capturing_groups(pattern)CODE
LOWlib/cucumber/glue/snippet.rb175 def append_block_parameter_to(array)CODE
LOWlib/cucumber/glue/snippet.rb189 def append_block_parameter_to(array)CODE
LOWlib/cucumber/glue/snippet.rb202 def append_block_parameter_to(array); endCODE
LOWlib/cucumber/glue/registry_and_more.rb86 def register_rb_step_definition(string_or_regexp, proc_or_sym, options)CODE
LOWlib/cucumber/glue/registry_and_more.rb212 def test_run_hook_started_envelope(hook, id)CODE
LOWlib/cucumber/glue/registry_and_more.rb223 def test_run_hook_finished_envelope(test_result, test_run_hook_started_id)CODE
LOWlib/cucumber/glue/dsl.rb29 def register_rb_step_definition(regexp, proc_or_sym, options = {})CODE
LOWlib/cucumber/glue/dsl.rb141 def register_rb_step_definition(regexp, symbol = nil, options = {}, &proc)CODE
LOWlib/cucumber/cli/options.rb538 def indicate_invalid_language_and_exit(lang)CODE
LOWlib/cucumber/formatter/usage.rb40 def on_step_definition_registered(event)CODE
LOWlib/cucumber/formatter/json.rb302 def create_id_from_scenario_source(scenario_source)CODE
LOWlib/cucumber/formatter/json.rb319 def create_tags_array_from_hash_array(tags)CODE
LOWlib/cucumber/formatter/json.rb325 def create_tags_array_from_tags_array(tags)CODE
LOWlib/cucumber/formatter/ast_lookup.rb77 def process_scenario_container(container)CODE
LOWlib/cucumber/formatter/ast_lookup.rb110 def process_scenario_container(container)CODE
LOWlib/cucumber/formatter/ast_lookup.rb122 def store_scenario_source_steps(scenario)CODE
LOWlib/cucumber/formatter/ast_lookup.rb128 def store_background_source_steps(background)CODE
LOWlib/cucumber/formatter/ast_lookup.rb147 def process_scenario_container(container, original_previous_node)CODE
LOWlib/cucumber/formatter/message_builder.rb97 def on_hook_test_step_created(event)CODE
LOWlib/cucumber/formatter/message_builder.rb181 def generate_snippet_envelope(snippet_text_proc, event)CODE
LOWlib/cucumber/formatter/message_builder.rb195 def on_undefined_parameter_type(event)CODE
LOWlib/cucumber/formatter/message_builder.rb227 def step_match_arguments_lists(step)CODE
LOWlib/cucumber/formatter/message_builder.rb247 def argument_group_to_message(group)CODE
LOWlib/cucumber/formatter/pretty.rb153 def find_exception_to_be_printed(result)CODE
LOWlib/cucumber/formatter/pretty.rb168 def calculate_source_indent_for_ast_node(ast_node)CODE
LOWlib/cucumber/formatter/pretty.rb178 def calculate_source_indent_for_expanded_test_case(test_case, scenario_keyword, expanded_name)CODE
LOWlib/cucumber/formatter/message_handlers.rb8 def store_current_test_run_hook_started_id(event)CODE
LOWlib/cucumber/formatter/unicode.rb28 def cucumber_preprocess_output(*out)CODE
LOWlib/cucumber/formatter/console.rb122 def collect_undefined_parameter_type_names(undefined_parameter_type)CODE
LOWlib/cucumber/formatter/console.rb192 def do_print_profile_information(profiles)CODE
LOWlib/cucumber/formatter/console.rb202 def do_print_undefined_parameter_type_snippet(type_name)CODE
Over-Commented Block34 hits · 34 pts
SeverityFileLineSnippetContext
LOW.rubocop_todo.yml1# This configuration was generated byCOMMENT
LOWcompatibility/features/empty/empty_steps.rb1# frozen_string_literal: trueCOMMENT
LOW.github/lock.yaml21# Limit to only `issues` or `pulls`COMMENT
LOWlib/cucumber/step_match.rb41 #COMMENT
LOWlib/cucumber/running_test_case.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/events.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/glue/step_definition.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/glue/registry_wrapper.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/glue/proto_world.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/glue/proto_world.rb21 # | name | email |COMMENT
LOWlib/cucumber/glue/proto_world.rb41 superCOMMENT
LOWlib/cucumber/glue/proto_world.rb61 # })COMMENT
LOWlib/cucumber/glue/dsl.rb41 # symbols are the namespaces.COMMENT
LOWlib/cucumber/glue/dsl.rb121 # Use it for your final clean-upsCOMMENT
LOWlib/cucumber/gherkin/formatter/ansi_escapes.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/gherkin/formatter/ansi_escapes.rb21 # <tt>outline</tt>:: defaults to <tt>cyan</tt>COMMENT
LOWlib/cucumber/term/ansicolor.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/rake/task.rb21 # To further configure the task, you can pass a block:COMMENT
LOWlib/cucumber/runtime/meta_message_builder.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/runtime/meta_message_builder.rb21 # - revision: the revision of the git repository (e.g. abcdef)COMMENT
LOWlib/cucumber/runtime/user_interface.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/formatter/ansicolor.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/formatter/ansicolor.rb21 # class MyFormatterCOMMENT
LOWlib/cucumber/formatter/ansicolor.rb41 # The colours that you can change are:COMMENT
LOWlib/cucumber/formatter/console.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/multiline_argument/data_table.rb1# frozen_string_literal: trueCOMMENT
LOWlib/cucumber/multiline_argument/data_table.rb121 # | 7 | 9 |COMMENT
LOWlib/cucumber/multiline_argument/data_table.rb141 #COMMENT
LOWlib/cucumber/multiline_argument/data_table.rb161 endCOMMENT
LOWlib/cucumber/multiline_argument/data_table.rb221 #COMMENT
LOWlib/cucumber/multiline_argument/data_table.rb241 #COMMENT
LOWlib/cucumber/multiline_argument/data_table.rb261 def map_headers(mappings = {}, &block)COMMENT
LOWlib/cucumber/multiline_argument/data_table.rb281 endCOMMENT
LOWlib/cucumber/multiline_argument/data_table.rb301 # A Different error is raised if there are missing rows or columns, orCOMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMlib/cucumber/runtime.rb180 # Define the MessageBuilder - Required until all messages are generated at the sourceCOMMENT
MEDIUMlib/cucumber/glue/dsl.rb7 # This module provides the methods the DSL you can use to defineCOMMENT
MEDIUMlib/cucumber/glue/dsl.rb43 # This method is typically called from one or more Ruby scripts underCOMMENT
MEDIUMlib/cucumber/formatter/ansicolor.rb94 # Define the color-named methods required by Term::ANSIColor.COMMENT
MEDIUMlib/cucumber/formatter/console.rb9 # This module contains helper methods that are used by formatters thatCOMMENT
Slop Phrases4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMlib/cucumber/glue/dsl.rb7 # This module provides the methods the DSL you can use to defineCOMMENT
MEDIUMlib/cucumber/gherkin/formatter/ansi_escapes.rb10 # The colours that you can change are:COMMENT
MEDIUMlib/cucumber/gherkin/formatter/ansi_escapes.rb40 # Although not listed, you can also use <tt>grey</tt>COMMENT
MEDIUMlib/cucumber/formatter/ansicolor.rb41 # The colours that you can change are:COMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
LOWlib/cucumber/runtime.rb247 # TODO: can we just use Glue::RegistryAndMore's step definitions directly?COMMENT
MEDIUMlib/cucumber/glue/proto_world.rb46 # Useful in conjunction with the #step method.COMMENT