AI Slop Code Risk Monitor

Homebrew/brew

SlopCodeMonitor badge for Homebrew/brew Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🍺 The Package Manager for Everywhere

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for Homebrew/brew, a Ruby project with 50,166 GitHub stars. SynthScan examined 375,234 lines of code across 2043 source files, recording 682 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 2.1 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
50.2K
Stars
Ruby
Language
375.2K
Lines of Code
2.0K
Files
682
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 3.7/100 · LOW

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

PR Review Velocity Impact 10.0/100 · LOW

Which changes need focused human review? 682 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 3MEDIUM 46LOW 633

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 682 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.

Hyper-Verbose Identifiers281 hits · 283 pts
SeverityFileLineSnippetContext
LOWLibrary/Homebrew/retryable_download.rb106 def verify_download_integrity(filename) = downloadable.verify_download_integrity(filename)CODE
LOWLibrary/Homebrew/keg_relocate.rb172 def prepare_relocation_to_placeholders(new_usr_local_relocation: new_usr_local_relocation?)CODE
LOWLibrary/Homebrew/keg_relocate.rb226 def replace_placeholders_with_locations(files, skip_linkage: false, linkage_files: nil)CODE
LOWLibrary/Homebrew/keg_relocate.rb521 def each_unique_file_matching(string, &block)CODE
LOWLibrary/Homebrew/bottle.rb172 def with_corrupt_download_retry(quiet: false, &_block)CODE
LOWLibrary/Homebrew/bottle.rb188 def discard_corrupt_cached_download(known_corrupt: false)CODE
LOWLibrary/Homebrew/bottle.rb342 def stage_from_download_queue(download, pour:)CODE
LOWLibrary/Homebrew/install.rb30 def perform_preinstall_checks_once(all_fatal: false)CODE
LOWLibrary/Homebrew/install.rb47 def perform_build_from_source_checks(all_fatal: false)CODE
LOWLibrary/Homebrew/install.rb235 def select_formula_installers(formula_installers, step: nil, action: nil)CODE
LOWLibrary/Homebrew/install.rb264 def combined_fetch_downloads_heading(formula_names: [], cask_names: [])CODE
LOWLibrary/Homebrew/install.rb302 def mark_failed_cask_downloads(cask_installers, download_queue:)CODE
LOWLibrary/Homebrew/install.rb431 def print_dry_run_dependencies(formula, dependencies, skip_formula_names: [], dependency_summary: nil, &_block)CODE
LOWLibrary/Homebrew/install.rb451 def print_dry_run_dependency_summary(summary, formula: nil)CODE
LOWLibrary/Homebrew/install.rb666 def perform_preinstall_checks(all_fatal: false)CODE
LOWLibrary/Homebrew/formula_installer.rb793 def expand_dependencies_for_formula_once(formula, keepable_dependencies, kept_dependencies)CODE
LOWLibrary/Homebrew/formula_installer.rb853 def expand_dependencies_for_formula(formula)CODE
LOWLibrary/Homebrew/formula_installer.rb878 def effective_build_options_for(dependent)CODE
LOWLibrary/Homebrew/dependency.rb294 def delete_timestamped_cache_entry(key, cache_timestamp)CODE
LOWLibrary/Homebrew/formula_versions.rb434 def file_contents_at_revision(revision, relative_path)CODE
LOWLibrary/Homebrew/installed_dependents.rb26 def find_some_installed_dependents(kegs, casks: [])CODE
LOWLibrary/Homebrew/messages.rb34 def record_completions_and_elisp(completions_and_elisp)CODE
LOWLibrary/Homebrew/sandbox.rb589 def allow_write_path_if_exists(path)CODE
LOWLibrary/Homebrew/sbom.rb620 def full_spdx_runtime_dependencies(bottling:)CODE
LOWLibrary/Homebrew/sbom.rb685 def described_package_spdx_id(bottling:)CODE
LOWLibrary/Homebrew/keg.rb782 def codesign_patched_binaries(files); endCODE
LOWLibrary/Homebrew/tap.rb351 def worktree_source_tap_path_for(path:)CODE
LOWLibrary/Homebrew/tap.rb1588 def read_formula_list_directory(directory)CODE
LOWLibrary/Homebrew/local_patch.rb93 def api_source_repository_path(path)CODE
LOWLibrary/Homebrew/resource.rb228 def verify_download_integrity(filename)CODE
LOWLibrary/Homebrew/resource.rb449 def verify_download_integrity(_filename)CODE
LOWLibrary/Homebrew/cleanup.rb153 def excluded_versions_from_cleanup(formula)CODE
LOWLibrary/Homebrew/cleanup.rb602 def cleanup_legacy_cask_downloads(casks)CODE
LOWLibrary/Homebrew/cleanup.rb705 def cleanup_empty_api_source_directories(directory = cache/"api-source")CODE
LOWLibrary/Homebrew/cleanup.rb789 def prune_content_addressed_cache(path)CODE
LOWLibrary/Homebrew/upgrade.rb145 def filter_dependent_formula_installers(formula_installers)CODE
LOWLibrary/Homebrew/upgrade.rb170 def dependent_formula_installers(CODE
LOWLibrary/Homebrew/formula_cellar_checks.rb132 def check_generic_executables(bin)CODE
LOWLibrary/Homebrew/formula_cellar_checks.rb436 def check_prebuilt_npm_binaries(formula)CODE
LOWLibrary/Homebrew/tap_auditor.rb150 def check_formula_list_directory(directory_name, lists)CODE
LOWLibrary/Homebrew/downloadable.rb73 def while_hashing_through_cache(&_block)CODE
LOWLibrary/Homebrew/downloadable.rb321 def stage_from_download_queue(_download, pour:); endCODE
LOWLibrary/Homebrew/downloadable.rb324 def verify_download_integrity(filename)CODE
LOWLibrary/Homebrew/caveats.rb236 def function_completion_caveats(shell)CODE
LOWLibrary/Homebrew/github_runner_matrix.rb326 def compatible_testing_formulae(runner)CODE
LOWLibrary/Homebrew/github_runner_matrix.rb339 def formulae_with_untested_dependents(runner)CODE
LOWLibrary/Homebrew/deprecate_disable.rb135 def to_reason_string_or_symbol(string, type:)CODE
LOWLibrary/Homebrew/install_steps.rb629 def delete_keychain_certificate(name, matching_certificate: nil, base: nil)CODE
LOWLibrary/Homebrew/install_steps.rb645 def delete_keychain_certificates(name, fingerprint_of: nil, base: nil)CODE
LOWLibrary/Homebrew/install_steps.rb786 def install_gzipped_executable(source, target, source_base: nil, target_base: nil)CODE
LOWLibrary/Homebrew/development_tools.rb49 def insecure_download_warning(resource)CODE
LOWLibrary/Homebrew/head_software_spec.rb14 def verify_download_integrity(_filename)CODE
LOWLibrary/Homebrew/formula.rb428 def full_name_with_optional_tap(name)CODE
LOWLibrary/Homebrew/formula.rb2695 def generate_completions_from_executable(*commands,CODE
LOWLibrary/Homebrew/formula.rb3010 def runtime_formula_dependencies(read_from_tab: true, undeclared: true)CODE
LOWLibrary/Homebrew/formula.rb3026 def installed_runtime_formula_dependencies(read_from_tab: true, undeclared: true)CODE
LOWLibrary/Homebrew/formula.rb3802 def eligible_kegs_for_cleanup(quiet: false)CODE
LOWLibrary/Homebrew/formula.rb3888 def enqueue_resources_and_patches(download_queue:, test: false)CODE
LOWLibrary/Homebrew/formula.rb5484 def python_major_minor_version(python)CODE
LOWLibrary/Homebrew/bundle.rb59 def formula_versions_from_env(formula_name)CODE
221 more matches not shown…
Over-Commented Block265 hits · 222 pts
SeverityFileLineSnippetContext
LOWLibrary/tap_rubocop_style.yml1---COMMENT
LOWLibrary/Homebrew/keg_relocate.rb681COMMENT
LOWLibrary/Homebrew/formula_creator.rb321 <% elsif @mode == :zig %>COMMENT
LOWLibrary/Homebrew/attestation.rb21COMMENT
LOWLibrary/Homebrew/attestation.rb41COMMENT
LOWLibrary/Homebrew/attestation.rb61 # @api privateCOMMENT
LOWLibrary/Homebrew/attestation.rb101 endCOMMENT
LOWLibrary/Homebrew/attestation.rb161COMMENT
LOWLibrary/Homebrew/attestation.rb241COMMENT
LOWLibrary/Homebrew/attestation.rb261 # or (3) by checking the resulting JSON for the expected signing workflow.COMMENT
LOWLibrary/Homebrew/installed_dependents.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/lock_file.rb41 "Use `ulimit -n` to increase this limit."COMMENT
LOWLibrary/Homebrew/brew.sh221# Only `brew update-if-needed` should be handled here.COMMENT
LOWLibrary/Homebrew/cleaner.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/cleaner.rb41 # 1. `info/dir`COMMENT
LOWLibrary/Homebrew/tap.rb241 # The user name of this {Tap}. Usually, it's the GitHub username ofCOMMENT
LOWLibrary/Homebrew/tap.rb261 # {#name} is always in lowercase.COMMENT
LOWLibrary/Homebrew/utils.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/utils.rb21 # Removes the module part from the expression in the string.COMMENT
LOWLibrary/Homebrew/livecheck.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/dependency_collector.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/resource.rb241 # odeprecated "formula downloads without a checksum", "a `sha256` declaration", disable: trueCOMMENT
LOWLibrary/Homebrew/abstract_command.rb1# typed: strongCOMMENT
LOWLibrary/Homebrew/build_options.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/build_options.rb21 # args << "--qt-gui" if build.with? "qt" # "--with-qt" ==> build.with? "qt"COMMENT
LOWLibrary/Homebrew/build_options.rb61 !with?(val)COMMENT
LOWLibrary/Homebrew/build_options.rb81 # if build.head?COMMENT
LOWLibrary/Homebrew/description_cache_store.rb1# typed: strictCOMMENT
LOWLibrary/Homebrew/version.rb381 private_constant :PRERELEASE_SUFFIXCOMMENT
LOWLibrary/Homebrew/version.rb401 UrlParser.new(/[_-]([Rr]\d+[AaBb]\d*(?:-\d+)?)/),COMMENT
LOWLibrary/Homebrew/version.rb441 StemParser.new(/-(#{MINOR_OR_PATCH})-w(?:in)?(?:32|64)$/),COMMENT
LOWLibrary/Homebrew/version.rb461COMMENT
LOWLibrary/Homebrew/version.rb481COMMENT
LOWLibrary/Homebrew/formula.rb61# All subclasses of {Formula} (and all Ruby classes) have to be namedCOMMENT
LOWLibrary/Homebrew/formula.rb141 # e.g. `another-name-for-this-formula`COMMENT
LOWLibrary/Homebrew/formula.rb161 #COMMENT
LOWLibrary/Homebrew/formula.rb181 # The HEAD {SoftwareSpec} for this {Formula}.COMMENT
LOWLibrary/Homebrew/formula.rb221COMMENT
LOWLibrary/Homebrew/formula.rb601COMMENT
LOWLibrary/Homebrew/formula.rb621COMMENT
LOWLibrary/Homebrew/formula.rb1121 # All currently installed prefix directories.COMMENT
LOWLibrary/Homebrew/formula.rb1141 # ```COMMENT
LOWLibrary/Homebrew/formula.rb1161 # The directory where the formula's headers should be installed.COMMENT
LOWLibrary/Homebrew/formula.rb1181 # @api publicCOMMENT
LOWLibrary/Homebrew/formula.rb1201 # The directory where the formula's binaries should be installed.COMMENT
LOWLibrary/Homebrew/formula.rb1221 # Often one of the more specific `man` functions should be used instead,COMMENT
LOWLibrary/Homebrew/formula.rb1241 sig { returns(Pathname) }COMMENT
LOWLibrary/Homebrew/formula.rb1261 # man3.install "man.3"COMMENT
LOWLibrary/Homebrew/formula.rb1281 sig { returns(Pathname) }COMMENT
LOWLibrary/Homebrew/formula.rb1301 # This is symlinked into `HOMEBREW_PREFIX` after installation or withCOMMENT
LOWLibrary/Homebrew/formula.rb1321 # ### ExamplesCOMMENT
LOWLibrary/Homebrew/formula.rb1341 # Install `./example_code/simple/ones` to `share/demos/examples`:COMMENT
LOWLibrary/Homebrew/formula.rb1361 # pkgshare.install "examples"COMMENT
LOWLibrary/Homebrew/formula.rb1381 def elisp = prefix/"share/emacs/site-lisp"/nameCOMMENT
LOWLibrary/Homebrew/formula.rb1401 # The directory where the formula's configuration files should be installed.COMMENT
LOWLibrary/Homebrew/formula.rb1421 # This directory is not inside the `HOMEBREW_CELLAR` so it persistsCOMMENT
LOWLibrary/Homebrew/formula.rb1441 #COMMENT
LOWLibrary/Homebrew/formula.rb1461 sig { returns(Pathname) }COMMENT
LOWLibrary/Homebrew/formula.rb1581COMMENT
LOWLibrary/Homebrew/formula.rb1641 # Same as {#elisp}, but relative to {#opt_prefix} instead of {#prefix}.COMMENT
205 more matches not shown…
Self-Referential Comments37 hits · 111 pts
SeverityFileLineSnippetContext
MEDIUMLibrary/Homebrew/descriptions.rb51 # Create an actual instance.COMMENT
MEDIUMLibrary/Homebrew/bottle.rb359 # Create a separate file to mark a completed extraction. This avoidsCOMMENT
MEDIUMLibrary/Homebrew/bundle_version.rb92 # Create a nicely formatted version (on a best effort basis).COMMENT
MEDIUMLibrary/Homebrew/cleaner.rb20 # Create a cleaner for the given formula.COMMENT
MEDIUMLibrary/Homebrew/dependency_collector.rb18# This class is used by `depends_on` in the formula DSL to turn dependencyCOMMENT
MEDIUMLibrary/Homebrew/formula.rb3389 # Create a hash of spec names (stable/head) to the list of dependencies under eachCOMMENT
MEDIUMLibrary/Homebrew/formula.rb3516 # This method is overridden in {Formula} subclasses to provide theCOMMENT
MEDIUMLibrary/Homebrew/formula.rb3531 # This method is overridden in {Formula} subclasses to provide theCOMMENT
MEDIUMLibrary/Homebrew/formula.rb3847 # Create a temporary directory then yield. When the block returns,COMMENT
MEDIUMLibrary/Homebrew/system_command.rb462 # Create a new process group so that we can send `SIGINT` fromCOMMENT
MEDIUMLibrary/Homebrew/cmd/pyenv-sync.rb77 # Create an unversioned symlinksCOMMENT
MEDIUMLibrary/Homebrew/extend/os/linux/install.rb89 # This file is generated by Homebrew. Do not modify.COMMENT
MEDIUMLibrary/Homebrew/rubocops/extend/formula_cop.rb29 # This method is called by RuboCop and is the main entry point.COMMENT
MEDIUMLibrary/Homebrew/test/cleanup_spec.rb1141 # Create the latest version of testball so the older version is eligible for cleanup.COMMENT
MEDIUMLibrary/Homebrew/test/style_spec.rb65 # This file is known to use non-rocket hashes and other things that trigger audit,COMMENT
MEDIUMLibrary/Homebrew/test/cmd/info_spec.rb610 # Create a rack for the installed dependencyCOMMENT
MEDIUMLibrary/Homebrew/test/cmd/info_spec.rb617 # Create a dependent keg whose tab references testballCOMMENT
MEDIUM…ry/Homebrew/test/support/helper/cask/install_helper.rb32 # Create the caskroom pathCOMMENT
MEDIUM…ry/Homebrew/test/support/helper/cask/install_helper.rb35 # Create the staged_path (version directory)COMMENT
MEDIUMLibrary/Homebrew/test/cask/installer_spec.rb1160 # Create a different fileCOMMENT
MEDIUMLibrary/Homebrew/standalone/init.rb4# This file is included before any other files.COMMENT
MEDIUMLibrary/Homebrew/livecheck/strategy/extract_plist.rb132 # Create a copy of the cask that overrides the artifact URL with theCOMMENT
MEDIUMLibrary/Homebrew/utils/lock.sh1# Create a lock using `flock(2)`. A command name with arguments is required asCOMMENT
MEDIUMLibrary/Homebrew/utils/curl.rb883 # Create a hash from the header linesCOMMENT
MEDIUMLibrary/Homebrew/prof/vernier_fork_guard.rb8 # This file is required before Homebrew's usual command boot has installedCOMMENT
MEDIUMLibrary/Homebrew/cask/audit.rb267 # Create a temporary installer to process renames in the audit directoryCOMMENT
MEDIUMLibrary/Homebrew/services/formula_wrapper.rb17 # Create a new `Service` instance from either a path or label.COMMENT
MEDIUMLibrary/Homebrew/dev-cmd/typecheck.rb289 # This file is autogenerated. Do not edit it by hand.COMMENT
MEDIUMLibrary/Homebrew/dev-cmd/create.rb78 # Create a formula from a tarball URL.COMMENT
MEDIUM.github/dependabot.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/workflows/check-issues.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/workflows/stale-issues-and-prs.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/workflows/licenses.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/workflows/check-prs.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/workflows/actionlint.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/codeql/extensions/homebrew-actions.yml1# This file is synced from the `.github` repository, do not modify it directly.COMMENT
MEDIUM.github/scripts/check-licenses.sh2# This file is synced from the `.github` repository, do not modify it directly.COMMENT
Redundant / Tautological Comments42 hits · 68 pts
SeverityFileLineSnippetContext
LOWLibrary/Homebrew/linkage_checker.rb289 # Check if this is a no_linkage dependency with unexpected linkageCOMMENT
LOWLibrary/Homebrew/missing_formula.rb178 # Check if the formula has been deleted in the last month.COMMENT
LOWLibrary/Homebrew/version.rb522 # Check if this is a HEAD version.COMMENT
LOWLibrary/Homebrew/formula.rb4963 # Check if `@rpath` install names should be preserved.COMMENT
LOWLibrary/Homebrew/cmd/update-report.rb225 # Check if we can parse the JSON and do any Ruby-side follow-up.COMMENT
LOWLibrary/Homebrew/cmd/update_report/reporter.rb279 # Check if the migration target is a cask (either in homebrew/cask or any other tap)COMMENT
LOWLibrary/Homebrew/install/check.rb46 # Check if the installed formula is from a different tapCOMMENT
LOWLibrary/Homebrew/install/check.rb150 # Check if the formula we try to install is the same as installedCOMMENT
LOWLibrary/Homebrew/rubocops/components_order.rb247 # Check if each present_components is above rest of the present_componentsCOMMENT
LOWLibrary/Homebrew/rubocops/shared/desc_helper.rb22 # Check if a desc is present.COMMENT
LOWLibrary/Homebrew/rubocops/shared/desc_helper.rb33 # Check if the desc is empty.COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb46 # Check if "command-line" is spelled incorrectly in the desc.COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb52 # Check if the desc starts with an article.COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb55 # Check if invalid lowercase words are at the start of a desc.COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb60 # Check if the desc starts with the formula's or cask's name.COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb71 # Check if a full stop is used at the end of a desc (apart from in the case of "etc.").COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb76 # Check if the desc contains Unicode emojis or symbols (Unicode Other Symbols category).COMMENT
LOW⚡Library/Homebrew/rubocops/shared/desc_helper.rb79 # Check if the desc length exceeds maximum length.COMMENT
LOWLibrary/Homebrew/rubocops/shared/helper_functions.rb411 # Check if a block method is called inside a block.COMMENT
LOWLibrary/Homebrew/rubocops/shared/helper_functions.rb424 # Check if method_name is called among the direct children nodes in the given node.COMMENT
LOWLibrary/Homebrew/rubocops/shared/helper_functions.rb425 # Check if the node itself is the method.COMMENT
LOWLibrary/Homebrew/rubocops/shared/helper_functions.rb441 # Check if method_name is called among every descendant node of given node.COMMENT
LOWLibrary/Homebrew/rubocops/shared/helper_functions.rb474 # Check if negation is present in the given node.COMMENT
LOWLibrary/Homebrew/rubocops/cask/no_overrides.rb45 # Check if multiple `on_{system}` blocks have different `depends_on macos:` versions.COMMENT
LOWLibrary/Homebrew/test/cask/cask_loader_spec.rb535 # Set HOMEBREW_LIBRARY to our test prefix for the security checkCOMMENT
LOWLibrary/Homebrew/unpack_strategy/dmg.rb48 # Check if path is considered disk image metadata.COMMENT
LOWLibrary/Homebrew/unpack_strategy/dmg.rb54 # Check if path is a symlink to a system directory (commonly to /Applications).COMMENT
LOWLibrary/Homebrew/unpack_strategy/tar.rb31 # Check if `tar` can list the contents, then it can also extract it.COMMENT
LOWLibrary/Homebrew/bundle/extensions/flatpak.rb214 # Check if package is installed at all (regardless of remote)COMMENT
LOWLibrary/Homebrew/utils/gem_setup.rb163 # Write the file atomically, in case we're working parallelCOMMENT
LOWLibrary/Homebrew/utils/gem_setup.rb233 # Check if the install is intact. This is useful if any gems are added to gitignore.COMMENT
LOWLibrary/Homebrew/utils/curl.rb439 # Check if a URL is protected by CloudFlare (e.g. badlion.net and jaxx.io).COMMENT
LOWLibrary/Homebrew/utils/curl.rb451 # Check if a URL is protected by Incapsula (e.g. corsair.com).COMMENT
LOWLibrary/Homebrew/utils/service.rb11 # Check if a service is running for a specified formula.COMMENT
LOWLibrary/Homebrew/utils/service.rb27 # Check if a service file is installed in the expected location.COMMENT
LOWLibrary/Homebrew/os/linux/elf.rb244 # Check if DF_1_NODEFLIB is setCOMMENT
LOWLibrary/Homebrew/cask/cask.rb444 # Check if the installed cask is outdated.COMMENT
LOWLibrary/Homebrew/cask/caskroom.rb48 # Check if the cask is installed with an old name.COMMENT
LOWLibrary/Homebrew/cask/artifact/symlinked.rb172 # Check if the target file is a symlink that originates from a formulaCOMMENT
LOWLibrary/Homebrew/services/cli.rb48 # Check if formula has been found.COMMENT
LOWLibrary/Homebrew/services/system.rb150 # Check if a launchd service is running, given its label (e.g. `homebrew.mxcl.foo`).COMMENT
LOWLibrary/Homebrew/dev-cmd/bump-formula-pr.rb383 # Check if there are any resources that still need manual update:COMMENT
Fake / Example Data27 hits · 34 pts
SeverityFileLineSnippetContext
LOWLibrary/Homebrew/test/utils_spec.rb138 .to eq({ name: "John Doe", email: "john.doe@example.com" })CODE
LOWLibrary/Homebrew/test/utils_spec.rb141 expect { described_class.parse_author!("John Doe") }CODE
LOWLibrary/Homebrew/test/missing_formula_spec.rb81 (tap_path/"Formula/deleted-formula.rb").write "placeholder"CODE
LOWLibrary/Homebrew/test/missing_formula_spec.rb140 (tap_path/"notes/#{target}.rb").write "placeholder"CODE
LOW…y/Homebrew/test/livecheck/strategy/sourceforge_spec.rb35 <description><![CDATA[Files from abc Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tCODE
LOW…y/Homebrew/test/livecheck/strategy/sourceforge_spec.rb35 <description><![CDATA[Files from abc Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tCODE
LOWLibrary/Homebrew/test/utils/curl_spec.rb368 let(:user_agent_string) { "Lorem ipsum dolor sit amet" }CODE
LOWLibrary/Homebrew/test/utils/curl_spec.rb368 let(:user_agent_string) { "Lorem ipsum dolor sit amet" }CODE
LOWLibrary/Homebrew/test/utils/user_spec.rb36 fake_user ttys002 Oct 1 11:27CODE
LOWLibrary/Homebrew/test/utils/github/actions_spec.rb7 let(:message) { "lorem ipsum" }CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb28 annotation = described_class.new(:warning, "lorem ipsum", file: "file.txt")CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb30 expect(annotation.to_s).to eq "::warning file=file.txt::lorem ipsum"CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb34 annotation = described_class.new(:warning, "lorem ipsum", file: "file.txt", title: "foo")CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb36 expect(annotation.to_s).to eq "::warning file=file.txt,title=foo::lorem ipsum"CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb40 annotation = described_class.new(:error, "lorem ipsum", file: "file.txt", line: 3)CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb42 expect(annotation.to_s).to eq "::error file=file.txt,line=3::lorem ipsum"CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb46 annotation = described_class.new(:error, "lorem ipsum", file: "file.txt", line: 3, column: 18)CODE
LOW⚡Library/Homebrew/test/utils/github/actions_spec.rb48 expect(annotation.to_s).to eq "::error file=file.txt,line=3,col=18::lorem ipsum"CODE
LOWLibrary/Homebrew/test/cask/artifact/app_spec.rb394 allow(User).to receive(:current).and_return(User.new("fake_user"))CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb52 allow(User).to receive(:current).and_return(User.new("fake_user"))CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb56 .with("chown", args: ["-R", "--", "fake_user:staff", fake_pathname], sudo: nil)CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb64 allow(User).to receive(:current).and_return(User.new("fake_user"))CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb70 args: ["-R", "--", "fake_user:staff", fake_pathname, fake_pathname],CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb95 allow(User).to receive(:current).and_return(User.new("fake_user"))CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb102 .with("chown", args: ["-R", "--", "fake_user:staff", fake_pathname], sudo: nil)CODE
LOW⚡…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb110 allow(User).to receive(:current).and_return(User.new("fake_user"))CODE
LOW…brary/Homebrew/test/cask/dsl/shared_examples/staged.rb124 allow(User).to receive(:current).and_return(User.new("fake_user"))CODE
AI Slop Vocabulary17 hits · 34 pts
SeverityFileLineSnippetContext
LOWLibrary/Homebrew/diagnostic.rb1683 # If quarantine is not available, a warning is already shown by check_cask_quarantine_support so just returnCOMMENT
LOWLibrary/Homebrew/keg.rb950 # no need to put .app bundles in the path, the user can just useCOMMENT
MEDIUMLibrary/Homebrew/formula.rb2237 # libraries before trying to utilize Frameworks, many of which will be fromCOMMENT
LOWLibrary/Homebrew/cmd/log.rb40 # As this command is simplifying user-run commands then let's just use aCOMMENT
LOWLibrary/Homebrew/rubocops/lines.rb1101 problem "`Dir([\"#{string_content(path)}\"])` is unnecessary; just use `#{match[0]}`"CODE
MEDIUMLibrary/Homebrew/rubocops/unreferenced_let.rb18 # example or an included test harness) cannot be seen, so the cop stays conservative andCOMMENT
LOWLibrary/Homebrew/unpack_strategy/dmg.rb106 # For HFS, just use <mount-path>COMMENT
MEDIUMLibrary/Homebrew/livecheck/strategy/json.rb19 # `strategy :json` in a `livecheck` block (in conjunction with aCOMMENT
MEDIUMLibrary/Homebrew/livecheck/strategy/yaml.rb19 # `strategy :yaml` in a `livecheck` block (in conjunction with aCOMMENT
MEDIUMLibrary/Homebrew/livecheck/strategy/xml.rb23 # `strategy :xml` in a `livecheck` block (in conjunction with aCOMMENT
LOWLibrary/Homebrew/utils/gzip.rb29 # 1. Ideally, we would just set mtime = 0 if SOURCE_DATE_EPOCH is absent, but Ruby'sCOMMENT
MEDIUMLibrary/Homebrew/utils/github/artifacts.rb17 # We use a download strategy here to leverage the Homebrew cacheCOMMENT
LOWLibrary/Homebrew/os/mac/ffi/core_foundation.rb94 # ASCII-8BIT could be anything, so just use Latin-1COMMENT
LOWLibrary/Homebrew/dev-cmd/bump-revision.rb33 # As this command is simplifying user-run commands then let's just use aCOMMENT
LOWLibrary/Homebrew/dev-cmd/bump-compatibility-version.rb31 # As this command is simplifying user-run commands then let's just use aCOMMENT
LOWLibrary/Homebrew/dev-cmd/bump-formula-pr.rb111 # As this command is simplifying user-run commands then let's just use aCOMMENT
LOWLibrary/Homebrew/dev-cmd/bump-cask-pr.rb79 # As this command is simplifying user-run commands then let's just use aCOMMENT
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHLibrary/Homebrew/tap.rb559 # Redirect targets must pass the same allow/forbid checks as requested remotes.COMMENT
HIGHLibrary/Homebrew/dev-cmd/pr-pull.rb164 ohai "Ignoring workflow #{workflow} as requested by `--ignore-missing-artifacts`"CODE
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMLibrary/Homebrew/formula.rb4507 # If you maintain your own repository, you can add your own bottle links.COMMENT
MEDIUMLibrary/Homebrew/formula.rb4580 # If a block is provided you can also add {.depends_on} and {Patch}es just to the {.head} {SoftwareSpec}.COMMENT
LOWLibrary/Homebrew/test_bot/formulae.rb375 # If we depend on a versioned formula, make sure to unlink any otherCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHdocs/Brew-Bundle-and-Brewfile.md311# In this example, pass `--appdir=~/Applications` and `--require_sha`COMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWLibrary/Homebrew/extend/kernel.rb20 # NOTE: This method is **not** thread-safe – other threadsCOMMENT
LOWLibrary/Homebrew/bundle/brew.rb386 # Step 1: Sort by formula full name while putting tap formulae behind core formulae.COMMENT
LOWLibrary/Homebrew/bundle/brew.rb398 # Step 2: Sort by formula dependency topology.COMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWLibrary/Homebrew/bundle/brew.rb386 # Step 1: Sort by formula full name while putting tap formulae behind core formulae.COMMENT
LOWLibrary/Homebrew/bundle/brew.rb398 # Step 2: Sort by formula dependency topology.COMMENT
LOWLibrary/Homebrew/services/formula_wrapper.rb398 # The purpose of this function is to lazy load the Homebrew::Service classCOMMENT
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMdocs/BrewTestBot.md11[`brew test-bot`](Manpage.md#test-bot-options-formula) is Homebrew's continuous-integration orchestration command, origiCODE