The Crystal Programming Language
This report summarizes scanner evidence for crystal-lang/crystal, a Crystal project with 20,446 GitHub stars. SynthScan examined 23,069 lines of code across 159 source files, recording 56 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 4.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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 14 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 35 finding(s).
Which changes need focused human review? 56 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 56 distinct pattern matches across 7 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 |
|---|---|---|---|---|
| MEDIUM | etc/lldb/crystal_formatters.py | 14 | def _env_int(name, default): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 61 | def _valid_child(value, index): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 74 | def _child_by_name(value, name): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 272 | def get_child_index(self, name): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 295 | def CrystalArray_SummaryProvider(value, dict): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 338 | def CrystalString_SummaryProvider(value, dict): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 431 | def CrystalHash_SummaryProvider(value, dict): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 455 | def CrystalSet_SummaryProvider(value, dict): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 581 | def CrystalUnion_SummaryProvider(value, dict): | CODE |
| MEDIUM | etc/lldb/crystal_formatters.py | 595 | def CrystalRange_SummaryProvider(value, dict): | CODE |
| LOW | etc/lldb/crystal_formatters.py | 19 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 42 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 51 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 64 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 79 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 90 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 133 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 290 | except Exception as e: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 326 | except Exception as e: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 366 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 426 | except Exception as e: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 451 | except Exception as e: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 479 | except Exception as e: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 591 | except Exception: | CODE |
| LOW | etc/lldb/crystal_formatters.py | 608 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | etc/lldb/crystal_formatters.py | 19 | except Exception: | CODE |
| HIGH | etc/lldb/crystal_formatters.py | 42 | except Exception: | CODE |
| HIGH | etc/lldb/crystal_formatters.py | 51 | except Exception: | CODE |
| HIGH | etc/lldb/crystal_formatters.py | 79 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .ameba.yml | 18 | # ========================= | COMMENT |
| MEDIUM | .ameba.yml | 25 | # ========================= | COMMENT |
| MEDIUM | .ameba.yml | 122 | # ========================= | COMMENT |
| MEDIUM | .ameba.yml | 129 | # ========================= | COMMENT |
| MEDIUM | .ameba.yml | 166 | # ========================= | COMMENT |
| MEDIUM | .ameba.yml | 176 | # ========================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ameba.yml | 1 | # This configuration file was generated by `ameba --gen-config` | COMMENT |
| LOW | etc/win-ci/windres-rc.sh | 1 | #! /bin/sh | COMMENT |
| LOW | spec/generate_wasm32_spec.sh | 1 | #! /usr/bin/env bash | COMMENT |
| LOW | spec/compiler/data/visibility.h | 1 | #ifdef _WIN32 | COMMENT |
| LOW | spec/debug/test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/update-distribution-scripts.sh | 1 | #!/usr/bin/env sh | COMMENT |
| LOW | scripts/update-changelog.sh | 1 | #! /bin/sh | COMMENT |
| LOW | scripts/release-update.sh | 1 | #!/usr/bin/env sh | COMMENT |
| LOW | .github/actionlint.yaml | 21 | # are ignored. This is similar to the "-ignore" command line option. | COMMENT |
| LOW | .github/workflows/smoke.yml | 1 | # These jobs are smoke tests for platforms where we don't run full tests. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/std/data/argf_test_file_3.xml | 4 | <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib | CODE |
| LOW⚡ | spec/std/data/argf_test_file_3.xml | 4 | <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib | CODE |
| LOW⚡ | spec/std/data/argf_test_file_3.xml | 11 | <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib | CODE |
| LOW⚡ | spec/std/data/argf_test_file_3.xml | 11 | <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib | CODE |
| LOW⚡ | spec/std/data/argf_test_file_3.xml | 18 | <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib | CODE |
| LOW⚡ | spec/std/data/argf_test_file_3.xml | 18 | <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib | CODE |
| LOW | src/compiler/crystal/tools/playground/views/_about.html | 34 | s = "Lorem ipsum" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/update-distribution-scripts.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/update-changelog.sh | 15 | # Usage: | COMMENT |
| LOW | scripts/release-update.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | spec/generate_wasm32_spec.sh | 36 | echo "# This file is autogenerated by \`${command% }\`" | CODE |