A Ruby static code analyzer and formatter, based on the community Ruby style guide.
This report summarizes scanner evidence for rubocop/rubocop, a Ruby project with 12,912 GitHub stars. SynthScan examined 425,193 lines of code across 2084 source files, recording 2191 pattern matches distributed across 12 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.
Can maintainers explain intent, assumptions, and trade-offs? 2159 finding(s).
Are imports declared and package/API names verified? 32 finding(s).
Are wrappers, guards, and repeated structures necessary? 516 finding(s).
Which changes need focused human review? 2191 finding(s).
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.
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 2191 distinct pattern matches across 12 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 | config/default.yml | 61 | # Default formatter will be used if no `-f/--format` option is given. | COMMENT |
| LOW | config/default.yml | 81 | # Extra details are not displayed in offense messages by default. Change | COMMENT |
| LOW | config/default.yml | 101 | DisabledByDefault: false | COMMENT |
| LOW | config/default.yml | 121 | ProjectIndexIncludesGems: false | COMMENT |
| LOW | config/default.yml | 141 | # The CacheRootDirectory can be overwritten by passing the `--cache-root` command | COMMENT |
| LOW | config/default.yml | 161 | # Ruby version is still unresolved, RuboCop will use the oldest officially | COMMENT |
| LOW | config/default.yml | 421 | # Alignment of arguments in multi-line method calls. | COMMENT |
| LOW | config/default.yml | 841 | # preceding line. | COMMENT |
| LOW | config/default.yml | 861 | literal. | COMMENT |
| LOW | config/default.yml | 901 | VersionAdded: '0.68' | COMMENT |
| LOW | config/default.yml | 981 | # 'a' => 2 | COMMENT |
| LOW | config/default.yml | 1001 | # bb: 1 | COMMENT |
| LOW | config/default.yml | 1021 | # Accepts: | COMMENT |
| LOW | config/default.yml | 1361 | Description: >- | COMMENT |
| LOW | config/default.yml | 1961 | VersionAdded: '1.50' | COMMENT |
| LOW | config/default.yml | 3121 | # in `AllCops:Exclude` are excluded by default. Add extra excludes here. | COMMENT |
| LOW | config/default.yml | 3661 | Enabled: false | COMMENT |
| LOW | config/default.yml | 3681 | # and do..end around multi-line blocks, except for multi-line blocks whose | COMMENT |
| LOW | config/default.yml | 3721 | # categorised from their usage alone, e.g. | COMMENT |
| LOW | config/default.yml | 3741 | # falsey value, then semantic purity is maintained, so one-line | COMMENT |
| LOW | config/default.yml | 3821 | # Fights Rails autoloading conventions, and the autocorrect is unsafe. | COMMENT |
| LOW | config/default.yml | 4061 | VersionAdded: '0.66' | COMMENT |
| LOW | config/default.yml | 6441 | # def name | 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 | 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 | 81 | COMMENT | |
| LOW | lib/rubocop/magic_comment.rb | 201 | extract(self.class::REGEXP).split(self.class::SEPARATOR).map(&:strip) | COMMENT |
| LOW | lib/rubocop/magic_comment.rb | 261 | COMMENT | |
| LOW | lib/rubocop/magic_comment.rb | 281 | # Vim comments cannot specify indentation warning behavior. | COMMENT |
| LOW | lib/rubocop/util.rb | 21 | def self.emulate_write_read_cycle(source) | COMMENT |
| LOW | lib/rubocop/config_loader_resolver.rb | 81 | end | COMMENT |
| LOW | lib/rubocop/unified_diff.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/rubocop/runner.rb | 441 | # This variable is 2d array used to track corrected offenses after each | 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/changed_files.rb | 81 | # the `:/` pathspec widens it to the whole repository, and `--full-name` | 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/comment_config/disable_next.rb | 1 | # frozen_string_literal: true | 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 |
| 1493 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 | 46 | def project_index_runner_options(output_path, cache_root) | CODE |
| LOW | spec/rubocop/cop/lint/unused_private_method_spec.rb | 159 | def singleton_method_undefined(name) | 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 | 635 | 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 | 644 | 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 | 374 | def table_of_content_for_department(department) | CODE |
| LOW | lib/rubocop/directive_comment.rb | 270 | 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/todo_audit.rb | 65 | def offending_cops_without_todo(entries) | CODE |
| LOW | lib/rubocop/target_finder.rb | 120 | def combined_exclude_glob_patterns(base_dir) | CODE |
| LOW | lib/rubocop/cli.rb | 238 | def warn_if_cache_root_changed(early, desired) | CODE |
| LOW | lib/rubocop/cached_data.rb | 99 | def location_from_source_buffer(offense) | CODE |
| LOW | lib/rubocop/magic_comment.rb | 222 | def new_frozen_string_literal(value) | CODE |
| LOW | lib/rubocop/magic_comment.rb | 321 | 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 | 222 | def new_cops_value_for_department(name, section) | CODE |
| LOW | lib/rubocop/config_validator.rb | 300 | def validate_support_and_has_list(name, formats, valid) | CODE |
| LOW | lib/rubocop/config.rb | 126 | def add_excludes_from_higher_level(highest_config) | CODE |
| LOW | lib/rubocop/config.rb | 407 | def gem_version_to_major_minor_float(gem_version) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 76 | def resolve_inheritance_from_gems(hash) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 147 | def override_department_setting_for_cops(base_hash, derived_hash) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 164 | def override_enabled_for_disabled_departments(base_hash, derived_hash) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 210 | def with_preview_exclude_merge(mode, preview) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 227 | def resolve_default_overrides(config) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 248 | def warn_on_duplicate_setting(base_hash, derived_hash, key, **opts) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 260 | def duplicate_setting_warning(opts, key) | CODE |
| LOW | lib/rubocop/config_loader_resolver.rb | 346 | def handle_disabled_by_default(config, new_default_configuration, base_defaults) | CODE |
| LOW | lib/rubocop/comment_config.rb | 98 | def extra_enabled_comments_with_names(extras:, names:) | CODE |
| LOW | lib/rubocop/comment_config.rb | 161 | def inject_disabled_cops_directives(analyses) | CODE |
| LOW | lib/rubocop/options.rb | 59 | def return_path_given_to_changed(args) | CODE |
| LOW | lib/rubocop/options.rb | 174 | def add_autocorrection_options(opts) # rubocop:disable Metrics/MethodLength | CODE |
| LOW | lib/rubocop/options.rb | 199 | def add_config_generation_options(opts) | CODE |
| LOW | lib/rubocop/options.rb | 219 | 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 | 217 | def process_report_queue_entry(index) | CODE |
| LOW | lib/rubocop/runner.rb | 362 | def team_for_redundant_disables(file, offenses, source) | CODE |
| LOW | lib/rubocop/runner.rb | 387 | 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 | 72 | def merge_plugin_config_with_default(plugin_config, plugin_config_path) | CODE |
| LOW | lib/rubocop/plugin/configuration_integrator.rb | 92 | def fake_out_rubocop_default_configuration(default_config) | CODE |
| LOW | lib/rubocop/plugin/configuration_integrator.rb | 103 | def load_plugin_rubocop_config(plugin, runner_context) | CODE |
| LOW | lib/rubocop/server/cli.rb | 110 | def fetch_cache_root_path_from(arguments) | CODE |
| LOW | lib/rubocop/server/cli.rb | 121 | def delete_server_argument_from(all_arguments) | CODE |
| LOW | lib/rubocop/server/cache.rb | 128 | def write_port_and_token_files(port:, token:) | CODE |
| LOW | lib/rubocop/lsp/routes.rb | 181 | def handle_unsupported_method(request, method = request[:method]) | CODE |
| LOW | lib/rubocop/lsp/routes.rb | 200 | def extract_initialization_options_from(request) | CODE |
| LOW | lib/rubocop/lsp/routes.rb | 237 | def write_invalid_arguments_error(request, command) | CODE |
| LOW | lib/rubocop/cli/command/show_cops.rb | 83 | def selected_cops_of_department(cops, department) | CODE |
| LOW | lib/rubocop/cli/command/execute_runner.rb | 76 | def print_unused_todo_entries(todo_file, unused) | 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 | 92 | def add_testcase_element_to_testsuite_element(file, target_offenses, cop) | CODE |
| LOW | lib/rubocop/formatter/junit_formatter.rb | 111 | def classname_attribute_value(file) | CODE |
| 456 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 | 73 | node.body.loc.end.end.join(node.source_range.end) | CODE |
| CRITICAL⚡ | lib/rubocop/cop/lint/useless_assignment.rb | 204 | 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 | 145 | 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 | …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/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 | 128 | values.first.parent.source_range.begin.join(values.last.parent.source_range.end) | CODE |
| CRITICAL | …ubocop/cop/style/redundant_double_splat_hash_braces.rb | 91 | 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 | 124 | # 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 | 1471 | # 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 | 13 | # 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 | 600 | # 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 | 135 | # 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 | 493 | 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 | 493 | 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 | 496 | 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 | 496 | 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 | 498 | 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 | 498 | 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 | 501 | 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 | 501 | 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 | 503 | 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 | 503 | 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 | 505 | 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 | 505 | 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 | 507 | 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 | 507 | 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 | 510 | 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 | 510 | 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 | 512 | 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 | 512 | 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 | 528 | # 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 | 3761 | # methods use braces. For example, you can use this to enforce Sorbet | COMMENT |
| LOW | spec/rubocop/cli/options_spec.rb | 2619 | C: 1: 3: [Correctable] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English | CODE |
| LOW | spec/rubocop/cli/options_spec.rb | 2659 | C: 1: 3: [Corrected] Style/SpecialGlobalVars: Prefer $INPUT_RECORD_SEPARATOR or $RS from the stdlib 'English' | CODE |
| LOW | spec/rubocop/cli/options_spec.rb | 2681 | 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 | 3053 | # 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 |
|---|---|---|---|---|
| MEDIUM | spec/rubocop/cop/style/copyright_spec.rb | 129 | # the default spec harness. | COMMENT |
| LOW | lib/rubocop/magic_comment.rb | 54 | # 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 | 150 | unless File.exist?("#{__dir__}/../rubocop.gemspec") # Check if we are a gem | CODE |
| LOW | lib/rubocop/runner.rb | 491 | # 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/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 |