mozilla/pdf.js has 226,221 source lines of code out of 276,637 total lines across 641 files, counted from the master ref at commit 33734f1fdf1b by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
mozilla/pdf.js: 226,221 code lines at commit 33734f1fdf1b, counted with tokei-14.0.0 on 2026-10-20. Saved result 327b5420a34607bfe5c18008f3d47641fa5a4e96b004bcf80a4a12ebc6ec6d45.
OctoCounts produced this report by resolving mozilla/pdf.js to commit 33734f1fdf1b, 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.
This is a large codebase by counted code lines. Code represents 81.8% of all lines, comments represent 8.7%, and the repository averages 353 code lines per file. JavaScript accounts for 65.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 373 | 188420 | 148375 | 22222 | 17823 |
| FreeMarker | 113 | 58968 | 52190 | 0 | 6778 |
| JSON | 8 | 14333 | 14333 | 0 | 0 |
| CSS | 31 | 11741 | 9290 | 961 | 1490 |
| HTML | 18 | 1916 | 1562 | 248 | 106 |
| SVG | 82 | 483 | 468 | 13 | 2 |
| YAML | 1 | 3 | 3 | 0 | 0 |
| Markdown | 15 | 773 | 0 | 522 | 251 |
Top language (JavaScript 65.6%). Generated at .
mozilla/pdf.js has 276,637 total lines, including 226,221 code lines, 23,966 comment lines, and 26,450 blank lines.
OctoCounts resolved the public GitHub repository to commit 33734f1fdf1b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 33734f1fdf1b on 2026-10-20T10:03:56.732474984Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for mozilla/pdf.js on this page — 226,221 code lines across 8 languages, counted by tokei.