Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Ruby files appear to be excluded from LOC totals (e.g., Homebrew/brew shows 176 LOC) #41

Description

@oasaleh

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:

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?
Image Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions