sharkdp/bat has 11,603 source lines of code out of 16,265 total lines across 110 files, counted from the master ref at commit a9aa73d21545 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
sharkdp/bat: 11,603 code lines at commit a9aa73d21545, counted with tokei-14.0.0 on 2026-10-21. Saved result bfd782ffe0a6330ec422578dc7b30ef747403ed06a8cfb39cb496aba1cee3d9b.
OctoCounts produced this report by resolving sharkdp/bat to commit a9aa73d21545, 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 medium-sized codebase by counted code lines. Code represents 71.3% of all lines, comments represent 14.0%, and the repository averages 105 code lines per file. Rust accounts for 85.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 48 | 11869 | 9972 | 480 | 1417 |
| Autoconf | 5 | 1271 | 1053 | 76 | 142 |
| TOML | 49 | 332 | 288 | 29 | 15 |
| Shell | 2 | 330 | 253 | 25 | 52 |
| Nix | 1 | 40 | 37 | 0 | 3 |
| Markdown | 5 | 2423 | 0 | 1661 | 762 |
Top language (Rust 85.9%). Generated at .
sharkdp/bat has 16,265 total lines, including 11,603 code lines, 2,271 comment lines, and 2,391 blank lines.
OctoCounts resolved the public GitHub repository to commit a9aa73d21545, 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 a9aa73d21545 on 2026-10-21T03:19:15.523289830Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for sharkdp/bat on this page — 11,603 code lines across 6 languages, counted by tokei.