Repository Analysis

rubocop/rubocop

A Ruby static code analyzer and formatter, based on the community Ruby style guide.

6.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of rubocop/rubocop, a Ruby project with 12,888 GitHub stars. SynthScan v2.0 examined 386,724 lines of code across 2021 source files, recording 2094 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 6.1 places this repository in the Low 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).

6.1
Adjusted Score
6.1
Raw Score
100%
Time Factor
2026-07-13
Last Push
12.9K
Stars
Ruby
Language
386.7K
Lines of Code
2.0K
Files
2.1K
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 13HIGH 2MEDIUM 43LOW 2036

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 2094 distinct pattern matches across 12 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.

Over-Commented Block1501 hits · 1500 pts
SeverityFileLineSnippetContext
LOW.rubocop_todo.yml1# This configuration was generated byCOMMENT
LOWconfig/default.yml61 # Default formatter will be used if no `-f/--format` option is given.COMMENT
LOWconfig/default.yml81 ExtraDetails: falseCOMMENT
LOWconfig/default.yml101 # Change this behavior by overriding either `NewCops: enable` or `NewCops: disable`.COMMENT
LOWconfig/default.yml121 # taken from the environment variable `$XDG_CACHE_HOME` if it is set, or ifCOMMENT
LOWconfig/default.yml141 # or gems.locked file. (Although the Ruby version is specified in the GemfileCOMMENT
LOWconfig/default.yml401 # column as the first parameter.COMMENT
LOWconfig/default.yml421 Align the elements of an array literal if they span more thanCOMMENT
LOWconfig/default.yml841 VersionAdded: '0.49'COMMENT
LOWconfig/default.yml921 # 'a' => 2COMMENT
LOWconfig/default.yml941 # bb: 1COMMENT
LOWconfig/default.yml961 # Accepts:COMMENT
LOWconfig/default.yml1301 VersionChanged: '0.77'COMMENT
LOWconfig/default.yml2941 ExpectMatchingDefinition: falseCOMMENT
LOWconfig/default.yml3461 SupportedStyles:COMMENT
LOWconfig/default.yml3501 - tapCOMMENT
LOWconfig/default.yml3521 # endCOMMENT
LOWconfig/default.yml3541 # collection.each { |element| puts element }COMMENT
LOWconfig/default.yml3621 # class FooCOMMENT
LOWconfig/default.yml3861# `AutocorrectNotice` will cause an error during autocorrect.COMMENT
LOWconfig/default.yml4241 # Prefer tokens which contain a sprintf like type annotation likeCOMMENT
LOWconfig/default.yml6081# `TrivialAccessors` requires exact name matches and doesn't allowCOMMENT
LOWspec/core_ext/string.rb1# frozen_string_literal: trueCOMMENT
LOWspec/support/multiline_literal_brace_helper.rb1# frozen_string_literal: trueCOMMENT
LOWspec/rubocop/comment_config_spec.rb41 @@class_var = 1COMMENT
LOWspec/rubocop/cli/auto_gen_config_spec.rb601 # Offense count: 1COMMENT
LOWspec/rubocop/cop/generator_spec.rb21 module RuboCopCOMMENT
LOWspec/rubocop/cop/generator_spec.rb41 #COMMENT
LOWspec/rubocop/cop/generator_spec.rb61 # good_foo_method(args)COMMENT
LOW…bocop/cop/lint/redundant_cop_disable_directive_spec.rb461 expect_offense(<<~RUBY)COMMENT
LOWlib/rubocop/cops_documentation_generator.rb21 examples: ->(data) { examples(data.example_objects, data.cop) },COMMENT
LOWlib/rubocop/file_patterns.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/directive_comment.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/cache_config.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/magic_comment.rb181 # Individual tokens composing an editor specific comment string.COMMENT
LOWlib/rubocop/magic_comment.rb241COMMENT
LOWlib/rubocop/magic_comment.rb261 # Vim comments cannot specify shareable constant values behavior.COMMENT
LOWlib/rubocop/runner.rb341COMMENT
LOWlib/rubocop/feature_loader.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/core_ext/string.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/ext/regexp_parser.rb21 # Add `expression` and `loc` to all `regexp_parser` nodesCOMMENT
LOWlib/rubocop/server/socket_reader.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/errors.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/helper.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/cli.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/core.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/server_command.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command/base.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command/status.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command/restart.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command/start.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command/exec.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/client_command/stop.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/server_command/base.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/server_command/exec.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/server/server_command/stop.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/lsp/routes.rb1# frozen_string_literal: trueCOMMENT
LOWlib/rubocop/lsp/diagnostic.rb1# frozen_string_literal: trueCOMMENT
1441 more matches not shown…
Hyper-Verbose Identifiers469 hits · 490 pts
SeverityFileLineSnippetContext
LOWspec/support/encoding_helper.rb7 def with_default_internal_encoding(encoding)CODE
LOWspec/support/encoding_helper.rb15 def with_default_external_encoding(encoding)CODE
LOWspec/support/project_index_metadata.rb35 def project_index_runner_options(output_path, cache_root)CODE
LOWspec/rubocop/cop/lint/useless_method_definition_spec.rb49 def instance_method_with_args(arg)CODE
LOWspec/rubocop/cop/lint/useless_method_definition_spec.rb83 def other_class_method_with_args(arg)CODE
LOWspec/rubocop/cop/layout/redundant_line_break_spec.rb255 def resolve_inheritance_from_gems(hash)CODE
LOWspec/rubocop/cop/layout/redundant_line_break_spec.rb274 def resolve_inheritance_from_gems(hash)CODE
LOWspec/rubocop/cop/layout/line_length_spec.rb604 def method_definition_that_is_just_under_the_line_length_limit(foo, bar) # rubocop:disable Metrics/AbcSizeCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb613 def method_definition_that_is_just_under_the_line_length_limit(foo) # rubocop:disable Metrics/AbcSize inhereCODE
LOWlib/rubocop/cops_documentation_generator.rb360 def table_of_content_for_department(department)CODE
LOWlib/rubocop/directive_comment.rb207 def exclude_lint_department_cops(cops)CODE
LOWlib/rubocop/file_finder.rb26 def traverse_directories_upwards(start_dir, stop_dir = nil)CODE
LOWlib/rubocop/target_finder.rb117 def combined_exclude_glob_patterns(base_dir)CODE
LOWlib/rubocop/cli.rb233 def warn_if_cache_root_changed(early, desired)CODE
LOWlib/rubocop/cached_data.rb54 def location_from_source_buffer(offense)CODE
LOWlib/rubocop/magic_comment.rb206 def new_frozen_string_literal(value)CODE
LOWlib/rubocop/magic_comment.rb298 def new_frozen_string_literal(value)CODE
LOWlib/rubocop/target_ruby.rb114 def version_from_gemspec_file(file)CODE
LOWlib/rubocop/target_ruby.rb132 def version_from_right_hand_side(right_hand_side)CODE
LOWlib/rubocop/config_validator.rb102 def alert_about_unrecognized_cops(invalid_cop_names)CODE
LOWlib/rubocop/config_validator.rb196 def new_cops_value_for_department(name, section)CODE
LOWlib/rubocop/config_validator.rb274 def validate_support_and_has_list(name, formats, valid)CODE
LOWlib/rubocop/config.rb127 def add_excludes_from_higher_level(highest_config)CODE
LOWlib/rubocop/config.rb386 def gem_version_to_major_minor_float(gem_version)CODE
LOWlib/rubocop/config_loader_resolver.rb75 def resolve_inheritance_from_gems(hash)CODE
LOWlib/rubocop/config_loader_resolver.rb139 def override_department_setting_for_cops(base_hash, derived_hash)CODE
LOWlib/rubocop/config_loader_resolver.rb156 def override_enabled_for_disabled_departments(base_hash, derived_hash)CODE
LOWlib/rubocop/config_loader_resolver.rb172 def resolve_default_overrides(config)CODE
LOWlib/rubocop/config_loader_resolver.rb193 def warn_on_duplicate_setting(base_hash, derived_hash, key, **opts)CODE
LOWlib/rubocop/config_loader_resolver.rb205 def duplicate_setting_warning(opts, key)CODE
LOWlib/rubocop/config_loader_resolver.rb280 def handle_disabled_by_default(config, new_default_configuration)CODE
LOWlib/rubocop/comment_config.rb70 def extra_enabled_comments_with_names(extras:, names:)CODE
LOWlib/rubocop/comment_config.rb165 def inject_disabled_cops_directives(analyses)CODE
LOWlib/rubocop/options.rb145 def add_autocorrection_options(opts) # rubocop:disable Metrics/MethodLengthCODE
LOWlib/rubocop/options.rb168 def add_config_generation_options(opts)CODE
LOWlib/rubocop/options.rb186 def add_cop_selection_csv_option(option, opts)CODE
LOWlib/rubocop/pending_cops_reporter.rb31 def pending_cops_only_qualified(pending_cops)CODE
LOWlib/rubocop/runner.rb166 def process_report_queue_entry(index)CODE
LOWlib/rubocop/runner.rb284 def team_for_redundant_disables(file, offenses, source)CODE
LOWlib/rubocop/runner.rb301 def redundant_cop_disable_directive(file)CODE
LOWlib/rubocop/plugin/loader.rb90 def constantize_plugin_from_gemspec_metadata(plugin_name)CODE
LOWlib/rubocop/plugin/configuration_integrator.rb13 def integrate_plugins_into_rubocop_config(rubocop_config, plugins)CODE
LOWlib/rubocop/plugin/configuration_integrator.rb81 def fake_out_rubocop_default_configuration(default_config)CODE
LOWlib/rubocop/plugin/configuration_integrator.rb92 def load_plugin_rubocop_config(plugin, runner_context)CODE
LOWlib/rubocop/server/cli.rb112 def fetch_cache_root_path_from(arguments)CODE
LOWlib/rubocop/server/cli.rb123 def delete_server_argument_from(all_arguments)CODE
LOWlib/rubocop/server/cache.rb124 def write_port_and_token_files(port:, token:)CODE
LOWlib/rubocop/lsp/routes.rb173 def handle_unsupported_method(request, method = request[:method])CODE
LOWlib/rubocop/lsp/routes.rb192 def extract_initialization_options_from(request)CODE
LOWlib/rubocop/cli/command/show_cops.rb77 def selected_cops_of_department(cops, department)CODE
LOWlib/rubocop/cli/command/auto_generate_config.rb147 def add_inheritance_from_auto_generated_file(config_file)CODE
LOWlib/rubocop/formatter/junit_formatter.rb85 def add_testcase_element_to_testsuite_element(file, target_offenses, cop)CODE
LOWlib/rubocop/formatter/junit_formatter.rb94 def classname_attribute_value(file)CODE
LOWlib/rubocop/formatter/disabled_config_formatter.rb196 def output_cop_param_comments(output_buffer, params, default_cfg)CODE
LOWlib/rubocop/cop/autocorrect_logic.rb78 def disable_offense_with_eol_or_surround_comment(range)CODE
LOWlib/rubocop/cop/autocorrect_logic.rb144 def disable_offense_at_end_of_line(range)CODE
LOWlib/rubocop/cop/autocorrect_logic.rb152 def disable_offense_before_and_after(range_by_lines)CODE
LOWlib/rubocop/cop/team.rb187 def investigate_with_corrector(processed_source, offset:, original:)CODE
LOWlib/rubocop/cop/variable_force.rb20 # def before_declaring_variable(variable, variable_table)COMMENT
LOWlib/rubocop/cop/variable_force.rb99 def inspect_variables_in_scope(scope_node)CODE
409 more matches not shown…
Hallucination Indicators13 hits · 135 pts
SeverityFileLineSnippetContext
CRITICALlib/rubocop/cop/lint/redundant_safe_navigation.rb219 range_with_default = node.lhs.source_range.end.begin.join(node.source_range.end)CODE
CRITICALlib/rubocop/cop/lint/loop.rb70 node.body.loc.end.end.join(node.source_range.end)CODE
CRITICALlib/rubocop/cop/lint/useless_assignment.rb205 corrector.remove(node.parent.location.operator.end.adjust(begin_pos: -1))CODE
CRITICALlib/rubocop/cop/layout/block_end_newline.rb78 node.children.compact.last.source_range.end.join(node.loc.end)CODE
CRITICALlib/rubocop/cop/mixin/trailing_comma.rb146 after_last_item = node.children.last.source_range.end.join(node.source_range.end)CODE
CRITICALlib/rubocop/cop/style/reverse_find.rb41 range = node.children.first.loc.selector.join(node.loc.selector)CODE
CRITICALlib/rubocop/cop/style/combinable_loops.rb119 corrector.remove(node.left_sibling.body.source_range.end.join(node.left_sibling.loc.end))CODE
CRITICAL…ubocop/cop/style/map_compact_with_conditional_block.rb170 node.receiver.send_node.loc.selector.begin.join(node.source_range.end)CODE
CRITICALlib/rubocop/cop/style/semicolon.rb140 space = node.parent.loc.selector.end.join(node.source_range.begin)CODE
CRITICALlib/rubocop/cop/style/infinite_loop.rb96 corrector.remove(node.body.loc.end.end.join(node.source_range.end))CODE
CRITICALlib/rubocop/cop/style/multiple_comparison.rb117 values.first.parent.source_range.begin.join(values.last.parent.source_range.end)CODE
CRITICAL…ubocop/cop/style/redundant_double_splat_hash_braces.rb86 node.children.last.source_range.end.join(node.loc.end)CODE
CRITICAL…p/cop/internal_affairs/processed_source_buffer_name.rb33 offense_range = node.children.first.loc.selector.begin.join(node.source_range.end)CODE
Self-Referential Comments35 hits · 105 pts
SeverityFileLineSnippetContext
MEDIUM.rubocop.yml104 # This file is intentionally empty to catch rubocop cops failing on empty files.COMMENT
MEDIUMspec/rubocop/config_spec.rb601 # This file is in an 'app' subdirectory of the project, so it should match.COMMENT
MEDIUMspec/rubocop/cli_spec.rb1400 # This file contains configuration for an unknown cop. This would cause aCOMMENT
MEDIUMlib/rubocop/config_obsoletion.rb4 # This class handles obsolete configuration.COMMENT
MEDIUMlib/rubocop/cache_config.rb4 # This class represents the cache config of the caching RuboCop runs.COMMENT
MEDIUMlib/rubocop/platform.rb4 # This module provides information on the platform that RuboCop is being runCOMMENT
MEDIUMlib/rubocop/util.rb4 # This module contains a collection of useful utility methods.COMMENT
MEDIUMlib/rubocop/config.rb7 # This class represents the configuration of the RuboCop applicationCOMMENT
MEDIUMlib/rubocop/config_regeneration.rb4 # This class handles collecting the options for regenerating a TODO file.COMMENT
MEDIUMlib/rubocop/comment_config.rb11 # This class provides an API compatible with RuboCop::DirectiveCommentCOMMENT
MEDIUMlib/rubocop/options.rb12 # This class handles command line options.COMMENT
MEDIUMlib/rubocop/options.rb528 # This module contains help texts for command line options.COMMENT
MEDIUMlib/rubocop/pending_cops_reporter.rb6 # This class is responsible for displaying warnings when new cops have been added to RuboCopCOMMENT
MEDIUMlib/rubocop/runner.rb6 # This class handles the processing of files, which includes dealing withCOMMENT
MEDIUMlib/rubocop/feature_loader.rb4 # This class handles loading files (a.k.a. features in Ruby) specifiedCOMMENT
MEDIUMlib/rubocop/config_loader.rb13 # This class represents the configuration of the RuboCop applicationCOMMENT
MEDIUMlib/rubocop/server/client_command/status.rb15 # This class is a client command to show server process status.COMMENT
MEDIUMlib/rubocop/server/client_command/restart.rb15 # This class is a client command to restart server process.COMMENT
MEDIUMlib/rubocop/server/client_command/start.rb15 # This class is a client command to start server process.COMMENT
MEDIUMlib/rubocop/server/client_command/exec.rb15 # This class is a client command to execute server process.COMMENT
MEDIUMlib/rubocop/server/client_command/stop.rb15 # This class is a client command to stop server process.COMMENT
MEDIUMlib/rubocop/server/server_command/exec.rb15 # This class is a server command to execute `rubocop` command using `RuboCop::CLI.new#run`.COMMENT
MEDIUMlib/rubocop/server/server_command/stop.rb15 # This class is a server command to stop server process.COMMENT
MEDIUMlib/rubocop/formatter/html_formatter.rb62 # This class provides helper methods used in the ERB template.COMMENT
MEDIUMlib/rubocop/formatter/html_formatter.rb136 # This class provides helper methods used in the ERB CSS template.COMMENT
MEDIUMlib/rubocop/rspec/cop_helper.rb5# This module provides methods that make it easier to test Cops.COMMENT
MEDIUMlib/rubocop/cop/util.rb5 # This module contains a collection of useful utility methods.COMMENT
MEDIUMlib/rubocop/cop/variable_force/reference.rb6 # This class represents each reference of a variable.COMMENT
MEDIUMlib/rubocop/cop/variable_force/assignment.rb6 # This class represents each assignment of a variable.COMMENT
MEDIUMlib/rubocop/cop/correctors/line_break_corrector.rb5 # This class handles autocorrection for code that needs to be movedCOMMENT
MEDIUMlib/rubocop/cop/mixin/nil_methods.rb5 # This module provides a list of methods that are:COMMENT
MEDIUMlib/rubocop/cop/mixin/configurable_numbering.rb5 # This module provides functionality for checking if numbering match theCOMMENT
MEDIUMlib/rubocop/cop/mixin/configurable_naming.rb5 # This module provides functionality for checking if names match theCOMMENT
MEDIUMlib/rubocop/cop/mixin/method_complexity.rb7 # This module handles measurement and reporting of complexity in methods.COMMENT
MEDIUMlib/rubocop/cop/style/arguments_forwarding.rb99 # # The following code can replace the arguments with `...`,COMMENT
TODO Padding16 hits · 30 pts
SeverityFileLineSnippetContext
LOWspec/rubocop/cop/generator_spec.rb127 # TODO: Write test codeCOMMENT
LOWspec/rubocop/cop/lint/empty_block_spec.rb16 # TODO: implement laterCOMMENT
LOWspec/rubocop/cop/lint/empty_block_spec.rb23 items.each { |item| } # TODO: implement laterCODE
LOWspec/rubocop/cop/lint/empty_block_spec.rb79 # TODO: implement laterCOMMENT
LOWspec/rubocop/cop/lint/empty_block_spec.rb86 items.each { |item| } # TODO: implement laterCODE
LOWlib/rubocop/cop/generator.rb97 # TODO: Write test codeCOMMENT
LOWlib/rubocop/cop/lint/empty_block.rb26 # # TODO: implement later (inner comment)COMMENT
LOWlib/rubocop/cop/lint/empty_block.rb29 # items.each { |item| } # TODO: implement later (inline comment)COMMENT
LOWlib/rubocop/cop/lint/empty_block.rb34 # # TODO: implement later (inner comment)COMMENT
LOWlib/rubocop/cop/lint/empty_block.rb37 # items.each { |item| } # TODO: implement later (inline comment)COMMENT
LOWlib/rubocop/cop/lint/empty_class.rb43 # # TODO: implement laterCOMMENT
LOWlib/rubocop/cop/lint/empty_class.rb48 # # TODO: implement laterCOMMENT
LOWlib/rubocop/cop/lint/empty_class.rb53 # # TODO: implement laterCOMMENT
LOWlib/rubocop/cop/lint/empty_class.rb59 # # TODO: implement laterCOMMENT
LOWlib/rubocop/cop/lint/empty_class.rb64 # # TODO: implement laterCOMMENT
LOWlib/rubocop/cop/lint/empty_class.rb69 # # TODO: implement laterCOMMENT
Fake / Example Data21 hits · 30 pts
SeverityFileLineSnippetContext
LOWspec/rubocop/cop/layout/line_length_spec.rb462 1st offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb462 1st offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb465 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb465 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb467 2nd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb467 2nd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb470 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb470 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb472 no offense (nested inside permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiuCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb472 no offense (nested inside permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiuCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb474 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb474 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inciCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb476 3rd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb476 3rd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb479 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb479 no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb481 4th offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb481 4th offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lCODE
LOWspec/rubocop/cop/layout/line_length_spec.rb497 # Lorem ipsum dolar sit amet.COMMENT
LOW…/rubocop/cop/style/trailing_comma_in_arguments_spec.rb143 email: "foo@bar.com"CODE
LOW…/rubocop/cop/style/trailing_comma_in_arguments_spec.rb162 email: "foo@bar.com"CODE
Slop Phrases19 hits · 29 pts
SeverityFileLineSnippetContext
MEDIUMconfig/default.yml3557 # methods use braces. For example, you can use this to enforce SorbetCOMMENT
LOWspec/rubocop/cli/options_spec.rb2448 C: 1: 3: [Correctable] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'EnglishCODE
LOWspec/rubocop/cli/options_spec.rb2488 C: 1: 3: [Corrected] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English' CODE
LOWspec/rubocop/cli/options_spec.rb2510 C: 1: 3: [Corrected] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English' CODE
MEDIUMspec/rubocop/cop/generator_spec.rb66 # In many cases, you can use a node matcher for matching node pattern.COMMENT
LOWspec/rubocop/cop/style/special_global_vars_spec.rb49 ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$$`CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb60 ^^ Prefer `$ARGV` from the stdlib 'English' module (don't forget to require it) or `ARGV` over `$*`.CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb75 ^^ Prefer `$INPUT_RECORD_SEPARATOR` or `$RS` from the stdlib 'English' module (don't forget to require it) oveCODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb97 ^^ Prefer `$ERROR_INFO` from the stdlib 'English' module (don't forget to require it) over `$!`.CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb120 ^^ Prefer `$ERROR_INFO` from the stdlib 'English' module (don't forget to require it) over `$!`.CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb142 ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb158 ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb178 ^^ Prefer `$ARGV` from the stdlib 'English' module (don't forget to require it) or `ARGV` over `$*`.CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb180 ^^ Prefer `$ARGV` from the stdlib 'English' module (don't forget to require it) or `ARGV` over `$*`.CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb209 ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$CODE
LOWspec/rubocop/cop/style/special_global_vars_spec.rb221 ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$CODE
MEDIUMlib/rubocop/rspec/expect_offense.rb75 # If your code has variables of different lengths, you can use theCOMMENT
MEDIUMlib/rubocop/cop/generator.rb59 # In many cases, you can use a node matcher for matching node pattern.COMMENT
MEDIUMlib/rubocop/cop/lint/missing_super.rb20 # not meant to be called with `super`. In those cases, you can use theCOMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHspec/rubocop/cli/autocorrect_spec.rb1748 # In this example, the autocorrection (changing "fail" to "raise")COMMENT
HIGHlib/rubocop/cop/style/identical_conditional_branches.rb29 # In this example, `method_that_relies_on_global_state` will be moved beforeCOMMENT
AI Slop Vocabulary7 hits · 10 pts
SeverityFileLineSnippetContext
LOWlib/rubocop/magic_comment.rb52 # just return `frozen_string_literal` since an invalid magic commentCOMMENT
LOWlib/rubocop/server/cache.rb40 # If we can't find a Gemfile, just use the current directoryCOMMENT
LOWlib/rubocop/cop/lint/rand_one.rb18 # 0 # just use 0 insteadCOMMENT
LOWlib/rubocop/cop/lint/unmodified_reduce_accumulator.rb11 # block will just return a transformation of the last element value, andCOMMENT
LOWlib/rubocop/cop/style/hash_syntax.rb65 # {c: 2, 'd' => 3} # should just use hash rocketsCOMMENT
LOWlib/rubocop/cop/style/encoding.rb8 # these comments are no longer necessary and just add noise.COMMENT
LOWlib/rubocop/cop/naming/predicate_method.rb253 # so just return an `array` sexp for simplicity.COMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMlib/rubocop/cop/base.rb5 # A scaffold for concrete cops.COMMENT
MEDIUMlib/rubocop/cop/cop.rb9 # Legacy scaffold for Cops.COMMENT
MEDIUMlib/rubocop/cop/force.rb5 # A scaffold for concrete forces.COMMENT
Redundant / Tautological Comments5 hits · 7 pts
SeverityFileLineSnippetContext
LOWlib/rubocop.rb753unless File.exist?("#{__dir__}/../rubocop.gemspec") # Check if we are a gemCODE
LOWlib/rubocop/runner.rb377 # Write the file once, even when the loop was left through an exceptionCOMMENT
LOWlib/rubocop/cop/mixin/frozen_string_literal.rb47 # Check if a magic string literal comment specifies what to doCOMMENT
LOWlib/rubocop/cop/style/redundant_line_continuation.rb161 # Check if source is still valid without the continuationCOMMENT
LOWlib/rubocop/cop/style/fetch_env_var.rb111 # Check if the node is a receiver and receives a message with dot syntax.COMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…cop/lint/hash_new_with_keyword_arguments_as_default.rb13 # NOTE: The following corner case may result in a false negative when upgrading from Ruby 3.3COMMENT
LOWlib/rubocop/cop/lint/require_range_parentheses.rb9 # NOTE: The following is maybe intended for `(42..)`. But, compatible is `42..do_something`.COMMENT
LOWlib/rubocop/cop/style/regexp_literal.rb8 # NOTE: The following `%r` cases using a regexp that starts with a blank or `=`COMMENT