Repository Analysis

tldr-pages/tldr

Collaborative cheatsheets for console commands 📚.

0.1 Likely human-written View on GitHub
0.1
Adjusted Score
0.1
Raw Score
100%
Time Factor
2026-05-30
Last Push
62,714
Stars
Markdown
Language
652,143
Lines of Code
36275
Files
28
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 6LOW 21

Pattern Findings

28 matches across 9 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippet
LOWscripts/update-command.py76def take_cmd_example_with_common_part(cmd_examples: list[str], common_part: str) -> str:
LOWscripts/update-command.py92def find_cmd_example_with_common_part(common_part: str, page_text: str) -> list[str]:
LOWscripts/set-alias-page.py120def generate_alias_page_content(
LOWscripts/set-alias-page.py221def get_alias_command_in_page(path: Path, alias_pattern: str) -> AliasPageContent:
LOWscripts/set-alias-page.py285def sync_alias_page_to_locale(pages_dir: Path, alias_page: AliasPage) -> list[Path]:
LOWscripts/_common.py400def test_create_argument_parser():
Dead Code3 hits · 6 pts
SeverityFileLineSnippet
MEDIUMscripts/update-command.py232
MEDIUMscripts/update-command.py234
MEDIUMscripts/update-command.py237
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippet
LOWscripts/set-alias-page.py442
LOWscripts/set-see-also.py221
LOWscripts/set-page-title.py166
LOWscripts/_common.py95
LOWscripts/set-more-info-link.py213
LOWscripts/pdf/render.py20
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippet
HIGHpages/common/aider.md8`aider --model {{model_name}} --api-key {{your_api_key}}`
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippet
LOWpages.ko/common/sd.md8`{{echo 'lorem ipsum 23 '}} | sd '\s+$' ''`
LOWpages.ko/common/csvgrep.md14- "이름" 열에서 "John Doe"가 포함되지 않는 행 찾기:
LOWpages/common/sd.md8`{{echo 'lorem ipsum 23 '}} | sd '\s+$' ''`
LOWpages/common/csvgrep.md15- Find rows in which the "name" column does NOT include the string "John Doe":
Excessive Try-Catch Wrapping3 hits · 3 pts
SeverityFileLineSnippet
MEDIUMscripts/send-to-bot.py51 print("Error sending data to tldr-bot:", str(e), file=sys.stderr)
MEDIUMscripts/send-to-bot.py81 print("Error sending data to tldr-bot!", file=sys.stderr)
LOWscripts/wrong-filename.py66 except Exception as exc:
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippet
LOWscripts/_common.py82 # Check if SystemExit is raised
LOWscripts/_common.py407 # Check if each expected argument is added with the correct configurations
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMscripts/build.sh57 # Create the zip archive
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOWscripts/check-pr.sh1#!/usr/bin/env bash
LOWscripts/test.sh1#!/usr/bin/env bash