# LibreOffice/core SLOC report

> As of 2026-10-08 (commit 29baf2f2a596), LibreOffice/core contains 8,768,969 total lines: 6,342,780 code, 1,369,713 comments, 1,056,476 blank, across 78,624 files in 53 languages (top: C++ 68.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

LibreOffice/core has 6,342,780 source lines of code out of 8,768,969 total lines across 78,624 files, counted from the master ref at commit 29baf2f2a596 by the OctoCounts tokei engine on 2026-10-08. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving LibreOffice/core to commit 29baf2f2a596, 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 very large codebase by counted code lines. Code represents 72.3% of all lines, comments represent 15.6%, and the repository averages 81 code lines per file. C++ accounts for 68.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 10,642 | 5,574,540 | 4,328,315 | 527,863 | 718,362 |
| C++ Header | 10,070 | 1,258,731 | 703,439 | 349,250 | 206,042 |
| XML | 5,404 | 556,485 | 535,535 | 17,310 | 3,640 |
| Java | 1,183 | 252,430 | 165,511 | 53,831 | 33,088 |
| Makefile | 2,932 | 170,868 | 111,239 | 34,856 | 24,773 |
| Python | 1,017 | 130,820 | 90,646 | 19,552 | 20,622 |
| SVG | 45,006 | 78,541 | 74,003 | 219 | 4,319 |
| Module-Definition | 24 | 71,159 | 71,121 | 4 | 34 |
| XSL | 81 | 77,363 | 69,924 | 5,658 | 1,781 |
| C Header | 622 | 88,756 | 47,849 | 31,141 | 9,766 |
| Perl | 118 | 44,938 | 29,730 | 6,938 | 8,270 |
| JavaScript | 14 | 23,590 | 17,228 | 3,318 | 3,044 |

Top language (C++ 68.2%). Generated at 2026-10-08T23:55:38.183391384+00:00. Canonical report: https://octocounts.com/github/LibreOffice/core

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/LibreOffice/core/commit/29baf2f2a596670cd30238ec1041dcc53d28b56f?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does LibreOffice/core have?

LibreOffice/core has 8,768,969 total lines, including 6,342,780 code lines, 1,369,713 comment lines, and 1,056,476 blank lines.

### How was the LibreOffice/core line count measured?

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

### What commit was counted for LibreOffice/core?

This OctoCounts report was generated from master at commit 29baf2f2a596 on 2026-10-08T23:55:38.183391384+00:00.

## Similar repository reports

- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 6,386,188 code lines
- [GaijinEntertainment/DagorEngine](https://octocounts.com/github/GaijinEntertainment/DagorEngine) — C++, 6,607,211 code lines
- [mongodb/mongo](https://octocounts.com/github/mongodb/mongo) — C++, 7,559,503 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,120,899 code lines
- [llvm/llvm-project](https://octocounts.com/github/llvm/llvm-project) — C++, 8,291,683 code lines
- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,119,028 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
