Repository Analysis

crystal-lang/crystal

The Crystal Programming Language

3.6 Likely human-written View on GitHub
3.6
Adjusted Score
3.6
Raw Score
100%
Time Factor
2026-05-29
Last Push
20,266
Stars
Crystal
Language
21,786
Lines of Code
151
Files
53
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 17LOW 36

Pattern Findings

53 matches across 6 categories. Click a row to expand file-level details.

Excessive Try-Catch Wrapping25 hits · 32 pts
SeverityFileLineSnippet
MEDIUMetc/lldb/crystal_formatters.py14def _env_int(name, default):
MEDIUMetc/lldb/crystal_formatters.py61def _valid_child(value, index):
MEDIUMetc/lldb/crystal_formatters.py74def _child_by_name(value, name):
MEDIUMetc/lldb/crystal_formatters.py272def get_child_index(self, name):
MEDIUMetc/lldb/crystal_formatters.py295def CrystalArray_SummaryProvider(value, dict):
MEDIUMetc/lldb/crystal_formatters.py338def CrystalString_SummaryProvider(value, dict):
MEDIUMetc/lldb/crystal_formatters.py431def CrystalHash_SummaryProvider(value, dict):
MEDIUMetc/lldb/crystal_formatters.py455def CrystalSet_SummaryProvider(value, dict):
MEDIUMetc/lldb/crystal_formatters.py581def CrystalUnion_SummaryProvider(value, dict):
MEDIUMetc/lldb/crystal_formatters.py595def CrystalRange_SummaryProvider(value, dict):
LOWetc/lldb/crystal_formatters.py19 except Exception:
LOWetc/lldb/crystal_formatters.py42 except Exception:
LOWetc/lldb/crystal_formatters.py51 except Exception:
LOWetc/lldb/crystal_formatters.py64 except Exception:
LOWetc/lldb/crystal_formatters.py79 except Exception:
LOWetc/lldb/crystal_formatters.py90 except Exception:
LOWetc/lldb/crystal_formatters.py133 except Exception:
LOWetc/lldb/crystal_formatters.py290 except Exception as e:
LOWetc/lldb/crystal_formatters.py326 except Exception as e:
LOWetc/lldb/crystal_formatters.py366 except Exception:
LOWetc/lldb/crystal_formatters.py426 except Exception as e:
LOWetc/lldb/crystal_formatters.py451 except Exception as e:
LOWetc/lldb/crystal_formatters.py479 except Exception as e:
LOWetc/lldb/crystal_formatters.py591 except Exception:
LOWetc/lldb/crystal_formatters.py608 except Exception as e:
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippet
MEDIUM.ameba.yml18# =========================
MEDIUM.ameba.yml25# =========================
MEDIUM.ameba.yml120# =========================
MEDIUM.ameba.yml127# =========================
MEDIUM.ameba.yml164# =========================
MEDIUM.ameba.yml174# =========================
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippet
LOW.ameba.yml1# This configuration file was generated by `ameba --gen-config`
LOWspec/generate_wasm32_spec.sh1#! /usr/bin/env bash
LOWspec/compiler/data/visibility.h1#ifdef _WIN32
LOWspec/debug/test.sh1#!/bin/bash
LOWscripts/update-distribution-scripts.sh1#!/usr/bin/env sh
LOWscripts/update-shards.sh1#!/usr/bin/env sh
LOWscripts/update-changelog.sh1#! /bin/sh
LOWscripts/release-update.sh1#!/usr/bin/env sh
LOW.github/actionlint.yaml21# are ignored. This is similar to the "-ignore" command line option.
LOW.github/workflows/smoke.yml1# These jobs are smoke tests for platforms where we don't run full tests.
Fake / Example Data7 hits · 10 pts
SeverityFileLineSnippet
LOWspec/std/data/argf_test_file_3.xml4 <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib
LOWspec/std/data/argf_test_file_3.xml4 <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib
LOWspec/std/data/argf_test_file_3.xml11 <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib
LOWspec/std/data/argf_test_file_3.xml11 <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib
LOWspec/std/data/argf_test_file_3.xml18 <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib
LOWspec/std/data/argf_test_file_3.xml18 <content>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus facilisis leo nunc, consectetur dictum lib
LOWsrc/compiler/crystal/tools/playground/views/_about.html34s = "Lorem ipsum"
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippet
LOWscripts/update-distribution-scripts.sh6# Usage:
LOWscripts/update-shards.sh5# Usage:
LOWscripts/update-changelog.sh15# Usage:
LOWscripts/release-update.sh5# Usage:
Self-Referential Comments1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMspec/generate_wasm32_spec.sh36echo "# This file is autogenerated by \`${command% }\`"