# Perl/perl5 SLOC report

> As of 2026-08-02 (commit 12557e8086ce), Perl/perl5 contains 1,791,922 total lines: 1,173,749 code, 492,716 comments, 125,457 blank, across 2,012 files in 18 languages (top: Bitbake 42.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving Perl/perl5 to commit 12557e8086ce, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 65.5% of all lines, comments represent 27.5%, and the repository averages 583 code lines per file. Bitbake accounts for 42.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Bitbake | 19 | 505,825 | 498,365 | 2,655 | 4,805 |
| Perl | 1,306 | 537,144 | 380,311 | 82,589 | 74,244 |
| C | 113 | 258,895 | 180,768 | 50,610 | 27,517 |
| C Header | 134 | 122,534 | 87,214 | 24,408 | 10,912 |
| Shell | 108 | 22,322 | 15,512 | 4,687 | 2,123 |
| Makefile | 5 | 4,219 | 3,058 | 679 | 482 |
| XML | 34 | 2,573 | 2,429 | 0 | 144 |
| YAML | 52 | 2,374 | 2,312 | 29 | 33 |
| Happy | 1 | 1,897 | 1,745 | 0 | 152 |
| JSON | 20 | 1,309 | 1,308 | 0 | 1 |
| Monkey C | 1 | 602 | 500 | 0 | 102 |
| Batch | 4 | 127 | 113 | 1 | 13 |

Top language (Bitbake 42.5%). Generated at 2026-08-02T06:13:42.804649052+00:00. Canonical report: https://octocounts.com/github/Perl/perl5

## Report FAQ

### How many lines of code does Perl/perl5 have?

Perl/perl5 has 1,791,922 total lines, including 1,173,749 code lines, 492,716 comment lines, and 125,457 blank lines.

### How was the Perl/perl5 line count measured?

OctoCounts resolved the public GitHub repository to commit 12557e8086ce, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for Perl/perl5?

This OctoCounts report was generated from blead at commit 12557e8086ce on 2026-08-02T06:13:42.804649052+00:00.

## Similar repository reports

- [zyantific/zydis](https://octocounts.com/github/zyantific/zydis) — Bitbake, 157,357 code lines
- [unclebob/swarm-forge](https://octocounts.com/github/unclebob/swarm-forge) — Bitbake, 6,831 code lines
- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 1,170,843 code lines
- [get-bb/bb](https://octocounts.com/github/get-bb/bb) — TypeScript, 1,178,911 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,179,852 code lines
- [infiniflow/ragflow](https://octocounts.com/github/infiniflow/ragflow) — Go, 1,167,592 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
