# elastic/kibana SLOC report

> elastic/kibana: 13,546,903 code lines at commit e4487edb5157, counted with tokei-15.0.0 on 2026-11-16. Saved result bf2ad147ae568b20a0e9540eebdb20c081273d19986d3ee94c86add47904fac6.

elastic/kibana has 13,546,903 source lines of code out of 16,408,746 total lines across 113,948 files, counted with tokei from the main ref at commit e4487edb5157 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving elastic/kibana to commit e4487edb5157, 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

elastic/kibana: 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 82.6% of all lines, comments represent 8.5%, and the repository averages 119 code lines per file. TypeScript accounts for 54.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 72,271 | 9,194,149 | 7,316,707 | 937,937 | 939,505 |
| TSX | 27,189 | 4,070,885 | 3,389,849 | 262,819 | 418,217 |
| JSON | 4,372 | 1,418,213 | 1,417,753 | 0 | 460 |
| YAML | 2,678 | 1,249,830 | 1,219,052 | 11,035 | 19,743 |
| JavaScript | 3,698 | 239,752 | 177,179 | 38,369 | 24,204 |
| CSS | 9 | 9,134 | 8,977 | 132 | 25 |
| Shell | 213 | 12,315 | 8,377 | 2,318 | 1,620 |
| SVG | 620 | 4,125 | 4,115 | 3 | 7 |
| Sass | 100 | 2,557 | 2,049 | 142 | 366 |
| Handlebars | 9 | 712 | 633 | 2 | 77 |
| XML | 13 | 558 | 547 | 6 | 5 |
| C | 1 | 514 | 482 | 21 | 11 |
| HTML | 9 | 349 | 335 | 1 | 13 |
| Perl | 2 | 432 | 323 | 43 | 66 |
| AsciiDoc | 18 | 276 | 216 | 40 | 20 |
| Python | 3 | 194 | 133 | 26 | 35 |
| Makefile | 2 | 170 | 107 | 42 | 21 |
| Dockerfile | 2 | 87 | 60 | 3 | 24 |
| C Header | 1 | 31 | 9 | 17 | 5 |
| MDX | 227 | 9,016 | 0 | 6,830 | 2,186 |
| Markdown | 2,052 | 166,263 | 0 | 116,176 | 50,087 |
| Plain Text | 459 | 29,184 | 0 | 22,684 | 6,500 |

Top language: TypeScript 54.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/elastic/kibana/commit/e4487edb51573ec9db5dbb848e2e86b724ecf6b7?reportId=bf2ad147ae568b20a0e9540eebdb20c081273d19986d3ee94c86add47904fac6&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/elastic/kibana/commit/e4487edb51573ec9db5dbb848e2e86b724ecf6b7?reportId=bf2ad147ae568b20a0e9540eebdb20c081273d19986d3ee94c86add47904fac6&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 elastic/kibana have?

elastic/kibana has 13,546,903 lines of code, plus 1,398,646 comment lines and 1,463,197 blank lines, for 16,408,746 total lines at commit e4487edb5157 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the elastic/kibana line count measured?

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

### What commit was counted for elastic/kibana?

This OctoCounts report was generated from main at commit e4487edb5157 on November 16, 2026.

## Similar repository reports

- [openclaw/openclaw](https://octocounts.com/github/openclaw/openclaw) — TypeScript, 12,082,994 code lines
- [qgis/QGIS](https://octocounts.com/github/qgis/QGIS) — TypeScript, 9,411,073 code lines
- [FreeCAD/FreeCAD](https://octocounts.com/github/FreeCAD/FreeCAD) — TypeScript, 7,134,016 code lines
- [BuilderIO/agent-native](https://octocounts.com/github/BuilderIO/agent-native) — TypeScript, 6,625,384 code lines
- [elizaOS/eliza](https://octocounts.com/github/elizaOS/eliza) — TypeScript, 6,153,061 code lines
- [QwenLM/qwen-code](https://octocounts.com/github/QwenLM/qwen-code) — TypeScript, 4,909,536 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)
- [Grafana vs Kibana](https://octocounts.com/compare/grafana-vs-kibana)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
