mozilla/pdf.js

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.

As of 2026-10-20 (commit 33734f1fdf1b), mozilla/pdf.js contains 276,637 total lines: 226,221 code, 23,966 comments, 26,450 blank, across 641 files in 8 languages (top: JavaScript 65.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-20 (commit 33734f1fdf1b), mozilla/pdf.js contains 276,637 total lines: 226,221 code, 23,966 comments, 26,450 blank, across 641 files in 8 languages (top: JavaScript 65.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JavaScript3731884201483752222217823
FreeMarker113589685219006778
JSON8143331433300
CSS311174192909611490
HTML1819161562248106
SVG82483468132
YAML13300
Markdown157730522251

Top language (JavaScript 65.6%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does mozilla/pdf.js have?

mozilla/pdf.js has 276,637 total lines, including 226,221 code lines, 23,966 comment lines, and 26,450 blank lines.

How was the mozilla/pdf.js line count measured?

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.

What commit was counted for mozilla/pdf.js?

This OctoCounts report was generated from master at commit 33734f1fdf1b on 2026-10-20T10:03:56.732474984+00:00.

Similar repository reports

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.