# Perl/perl5 SLOC report

> As of 2026-09-16 (commit 02c58b77b46d), Perl/perl5 contains 1,799,061 total lines: 1,178,296 code, 494,867 comments, 125,898 blank, across 2,014 files in 18 languages (top: Bitbake 42.3%). Default configuration. Counted with tokei via OctoCounts.

Perl/perl5 has 1,178,296 source lines of code out of 1,799,061 total lines across 2,014 files, counted from the blead ref at commit 02c58b77b46d by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving Perl/perl5 to commit 02c58b77b46d, 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 585 code lines per file. Bitbake accounts for 42.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Bitbake | 19 | 505,855 | 498,391 | 2,655 | 4,809 |
| Perl | 1,307 | 538,025 | 380,226 | 83,537 | 74,262 |
| C | 113 | 260,486 | 181,876 | 50,881 | 27,729 |
| C Header | 134 | 126,607 | 90,625 | 25,006 | 10,976 |
| Shell | 108 | 22,373 | 15,560 | 4,687 | 2,126 |
| Makefile | 5 | 4,231 | 3,070 | 679 | 482 |
| XML | 34 | 2,573 | 2,429 | 0 | 144 |
| YAML | 52 | 2,374 | 2,312 | 29 | 33 |
| Happy | 1 | 1,926 | 1,772 | 0 | 154 |
| 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.3%). Generated at 2026-09-16T20:01:30.637516094+00:00. Canonical report: https://octocounts.com/github/Perl/perl5

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Perl/perl5/commit/02c58b77b46d18e37fcdb8b57a26ca46b367ffb5?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

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

Perl/perl5 has 1,799,061 total lines, including 1,178,296 code lines, 494,867 comment lines, and 125,898 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 02c58b77b46d, 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 02c58b77b46d on 2026-09-16T20:01:30.637516094+00:00.

## Similar repository reports

- [LaineAnnaMaria/CG_sem4](https://octocounts.com/github/LaineAnnaMaria/CG_sem4) — Bitbake, 148,951 code lines
- [zyantific/zydis](https://octocounts.com/github/zyantific/zydis) — Bitbake, 142,237 code lines
- [unclebob/swarm-forge](https://octocounts.com/github/unclebob/swarm-forge) — Bitbake, 6,957 code lines
- [get-bb/bb](https://octocounts.com/github/get-bb/bb) — TypeScript, 1,178,911 code lines
- [block/buzz](https://octocounts.com/github/block/buzz) — Rust, 1,180,033 code lines
- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,187,173 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)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
