apache/pig has 161,211 source lines of code out of 260,737 total lines across 1,315 files, counted with tokei from the 09588bb38843de4f4673980e969f51406ec9ceb0 ref at commit 09588bb38843 on October 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-10-24 (commit 09588bb38843), apache/pig contains 260,737 total lines: 161,211 code, 65,976 comments, 33,550 blank, across 1,315 files in 11 languages (top language: Java 97.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/pig to commit 09588bb38843, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 61.8% of all lines, comments represent 25.3%, and the repository averages 123 code lines per file. Java accounts for 97.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 1272 | 247242 | 156357 | 61123 | 29762 |
| XML | 12 | 3482 | 2816 | 380 | 286 |
| Python | 3 | 928 | 680 | 91 | 157 |
| Shell | 6 | 576 | 392 | 122 | 62 |
| BASH | 1 | 506 | 327 | 116 | 63 |
| HTML | 6 | 286 | 272 | 0 | 14 |
| Ruby | 1 | 437 | 187 | 189 | 61 |
| Batch | 1 | 205 | 133 | 45 | 27 |
| Dockerfile | 1 | 88 | 47 | 28 | 13 |
| Markdown | 1 | 71 | 0 | 49 | 22 |
| Plain Text | 11 | 6916 | 0 | 3833 | 3083 |
Top language: Java 97.0%. Generated on .
apache/pig: tokei-14.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
apache/pig has 161,211 lines of code, plus 65,976 comment lines and 33,550 blank lines, for 260,737 total lines at commit 09588bb38843 on October 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 09588bb38843, 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 09588bb38843de4f4673980e969f51406ec9ceb0 at commit 09588bb38843 on October 24, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/pig on this page — 161,211 code lines across 11 languages, counted by tokei.