# LibreOffice/core SLOC report

> As of 2026-09-17 (commit 2859ce7e5bd2), LibreOffice/core contains 8,757,735 total lines: 6,334,759 code, 1,367,923 comments, 1,055,053 blank, across 78,594 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,334,759 source lines of code out of 8,757,735 total lines across 78,594 files, counted from the 2859ce7e5bd280c87ea78447fff431df15510628 ref at commit 2859ce7e5bd2 by the OctoCounts tokei engine on 2026-09-17. 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 2859ce7e5bd2, 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,635 | 5,564,631 | 4,321,156 | 526,371 | 717,104 |
| C++ Header | 10,069 | 1,258,260 | 703,205 | 349,077 | 205,978 |
| XML | 5,399 | 556,308 | 535,358 | 17,310 | 3,640 |
| Java | 1,183 | 252,547 | 165,592 | 53,841 | 33,114 |
| Makefile | 2,929 | 170,656 | 111,089 | 34,830 | 24,737 |
| Python | 1,011 | 130,313 | 90,310 | 19,462 | 20,541 |
| SVG | 45,000 | 78,535 | 73,997 | 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,750 | 47,843 | 31,141 | 9,766 |
| Perl | 118 | 44,938 | 29,730 | 6,938 | 8,270 |
| JavaScript | 14 | 23,580 | 17,218 | 3,318 | 3,044 |

Top language (C++ 68.2%). Generated at 2026-09-17T08:33:16.094558296+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/2859ce7e5bd280c87ea78447fff431df15510628?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,757,735 total lines, including 6,334,759 code lines, 1,367,923 comment lines, and 1,055,053 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 2859ce7e5bd2, 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 2859ce7e5bd280c87ea78447fff431df15510628 at commit 2859ce7e5bd2 on 2026-09-17T08:33:16.094558296+00:00.

## Similar repository reports

- [mongodb/mongo](https://octocounts.com/github/mongodb/mongo) — C++, 5,888,453 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,095,080 code lines
- [facebook/hhvm](https://octocounts.com/github/facebook/hhvm) — C++, 4,641,684 code lines
- [llvm/llvm-project](https://octocounts.com/github/llvm/llvm-project) — C++, 8,218,225 code lines
- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 8,265,001 code lines
- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,110,443 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)
