-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi! I'm seeing what looks like a language-detection / inclusion bug: Codetabs appears not to count Ruby files in the LOC totals.
Example
- Repo: Homebrew/brew (branch: main)
- Codetabs reports: 176 LOC (screenshot attached)
However, other LOC tooling reports a much larger codebase:
- ghloc reports roughly ~320 KLOC for the same repo/branch (screenshot attached):
https://ghloc.vercel.app/Homebrew/brew?branch=main
Why this seems wrong
A single Ruby file in the Homebrew/brew repo is 349 LOC, which is already higher than Codetabs' entire reported total (176 LOC):
Expected behavior
Codetabs' LOC totals should include Ruby sources (and/or clearly indicate if certain languages/paths are intentionally excluded).
Actual behavior
Ruby-heavy repos (like Homebrew/brew) report extremely low totals, suggesting Ruby files are not being counted.
Questions
- Is Ruby intentionally excluded from LOC calculations?
- If not, is there a known issue with .rb detection or language configuration?

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels