A Ruby static code analyzer and formatter, based on the community Ruby style guide.
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).
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .rubocop_todo.yml | 1 | # This configuration was generated by | COMMENT |
| LOW | config/default.yml | 61 | # Default formatter will be used if no `-f/--format` option is given. | COMMENT |
| LOW | config/default.yml | 81 | ExtraDetails: false | COMMENT |
| LOW | config/default.yml | 101 | # Change this behavior by overriding either `NewCops: enable` or `NewCops: disable`. | COMMENT |
| LOW | config/default.yml | 121 | # taken from the environment variable `$XDG_CACHE_HOME` if it is set, or if | COMMENT |
| LOW | config/default.yml | 141 | # or gems.locked file. (Although the Ruby version is specified in the Gemfile | COMMENT |
| LOW | config/default.yml | 401 | # column as the first parameter. | COMMENT |
| LOW | config/default.yml | 421 | Align the elements of an array literal if they span more than | COMMENT |
| LOW | config/default.yml | 841 | VersionAdded: '0.49' | COMMENT |
| LOW | config/default.yml | 921 | # 'a' => 2 | COMMENT |
| LOW | config/default.yml | 941 | # bb: 1 | COMMENT |
| LOW | config/default.yml | 961 | # Accepts: | COMMENT |
| LOW | config/default.yml | 1301 | VersionChanged: '0.77' | COMMENT |
| LOW | config/default.yml | 2941 | ExpectMatchingDefinition: false | COMMENT |
| LOW | config/default.yml | 3461 | SupportedStyles: | COMMENT |
| LOW | config/default.yml | 3501 | - tap | COMMENT |
| LOW | config/default.yml | 3521 | # end | COMMENT |
| LOW | config/default.yml | 3541 | # collection.each { |element| puts element } | COMMENT |
| LOW | config/default.yml | 3621 | # class Foo | COMMENT |
| LOW | config/default.yml | 3861 | # `AutocorrectNotice` will cause an error during autocorrect. | COMMENT |
| LOW | config/default.yml | 4241 | # Prefer tokens which contain a sprintf like type annotation like | COMMENT |
| LOW | config/default.yml | 6081 | # `TrivialAccessors` requires exact name matches and doesn't allow | COMMENT |
| LOW | spec/core_ext/string.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | spec/support/multiline_literal_brace_helper.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | spec/rubocop/comment_config_spec.rb | 41 | @@class_var = 1 | COMMENT |
| LOW | spec/rubocop/cli/auto_gen_config_spec.rb | 601 | # Offense count: 1 | COMMENT |
| LOW | spec/rubocop/cop/generator_spec.rb | 21 | module RuboCop | COMMENT |
| LOW | spec/rubocop/cop/generator_spec.rb | 41 | # | COMMENT |
| LOW | spec/rubocop/cop/generator_spec.rb | 61 | # good_foo_method(args) | COMMENT |
| LOW | …bocop/cop/lint/redundant_cop_disable_directive_spec.rb | 461 | expect_offense(<<~RUBY) | COMMENT |
| LOW | lib/rubocop/cops_documentation_generator.rb | 21 | examples: ->(data) { examples(data.example_objects, data.cop) }, | COMMENT |
| LOW | lib/rubocop/file_patterns.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/directive_comment.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/cache_config.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/magic_comment.rb | 181 | # Individual tokens composing an editor specific comment string. | COMMENT |
| LOW | lib/rubocop/magic_comment.rb | 241 | COMMENT | |
| LOW | lib/rubocop/magic_comment.rb | 261 | # Vim comments cannot specify shareable constant values behavior. | COMMENT |
| LOW | lib/rubocop/runner.rb | 341 | COMMENT | |
| LOW | lib/rubocop/feature_loader.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/core_ext/string.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/ext/regexp_parser.rb | 21 | # Add `expression` and `loc` to all `regexp_parser` nodes | COMMENT |
| LOW | lib/rubocop/server/socket_reader.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/errors.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/helper.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/cli.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/core.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/server_command.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command/base.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command/status.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command/restart.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command/start.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command/exec.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/client_command/stop.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/server_command/base.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/server_command/exec.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/server/server_command/stop.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/lsp/routes.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/lsp/diagnostic.rb | 1 | # frozen_string_literal: true | COMMENT |
| 1441 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/support/encoding_helper.rb | 7 | def with_default_internal_encoding(encoding) | CODE |
| LOW | spec/support/encoding_helper.rb | 15 | def with_default_external_encoding(encoding) | CODE |
| LOW | spec/support/project_index_metadata.rb | 35 | def project_index_runner_options(output_path, cache_root) | CODE |
| LOW | spec/rubocop/cop/lint/useless_method_definition_spec.rb | 49 | def instance_method_with_args(arg) | CODE |
| LOW | spec/rubocop/cop/lint/useless_method_definition_spec.rb | 83 | def other_class_method_with_args(arg) | CODE |
| LOW | spec/rubocop/cop/layout/redundant_line_break_spec.rb | 255 | def resolve_inheritance_from_gems(hash) | CODE |
| LOW | spec/rubocop/cop/layout/redundant_line_break_spec.rb | 274 | def resolve_inheritance_from_gems(hash) | CODE |
| LOW | spec/rubocop/cop/layout/line_length_spec.rb | 604 | def method_definition_that_is_just_under_the_line_length_limit(foo, bar) # rubocop:disable Metrics/AbcSize | CODE |
| LOW | spec/rubocop/cop/layout/line_length_spec.rb | 613 | def method_definition_that_is_just_under_the_line_length_limit(foo) # rubocop:disable Metrics/AbcSize inhere | CODE |
| LOW | lib/rubocop/cops_documentation_generator.rb | 360 | def table_of_content_for_department(department) | CODE |
| LOW | lib/rubocop/directive_comment.rb | 207 | def exclude_lint_department_cops(cops) | CODE |
| LOW | lib/rubocop/file_finder.rb | 26 | def traverse_directories_upwards(start_dir, stop_dir = nil) | CODE |
| LOW | lib/rubocop/target_finder.rb | 117 | def combined_exclude_glob_patterns(base_dir) | CODE |
| LOW | lib/rubocop/cli.rb | 233 | def warn_if_cache_root_changed(early, desired) | CODE |
| LOW | lib/rubocop/cached_data.rb | 54 | def location_from_source_buffer(offense) | CODE |
| LOW | lib/rubocop/magic_comment.rb | 206 | def new_frozen_string_literal(value) | CODE |
| LOW | lib/rubocop/magic_comment.rb | 298 | def new_frozen_string_literal(value) | CODE |
| LOW | lib/rubocop/target_ruby.rb | 114 | def version_from_gemspec_file(file) | CODE |
| LOW | lib/rubocop/target_ruby.rb | 132 | def version_from_right_hand_side(right_hand_side) | CODE |
| LOW | lib/rubocop/config_validator.rb | 102 | def alert_about_unrecognized_cops(invalid_cop_names) | CODE |
| LOW | lib/rubocop/config_validator.rb | 196 | def new_cops_value_for_department(name, section) | CODE |
| LOW | lib/rubocop/config_validator.rb | 274 | def validate_support_and_has_list(name, formats, valid) | CODE |
| LOW | lib/rubocop/config.rb | 127 | def add_excludes_from_higher_level(highest_config) | CODE |
| LOW | lib/rubocop/config.rb | 386 | def gem_version_to_major_minor_float(gem_version) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 75 | def resolve_inheritance_from_gems(hash) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 139 | def override_department_setting_for_cops(base_hash, derived_hash) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 156 | def override_enabled_for_disabled_departments(base_hash, derived_hash) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 172 | def resolve_default_overrides(config) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 193 | def warn_on_duplicate_setting(base_hash, derived_hash, key, **opts) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 205 | def duplicate_setting_warning(opts, key) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 280 | def handle_disabled_by_default(config, new_default_configuration) | CODE |
| LOW | lib/rubocop/comment_config.rb | 70 | def extra_enabled_comments_with_names(extras:, names:) | CODE |
| LOW | lib/rubocop/comment_config.rb | 165 | def inject_disabled_cops_directives(analyses) | CODE |
| LOW | lib/rubocop/options.rb | 145 | def add_autocorrection_options(opts) # rubocop:disable Metrics/MethodLength | CODE |
| LOW | lib/rubocop/options.rb | 168 | def add_config_generation_options(opts) | CODE |
| LOW | lib/rubocop/options.rb | 186 | def add_cop_selection_csv_option(option, opts) | CODE |
| LOW | lib/rubocop/pending_cops_reporter.rb | 31 | def pending_cops_only_qualified(pending_cops) | CODE |
| LOW | lib/rubocop/runner.rb | 166 | def process_report_queue_entry(index) | CODE |
| LOW | lib/rubocop/runner.rb | 284 | def team_for_redundant_disables(file, offenses, source) | CODE |
| LOW | lib/rubocop/runner.rb | 301 | def redundant_cop_disable_directive(file) | CODE |
| LOW | lib/rubocop/plugin/loader.rb | 90 | def constantize_plugin_from_gemspec_metadata(plugin_name) | CODE |
| LOW | lib/rubocop/plugin/configuration_integrator.rb | 13 | def integrate_plugins_into_rubocop_config(rubocop_config, plugins) | CODE |
| LOW | lib/rubocop/plugin/configuration_integrator.rb | 81 | def fake_out_rubocop_default_configuration(default_config) | CODE |
| LOW | lib/rubocop/plugin/configuration_integrator.rb | 92 | def load_plugin_rubocop_config(plugin, runner_context) | CODE |
| LOW | lib/rubocop/server/cli.rb | 112 | def fetch_cache_root_path_from(arguments) | CODE |
| LOW | lib/rubocop/server/cli.rb | 123 | def delete_server_argument_from(all_arguments) | CODE |
| LOW | lib/rubocop/server/cache.rb | 124 | def write_port_and_token_files(port:, token:) | CODE |
| LOW | lib/rubocop/lsp/routes.rb | 173 | def handle_unsupported_method(request, method = request[:method]) | CODE |
| LOW | lib/rubocop/lsp/routes.rb | 192 | def extract_initialization_options_from(request) | CODE |
| LOW | lib/rubocop/cli/command/show_cops.rb | 77 | def selected_cops_of_department(cops, department) | CODE |
| LOW | lib/rubocop/cli/command/auto_generate_config.rb | 147 | def add_inheritance_from_auto_generated_file(config_file) | CODE |
| LOW | lib/rubocop/formatter/junit_formatter.rb | 85 | def add_testcase_element_to_testsuite_element(file, target_offenses, cop) | CODE |
| LOW | lib/rubocop/formatter/junit_formatter.rb | 94 | def classname_attribute_value(file) | CODE |
| LOW | lib/rubocop/formatter/disabled_config_formatter.rb | 196 | def output_cop_param_comments(output_buffer, params, default_cfg) | CODE |
| LOW | lib/rubocop/cop/autocorrect_logic.rb | 78 | def disable_offense_with_eol_or_surround_comment(range) | CODE |
| LOW | lib/rubocop/cop/autocorrect_logic.rb | 144 | def disable_offense_at_end_of_line(range) | CODE |
| LOW | lib/rubocop/cop/autocorrect_logic.rb | 152 | def disable_offense_before_and_after(range_by_lines) | CODE |
| LOW | lib/rubocop/cop/team.rb | 187 | def investigate_with_corrector(processed_source, offset:, original:) | CODE |
| LOW | lib/rubocop/cop/variable_force.rb | 20 | # def before_declaring_variable(variable, variable_table) | COMMENT |
| LOW | lib/rubocop/cop/variable_force.rb | 99 | def inspect_variables_in_scope(scope_node) | CODE |
| 409 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/rubocop/cop/lint/redundant_safe_navigation.rb | 219 | range_with_default = node.lhs.source_range.end.begin.join(node.source_range.end) | CODE |
| CRITICAL | lib/rubocop/cop/lint/loop.rb | 70 | node.body.loc.end.end.join(node.source_range.end) | CODE |
| CRITICAL⚡ | lib/rubocop/cop/lint/useless_assignment.rb | 205 | corrector.remove(node.parent.location.operator.end.adjust(begin_pos: -1)) | CODE |
| CRITICAL | lib/rubocop/cop/layout/block_end_newline.rb | 78 | node.children.compact.last.source_range.end.join(node.loc.end) | CODE |
| CRITICAL | lib/rubocop/cop/mixin/trailing_comma.rb | 146 | after_last_item = node.children.last.source_range.end.join(node.source_range.end) | CODE |
| CRITICAL | lib/rubocop/cop/style/reverse_find.rb | 41 | range = node.children.first.loc.selector.join(node.loc.selector) | CODE |
| CRITICAL | lib/rubocop/cop/style/combinable_loops.rb | 119 | 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.rb | 170 | node.receiver.send_node.loc.selector.begin.join(node.source_range.end) | CODE |
| CRITICAL | lib/rubocop/cop/style/semicolon.rb | 140 | space = node.parent.loc.selector.end.join(node.source_range.begin) | CODE |
| CRITICAL | lib/rubocop/cop/style/infinite_loop.rb | 96 | corrector.remove(node.body.loc.end.end.join(node.source_range.end)) | CODE |
| CRITICAL | lib/rubocop/cop/style/multiple_comparison.rb | 117 | values.first.parent.source_range.begin.join(values.last.parent.source_range.end) | CODE |
| CRITICAL | …ubocop/cop/style/redundant_double_splat_hash_braces.rb | 86 | node.children.last.source_range.end.join(node.loc.end) | CODE |
| CRITICAL | …p/cop/internal_affairs/processed_source_buffer_name.rb | 33 | offense_range = node.children.first.loc.selector.begin.join(node.source_range.end) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .rubocop.yml | 104 | # This file is intentionally empty to catch rubocop cops failing on empty files. | COMMENT |
| MEDIUM | spec/rubocop/config_spec.rb | 601 | # This file is in an 'app' subdirectory of the project, so it should match. | COMMENT |
| MEDIUM | spec/rubocop/cli_spec.rb | 1400 | # This file contains configuration for an unknown cop. This would cause a | COMMENT |
| MEDIUM | lib/rubocop/config_obsoletion.rb | 4 | # This class handles obsolete configuration. | COMMENT |
| MEDIUM | lib/rubocop/cache_config.rb | 4 | # This class represents the cache config of the caching RuboCop runs. | COMMENT |
| MEDIUM | lib/rubocop/platform.rb | 4 | # This module provides information on the platform that RuboCop is being run | COMMENT |
| MEDIUM | lib/rubocop/util.rb | 4 | # This module contains a collection of useful utility methods. | COMMENT |
| MEDIUM | lib/rubocop/config.rb | 7 | # This class represents the configuration of the RuboCop application | COMMENT |
| MEDIUM | lib/rubocop/config_regeneration.rb | 4 | # This class handles collecting the options for regenerating a TODO file. | COMMENT |
| MEDIUM | lib/rubocop/comment_config.rb | 11 | # This class provides an API compatible with RuboCop::DirectiveComment | COMMENT |
| MEDIUM | lib/rubocop/options.rb | 12 | # This class handles command line options. | COMMENT |
| MEDIUM | lib/rubocop/options.rb | 528 | # This module contains help texts for command line options. | COMMENT |
| MEDIUM | lib/rubocop/pending_cops_reporter.rb | 6 | # This class is responsible for displaying warnings when new cops have been added to RuboCop | COMMENT |
| MEDIUM | lib/rubocop/runner.rb | 6 | # This class handles the processing of files, which includes dealing with | COMMENT |
| MEDIUM | lib/rubocop/feature_loader.rb | 4 | # This class handles loading files (a.k.a. features in Ruby) specified | COMMENT |
| MEDIUM | lib/rubocop/config_loader.rb | 13 | # This class represents the configuration of the RuboCop application | COMMENT |
| MEDIUM | lib/rubocop/server/client_command/status.rb | 15 | # This class is a client command to show server process status. | COMMENT |
| MEDIUM | lib/rubocop/server/client_command/restart.rb | 15 | # This class is a client command to restart server process. | COMMENT |
| MEDIUM | lib/rubocop/server/client_command/start.rb | 15 | # This class is a client command to start server process. | COMMENT |
| MEDIUM | lib/rubocop/server/client_command/exec.rb | 15 | # This class is a client command to execute server process. | COMMENT |
| MEDIUM | lib/rubocop/server/client_command/stop.rb | 15 | # This class is a client command to stop server process. | COMMENT |
| MEDIUM | lib/rubocop/server/server_command/exec.rb | 15 | # This class is a server command to execute `rubocop` command using `RuboCop::CLI.new#run`. | COMMENT |
| MEDIUM | lib/rubocop/server/server_command/stop.rb | 15 | # This class is a server command to stop server process. | COMMENT |
| MEDIUM | lib/rubocop/formatter/html_formatter.rb | 62 | # This class provides helper methods used in the ERB template. | COMMENT |
| MEDIUM | lib/rubocop/formatter/html_formatter.rb | 136 | # This class provides helper methods used in the ERB CSS template. | COMMENT |
| MEDIUM | lib/rubocop/rspec/cop_helper.rb | 5 | # This module provides methods that make it easier to test Cops. | COMMENT |
| MEDIUM | lib/rubocop/cop/util.rb | 5 | # This module contains a collection of useful utility methods. | COMMENT |
| MEDIUM | lib/rubocop/cop/variable_force/reference.rb | 6 | # This class represents each reference of a variable. | COMMENT |
| MEDIUM | lib/rubocop/cop/variable_force/assignment.rb | 6 | # This class represents each assignment of a variable. | COMMENT |
| MEDIUM | lib/rubocop/cop/correctors/line_break_corrector.rb | 5 | # This class handles autocorrection for code that needs to be moved | COMMENT |
| MEDIUM | lib/rubocop/cop/mixin/nil_methods.rb | 5 | # This module provides a list of methods that are: | COMMENT |
| MEDIUM | lib/rubocop/cop/mixin/configurable_numbering.rb | 5 | # This module provides functionality for checking if numbering match the | COMMENT |
| MEDIUM | lib/rubocop/cop/mixin/configurable_naming.rb | 5 | # This module provides functionality for checking if names match the | COMMENT |
| MEDIUM | lib/rubocop/cop/mixin/method_complexity.rb | 7 | # This module handles measurement and reporting of complexity in methods. | COMMENT |
| MEDIUM | lib/rubocop/cop/style/arguments_forwarding.rb | 99 | # # The following code can replace the arguments with `...`, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/rubocop/cop/generator_spec.rb | 127 | # TODO: Write test code | COMMENT |
| LOW | spec/rubocop/cop/lint/empty_block_spec.rb | 16 | # TODO: implement later | COMMENT |
| LOW | spec/rubocop/cop/lint/empty_block_spec.rb | 23 | items.each { |item| } # TODO: implement later | CODE |
| LOW | spec/rubocop/cop/lint/empty_block_spec.rb | 79 | # TODO: implement later | COMMENT |
| LOW | spec/rubocop/cop/lint/empty_block_spec.rb | 86 | items.each { |item| } # TODO: implement later | CODE |
| LOW | lib/rubocop/cop/generator.rb | 97 | # TODO: Write test code | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_block.rb | 26 | # # TODO: implement later (inner comment) | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_block.rb | 29 | # items.each { |item| } # TODO: implement later (inline comment) | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_block.rb | 34 | # # TODO: implement later (inner comment) | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_block.rb | 37 | # items.each { |item| } # TODO: implement later (inline comment) | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_class.rb | 43 | # # TODO: implement later | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_class.rb | 48 | # # TODO: implement later | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_class.rb | 53 | # # TODO: implement later | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_class.rb | 59 | # # TODO: implement later | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_class.rb | 64 | # # TODO: implement later | COMMENT |
| LOW⚡ | lib/rubocop/cop/lint/empty_class.rb | 69 | # # TODO: implement later | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 462 | 1st offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 462 | 1st offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 465 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor in | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 465 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor in | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 467 | 2nd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 467 | 2nd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 470 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 470 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 472 | no offense (nested inside permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiu | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 472 | no offense (nested inside permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiu | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 474 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 474 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor inci | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 476 | 3rd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 476 | 3rd offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 479 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor in | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 479 | no offense (permitted): Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor in | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 481 | 4th offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW⚡ | spec/rubocop/cop/layout/line_length_spec.rb | 481 | 4th offense: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut l | CODE |
| LOW | spec/rubocop/cop/layout/line_length_spec.rb | 497 | # Lorem ipsum dolar sit amet. | COMMENT |
| LOW | …/rubocop/cop/style/trailing_comma_in_arguments_spec.rb | 143 | email: "foo@bar.com" | CODE |
| LOW | …/rubocop/cop/style/trailing_comma_in_arguments_spec.rb | 162 | email: "foo@bar.com" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/default.yml | 3557 | # methods use braces. For example, you can use this to enforce Sorbet | COMMENT |
| LOW | spec/rubocop/cli/options_spec.rb | 2448 | C: 1: 3: [Correctable] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English | CODE |
| LOW | spec/rubocop/cli/options_spec.rb | 2488 | C: 1: 3: [Corrected] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English' | CODE |
| LOW | spec/rubocop/cli/options_spec.rb | 2510 | C: 1: 3: [Corrected] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English' | CODE |
| MEDIUM | spec/rubocop/cop/generator_spec.rb | 66 | # In many cases, you can use a node matcher for matching node pattern. | COMMENT |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 49 | ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$$` | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 60 | ^^ Prefer `$ARGV` from the stdlib 'English' module (don't forget to require it) or `ARGV` over `$*`. | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 75 | ^^ Prefer `$INPUT_RECORD_SEPARATOR` or `$RS` from the stdlib 'English' module (don't forget to require it) ove | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 97 | ^^ Prefer `$ERROR_INFO` from the stdlib 'English' module (don't forget to require it) over `$!`. | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 120 | ^^ Prefer `$ERROR_INFO` from the stdlib 'English' module (don't forget to require it) over `$!`. | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 142 | ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$ | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 158 | ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 178 | ^^ Prefer `$ARGV` from the stdlib 'English' module (don't forget to require it) or `ARGV` over `$*`. | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 180 | ^^ Prefer `$ARGV` from the stdlib 'English' module (don't forget to require it) or `ARGV` over `$*`. | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 209 | ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$ | CODE |
| LOW | spec/rubocop/cop/style/special_global_vars_spec.rb | 221 | ^^ Prefer `$PROCESS_ID` or `$PID` from the stdlib 'English' module (don't forget to require it) over `$ | CODE |
| MEDIUM | lib/rubocop/rspec/expect_offense.rb | 75 | # If your code has variables of different lengths, you can use the | COMMENT |
| MEDIUM | lib/rubocop/cop/generator.rb | 59 | # In many cases, you can use a node matcher for matching node pattern. | COMMENT |
| MEDIUM | lib/rubocop/cop/lint/missing_super.rb | 20 | # not meant to be called with `super`. In those cases, you can use the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | spec/rubocop/cli/autocorrect_spec.rb | 1748 | # In this example, the autocorrection (changing "fail" to "raise") | COMMENT |
| HIGH | lib/rubocop/cop/style/identical_conditional_branches.rb | 29 | # In this example, `method_that_relies_on_global_state` will be moved before | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/rubocop/magic_comment.rb | 52 | # just return `frozen_string_literal` since an invalid magic comment | COMMENT |
| LOW | lib/rubocop/server/cache.rb | 40 | # If we can't find a Gemfile, just use the current directory | COMMENT |
| LOW | lib/rubocop/cop/lint/rand_one.rb | 18 | # 0 # just use 0 instead | COMMENT |
| LOW | lib/rubocop/cop/lint/unmodified_reduce_accumulator.rb | 11 | # block will just return a transformation of the last element value, and | COMMENT |
| LOW | lib/rubocop/cop/style/hash_syntax.rb | 65 | # {c: 2, 'd' => 3} # should just use hash rockets | COMMENT |
| LOW | lib/rubocop/cop/style/encoding.rb | 8 | # these comments are no longer necessary and just add noise. | COMMENT |
| LOW | lib/rubocop/cop/naming/predicate_method.rb | 253 | # so just return an `array` sexp for simplicity. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/rubocop/cop/base.rb | 5 | # A scaffold for concrete cops. | COMMENT |
| MEDIUM | lib/rubocop/cop/cop.rb | 9 | # Legacy scaffold for Cops. | COMMENT |
| MEDIUM | lib/rubocop/cop/force.rb | 5 | # A scaffold for concrete forces. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/rubocop.rb | 753 | unless File.exist?("#{__dir__}/../rubocop.gemspec") # Check if we are a gem | CODE |
| LOW | lib/rubocop/runner.rb | 377 | # Write the file once, even when the loop was left through an exception | COMMENT |
| LOW | lib/rubocop/cop/mixin/frozen_string_literal.rb | 47 | # Check if a magic string literal comment specifies what to do | COMMENT |
| LOW | lib/rubocop/cop/style/redundant_line_continuation.rb | 161 | # Check if source is still valid without the continuation | COMMENT |
| LOW | lib/rubocop/cop/style/fetch_env_var.rb | 111 | # Check if the node is a receiver and receives a message with dot syntax. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cop/lint/hash_new_with_keyword_arguments_as_default.rb | 13 | # NOTE: The following corner case may result in a false negative when upgrading from Ruby 3.3 | COMMENT |
| LOW | lib/rubocop/cop/lint/require_range_parentheses.rb | 9 | # NOTE: The following is maybe intended for `(42..)`. But, compatible is `42..do_something`. | COMMENT |
| LOW | lib/rubocop/cop/style/regexp_literal.rb | 8 | # NOTE: The following `%r` cases using a regexp that starts with a blank or `=` | COMMENT |