A library for generating fake data such as names, addresses, and phone numbers.
This report summarizes scanner evidence for faker-ruby/faker, a Ruby project with 11,947 GitHub stars. SynthScan examined 254,674 lines of code across 1136 source files, recording 761 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 3.0 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 755 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 16 finding(s).
Which changes need focused human review? 761 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 761 distinct pattern matches across 6 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 | test/test_helper.rb | 21 | YAML::ENGINE.yamler = 'psych' if defined? YAML::ENGINE | COMMENT |
| LOW | lib/faker.rb | 81 | def bothify(string) | COMMENT |
| LOW | lib/locales/en/bank.yml | 1 | # Most of the iban details and the idea were copied from: https://github.com/iulianu/iban-tools | COMMENT |
| LOW | lib/faker/music.rb | 21 | # Faker::Music.key #=> "A#" | COMMENT |
| LOW | lib/faker/music.rb | 41 | ## | COMMENT |
| LOW | lib/faker/music.rb | 61 | NOTE_LETTERS | COMMENT |
| LOW | lib/faker/music.rb | 81 | # | COMMENT |
| LOW | lib/faker/music.rb | 101 | # | COMMENT |
| LOW | lib/faker/music.rb | 121 | end | COMMENT |
| LOW | lib/faker/internet.rb | 21 | class << self | COMMENT |
| LOW | lib/faker/internet.rb | 101 | [Faker::Name.first_name, Faker::Name.last_name].map do |name| | COMMENT |
| LOW | lib/faker/internet.rb | 181 | # Returns the domain name | COMMENT |
| LOW | lib/faker/internet.rb | 221 | # | COMMENT |
| LOW | lib/faker/internet.rb | 261 | COMMENT | |
| LOW | lib/faker/internet.rb | 281 | # @return [String] | COMMENT |
| LOW | lib/faker/internet.rb | 301 | ## | COMMENT |
| LOW | lib/faker/internet.rb | 341 | # | COMMENT |
| LOW | lib/faker/internet.rb | 381 | # Returns Ipv4 address with CIDR, range from 1 to 31 | COMMENT |
| LOW | lib/faker/internet.rb | 401 | end | COMMENT |
| LOW | lib/faker/internet.rb | 421 | # @param scheme [String] | COMMENT |
| LOW | lib/faker/internet.rb | 441 | # Faker::Internet.slug #=> "repudiandae-sed" | COMMENT |
| LOW | lib/faker/internet.rb | 461 | end | COMMENT |
| LOW | lib/faker/internet.rb | 481 | ## | COMMENT |
| LOW | lib/faker/internet.rb | 501 | # @return [String] | COMMENT |
| LOW | lib/faker/internet.rb | 541 | COMMENT | |
| LOW | lib/faker/music/rush.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/pearl_jam.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/pearl_jam.rb | 21 | # Produces the name of an album by Pearl Jam. | COMMENT |
| LOW | lib/faker/music/hiphop.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/hiphop.rb | 21 | # Produces the name of a Hip Hop Group | COMMENT |
| LOW | lib/faker/music/smashing_pumpkins.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/smashing_pumpkins.rb | 21 | # Produces the name of an album by the Smashing Pumpkins. | COMMENT |
| LOW | lib/faker/music/smashing_pumpkins.rb | 41 | # | COMMENT |
| LOW | lib/faker/music/prince.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/prince.rb | 21 | ## | COMMENT |
| LOW | lib/faker/music/prince.rb | 41 | # Faker::Music::Prince.album #=> "The Gold Experience" | COMMENT |
| LOW | lib/faker/music/grateful_dead.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/rock_band.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/phish.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/phish.rb | 21 | # Produces the name of a musician in Phish. | COMMENT |
| LOW | lib/faker/music/opera.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/music/opera.rb | 21 | ## | COMMENT |
| LOW | lib/faker/music/opera.rb | 41 | # | COMMENT |
| LOW | lib/faker/music/opera.rb | 61 | # Produces the title of an opera by Wolfgang Amadeus Mozart. | COMMENT |
| LOW | lib/faker/music/opera.rb | 81 | # | COMMENT |
| LOW | lib/faker/music/opera.rb | 101 | # Produces the title of an opera by Christoph Willibald Gluck. | COMMENT |
| LOW | lib/faker/music/opera.rb | 121 | # | COMMENT |
| LOW | lib/faker/music/opera.rb | 141 | # Produces the title of an opera by Ludwig van Beethoven. | COMMENT |
| LOW | lib/faker/music/opera.rb | 161 | # @faker.version next | COMMENT |
| LOW | lib/faker/music/opera.rb | 181 | # | COMMENT |
| LOW | lib/faker/music/opera.rb | 201 | def schumann | COMMENT |
| LOW | lib/faker/music/opera.rb | 221 | # @return [String] | COMMENT |
| LOW | lib/faker/music/opera.rb | 241 | fetch('opera.french.by_maurice_ravel') | COMMENT |
| LOW | lib/faker/music/opera.rb | 261 | # | COMMENT |
| LOW | lib/faker/music/bossa_nova.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/quotes/chiquito.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/quotes/chiquito.rb | 21 | # Produces a concept from Chiquito | COMMENT |
| LOW | lib/faker/quotes/chiquito.rb | 41 | # | COMMENT |
| LOW | lib/faker/quotes/shakespeare.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | lib/faker/quotes/shakespeare.rb | 21 | # Produces a Shakespeare quote from As You Like It. | COMMENT |
| 675 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/faker/default/test_faker_id_number.rb | 279 | def assert_valid_south_african_id_number(sample) | CODE |
| LOW | lib/faker/internet.rb | 564 | def sanitize_email_local_part(local_part) | CODE |
| LOW | lib/faker/default/id_number.rb | 296 | def croatian_id_checksum_digit(digits) | CODE |
| LOW | lib/faker/default/id_number.rb | 311 | def chilean_verification_code(digits) | CODE |
| LOW | lib/faker/default/id_number.rb | 331 | def south_african_id_checksum_digit(id_number) | CODE |
| LOW⚡ | lib/faker/default/id_number.rb | 349 | def brazilian_citizen_number_checksum_digit(digits) | CODE |
| LOW⚡ | lib/faker/default/id_number.rb | 354 | def brazilian_id_checksum_digit(digits) | CODE |
| LOW⚡ | lib/faker/default/id_number.rb | 359 | def brazilian_document_checksum(digits) | CODE |
| LOW | lib/faker/default/id_number.rb | 370 | def brazilian_citizen_number_digit(remainder) | CODE |
| LOW | lib/faker/default/barcode.rb | 30 | def ean_with_composite_symbology(length = 8) | CODE |
| LOW | lib/faker/default/measurement.rb | 141 | def define_measurement_locale(amount, locale) | CODE |
| LOW | lib/faker/default/code.rb | 283 | def generate_nric_check_alphabet(values, prefix) | CODE |
| LOW | lib/faker/default/company.rb | 178 | def spanish_organisation_number(organization_type: nil) | CODE |
| LOW | lib/faker/default/company.rb | 325 | def polish_register_of_national_economy(length: 9) | CODE |
| LOW | lib/faker/default/company.rb | 639 | def spanish_cif_control_digit(organization_type, code) | CODE |
| LOW | lib/faker/travel/train_station.rb | 29 | def fill_missing_inputs_with_samples(region, type) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CHANGELOG.md | 699 | * Add exclude_words keyword to Lorem Ipsum to prevent words from being produced by @philipfong in #2665 | COMMENT |
| LOW | doc/default/markdown.md | 5 | Generates markdown formatting with Lorem Ipsum text | CODE |
| LOW | doc/default/omniauth.md | 13 | :name => "John Doe", | CODE |
| LOW | doc/default/omniauth.md | 30 | :name => "John Doe", | CODE |
| LOW | doc/default/omniauth.md | 164 | "name"=>"John Doe", | CODE |
| LOW | doc/default/omniauth.md | 166 | "nickname"=>"John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/faker/default/test_array_sample_method_compat.rb | 8 | # Under Ruby 1.9, they simply use the built-in Array#sample method | COMMENT |
| MEDIUM | lib/faker/default/company.rb | 79 | # Faker::Company.bs #=> "empower customized functionalities" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/faker/default/company.rb | 480 | # Check if state code is valid | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/locales/en/heroes_of_the_storm.yml | 116 | - Don't forget to check the pocket! | CODE |