# Open-Cascade-SAS/OCCT SLOC report

> Open-Cascade-SAS/OCCT: 2,087,180 code lines at commit 4dbfdcc448c0, counted with tokei-15.0.0 on 2026-11-11. Saved result 0a53b87845fe928e15618809a42568d87ed927ed62202cfa1ca64c2db2ae8e38.

Open-Cascade-SAS/OCCT has 2,087,180 source lines of code out of 3,036,512 total lines across 14,297 files, counted with tokei from the master ref at commit 4dbfdcc448c0 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Open-Cascade-SAS/OCCT to commit 4dbfdcc448c0, 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

Open-Cascade-SAS/OCCT: 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 68.7% of all lines, comments represent 19.0%, and the repository averages 146 code lines per file. C++ accounts for 75.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 6,318 | 2,103,135 | 1,570,955 | 290,491 | 241,689 |
| C++ Header | 6,907 | 677,214 | 320,552 | 245,603 | 111,059 |
| SVG | 63 | 75,326 | 75,137 | 132 | 57 |
| JSON | 20 | 51,821 | 51,821 | 0 | 0 |
| CMake | 808 | 26,749 | 23,089 | 1,575 | 2,085 |
| C Header | 5 | 22,633 | 21,593 | 302 | 738 |
| TCL | 44 | 11,279 | 8,357 | 1,542 | 1,380 |
| Python | 18 | 7,624 | 5,579 | 781 | 1,264 |
| C | 3 | 4,045 | 2,753 | 664 | 628 |
| F# | 8 | 3,317 | 2,221 | 463 | 633 |
| Objective-C++ | 6 | 2,061 | 1,531 | 217 | 313 |
| Forth | 2 | 1,293 | 1,279 | 0 | 14 |
| Autoconf | 13 | 905 | 711 | 75 | 119 |
| GLSL | 16 | 812 | 629 | 101 | 82 |
| Batch | 6 | 551 | 478 | 14 | 59 |
| Shell | 3 | 356 | 283 | 30 | 43 |
| Lex | 2 | 282 | 175 | 65 | 42 |
| HTML | 3 | 38 | 37 | 0 | 1 |
| Markdown | 44 | 46,404 | 0 | 34,483 | 11,921 |
| Plain Text | 8 | 667 | 0 | 565 | 102 |

Top language: C++ 75.3%. Generated on November 11, 2026. Canonical report: https://octocounts.com/github/Open-Cascade-SAS/OCCT/commit/4dbfdcc448c0b3e565488afcd626c84483172db9?reportId=0a53b87845fe928e15618809a42568d87ed927ed62202cfa1ca64c2db2ae8e38&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/Open-Cascade-SAS/OCCT/commit/4dbfdcc448c0b3e565488afcd626c84483172db9?reportId=0a53b87845fe928e15618809a42568d87ed927ed62202cfa1ca64c2db2ae8e38&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 Open-Cascade-SAS/OCCT have?

Open-Cascade-SAS/OCCT has 2,087,180 lines of code, plus 577,103 comment lines and 372,229 blank lines, for 3,036,512 total lines at commit 4dbfdcc448c0 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Open-Cascade-SAS/OCCT line count measured?

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

### What commit was counted for Open-Cascade-SAS/OCCT?

This OctoCounts report was generated from master at commit 4dbfdcc448c0 on November 11, 2026.

## Similar repository reports

- [OSGeo/gdal](https://octocounts.com/github/OSGeo/gdal) — C++, 2,173,887 code lines
- [ceph/ceph](https://octocounts.com/github/ceph/ceph) — C++, 1,992,291 code lines
- [MariaDB/server](https://octocounts.com/github/MariaDB/server) — C++, 1,957,881 code lines
- [brave/brave-core](https://octocounts.com/github/brave/brave-core) — C++, 1,942,916 code lines
- [swiftlang/swift](https://octocounts.com/github/swiftlang/swift) — C++, 2,299,939 code lines
- [qt/qtbase](https://octocounts.com/github/qt/qtbase) — C++, 2,461,021 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)
