# gnu-octave/octave SLOC report

> gnu-octave/octave: 765,656 code lines at commit 95a42464acfa, counted with tokei-15.0.0 on 2026-11-16. Saved result ce219ec6f19cc44467430fc7345cb76a3373e22afbbd76d6709a33326908355d.

gnu-octave/octave has 765,656 source lines of code out of 1,031,573 total lines across 3,076 files, counted with tokei from the default ref at commit 95a42464acfa on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gnu-octave/octave to commit 95a42464acfa, 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

gnu-octave/octave: 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 large codebase by counted code lines. Code represents 74.2% of all lines, comments represent 13.4%, and the repository averages 249 code lines per file. C++ accounts for 40.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 750 | 459,799 | 312,402 | 76,068 | 71,329 |
| Objective-C | 1,065 | 207,665 | 187,141 | 77 | 20,447 |
| TypeScript | 20 | 114,779 | 114,428 | 0 | 351 |
| C Header | 638 | 132,222 | 72,817 | 29,129 | 30,276 |
| SVG | 122 | 31,842 | 31,769 | 61 | 12 |
| FORTRAN Legacy | 256 | 44,846 | 21,101 | 23,478 | 267 |
| Makefile | 86 | 6,183 | 5,128 | 186 | 869 |
| M4 | 8 | 6,653 | 4,871 | 1,286 | 496 |
| C | 62 | 6,821 | 4,168 | 1,613 | 1,040 |
| LLVM | 2 | 4,505 | 3,965 | 0 | 540 |
| Shell | 19 | 3,503 | 2,389 | 794 | 320 |
| Java | 6 | 1,794 | 1,365 | 226 | 203 |
| Perl | 5 | 1,711 | 1,232 | 241 | 238 |
| AWK | 2 | 1,581 | 1,101 | 260 | 220 |
| Autoconf | 8 | 1,275 | 927 | 200 | 148 |
| Automake | 1 | 598 | 352 | 132 | 114 |
| XML | 1 | 233 | 209 | 24 | 0 |
| BASH | 2 | 225 | 146 | 45 | 34 |
| HTML | 6 | 101 | 97 | 4 | 0 |
| Templ | 1 | 27 | 26 | 0 | 1 |
| C++ Header | 1 | 62 | 18 | 31 | 13 |
| CSS | 1 | 29 | 4 | 24 | 1 |
| Markdown | 14 | 5,119 | 0 | 4,148 | 971 |

Top language: C++ 40.8%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/gnu-octave/octave/commit/95a42464acfa6eac3253c63f74407ffb5e2fdab7?reportId=ce219ec6f19cc44467430fc7345cb76a3373e22afbbd76d6709a33326908355d&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/gnu-octave/octave/commit/95a42464acfa6eac3253c63f74407ffb5e2fdab7?reportId=ce219ec6f19cc44467430fc7345cb76a3373e22afbbd76d6709a33326908355d&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 gnu-octave/octave have?

gnu-octave/octave has 765,656 lines of code, plus 138,027 comment lines and 127,890 blank lines, for 1,031,573 total lines at commit 95a42464acfa on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the gnu-octave/octave line count measured?

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

### What commit was counted for gnu-octave/octave?

This OctoCounts report was generated from default at commit 95a42464acfa on November 16, 2026.

## Similar repository reports

- [Z3Prover/z3](https://octocounts.com/github/Z3Prover/z3) — C++, 756,294 code lines
- [cocos2d/cocos2d-x](https://octocounts.com/github/cocos2d/cocos2d-x) — C++, 775,357 code lines
- [CHMOSE023/MiniCAD](https://octocounts.com/github/CHMOSE023/MiniCAD) — C++, 749,791 code lines
- [zzj123321/MiniCAD](https://octocounts.com/github/zzj123321/MiniCAD) — C++, 744,992 code lines
- [zortos293/Lichii](https://octocounts.com/github/zortos293/Lichii) — C++, 803,556 code lines
- [boykopovar/AnyPS5](https://octocounts.com/github/boykopovar/AnyPS5) — C++, 727,959 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)
- [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)
