# ballerina-nutcracker/ballerina SLOC report

> ballerina-nutcracker/ballerina: 3,904,075 code lines at commit 7844a7b154e2, counted with tokei-15.0.0 on 2026-11-14. Saved result ae8c9090199b42ca39e3daa073e35ee4f2b897c6f6a62487fb0ff474ddcb96b8.

ballerina-nutcracker/ballerina has 3,904,075 source lines of code out of 4,928,872 total lines across 16,428 files, counted with tokei from the main ref at commit 7844a7b154e2 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving ballerina-nutcracker/ballerina to commit 7844a7b154e2, 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.

## Counting rules and retention

ballerina-nutcracker/ballerina: tokei-15.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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 79.2% of all lines, comments represent 15.4%, and the repository averages 238 code lines per file. Ballerina accounts for 94.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Ballerina | 7,044 | 4,022,489 | 3,672,894 | 116,716 | 232,879 |
| Go | 804 | 272,869 | 213,802 | 28,966 | 30,101 |
| JSON | 99 | 14,270 | 14,270 | 0 | 0 |
| TOML | 420 | 3,689 | 2,431 | 929 | 329 |
| Python | 1 | 279 | 208 | 19 | 52 |
| Lua | 1 | 194 | 143 | 30 | 21 |
| Templ | 4 | 207 | 122 | 67 | 18 |
| Shell | 2 | 151 | 108 | 27 | 16 |
| Makefile | 1 | 119 | 83 | 15 | 21 |
| YAML | 1 | 17 | 14 | 1 | 2 |
| Markdown | 57 | 2,618 | 0 | 1,998 | 620 |
| Plain Text | 7,994 | 611,970 | 0 | 611,125 | 845 |

Top language: Ballerina 94.1%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/ballerina-nutcracker/ballerina/commit/7844a7b154e23f91abd00c93e048555bbb16315c?reportId=ae8c9090199b42ca39e3daa073e35ee4f2b897c6f6a62487fb0ff474ddcb96b8&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ballerina-nutcracker/ballerina/commit/7844a7b154e23f91abd00c93e048555bbb16315c?reportId=ae8c9090199b42ca39e3daa073e35ee4f2b897c6f6a62487fb0ff474ddcb96b8&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does ballerina-nutcracker/ballerina have?

ballerina-nutcracker/ballerina has 3,904,075 lines of code, plus 759,893 comment lines and 264,904 blank lines, for 4,928,872 total lines at commit 7844a7b154e2 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the ballerina-nutcracker/ballerina line count measured?

OctoCounts resolved the public GitHub repository to commit 7844a7b154e2, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for ballerina-nutcracker/ballerina?

This OctoCounts report was generated from main at commit 7844a7b154e2 on November 14, 2026.

## Similar repository reports

- [ziglang/zig](https://octocounts.com/github/ziglang/zig) — C Header, 3,895,862 code lines
- [semgrep/semgrep](https://octocounts.com/github/semgrep/semgrep) — C, 3,871,891 code lines
- [PerryTS/perry](https://octocounts.com/github/PerryTS/perry) — Rust, 3,945,138 code lines
- [exteraless/exteraless](https://octocounts.com/github/exteraless/exteraless) — Java, 3,951,205 code lines
- [aws/aws-emulator](https://octocounts.com/github/aws/aws-emulator) — Rust, 3,957,641 code lines
- [spalladino/pcp](https://octocounts.com/github/spalladino/pcp) — Autoconf, 3,843,065 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
