# gnu-octave/octave SLOC report

> gnu-octave/octave: 765,437 code lines at commit e866960a4343, counted with tokei-15.0.0 on 2026-11-16. Saved result e6da64747cec233af6a3b46ec8f32e4ef0cd69d5b7f70f1435232ea3d231f291.

gnu-octave/octave has 765,437 source lines of code out of 1,031,253 total lines across 3,076 files, counted with tokei from the default ref at commit e866960a4343 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 e866960a4343, 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,505 | 312,195 | 76,035 | 71,275 |
| Objective-C | 1,065 | 207,665 | 187,141 | 77 | 20,447 |
| TypeScript | 20 | 114,779 | 114,428 | 0 | 351 |
| C Header | 638 | 132,196 | 72,805 | 29,122 | 30,269 |
| 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/e866960a4343243c1c274cbc3d3a21d06c3c603b?reportId=e6da64747cec233af6a3b46ec8f32e4ef0cd69d5b7f70f1435232ea3d231f291&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/e866960a4343243c1c274cbc3d3a21d06c3c603b?reportId=e6da64747cec233af6a3b46ec8f32e4ef0cd69d5b7f70f1435232ea3d231f291&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,437 lines of code, plus 137,987 comment lines and 127,829 blank lines, for 1,031,253 total lines at commit e866960a4343 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 e866960a4343, 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 e866960a4343 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)
