# Open-Cascade-SAS/OCCT SLOC report

> As of 2026-09-14 (commit 8949fd25f9f9), Open-Cascade-SAS/OCCT contains 2,904,686 total lines: 2,027,728 code, 527,957 comments, 349,001 blank, across 14,046 files in 22 languages (top: C++ 75.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

Open-Cascade-SAS/OCCT has 2,027,728 source lines of code out of 2,904,686 total lines across 14,046 files, counted from the 8949fd25f9f9ff0d276417a028d25ecfa6963398 ref at commit 8949fd25f9f9 by the OctoCounts tokei engine on 2026-09-14. 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 Open-Cascade-SAS/OCCT to commit 8949fd25f9f9, 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 69.8% of all lines, comments represent 18.2%, and the repository averages 144 code lines per file. C++ accounts for 75.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 6,009 | 1,991,094 | 1,527,550 | 243,142 | 220,402 |
| C++ Header | 6,925 | 651,264 | 300,269 | 242,583 | 108,412 |
| SVG | 64 | 77,387 | 77,201 | 134 | 52 |
| JSON | 20 | 51,821 | 51,821 | 0 | 0 |
| CMake | 827 | 26,561 | 22,831 | 1,607 | 2,123 |
| C Header | 6 | 22,708 | 21,639 | 321 | 748 |
| TCL | 44 | 11,253 | 8,335 | 1,539 | 1,379 |
| Python | 18 | 7,499 | 5,474 | 779 | 1,246 |
| C | 7 | 4,913 | 3,357 | 836 | 720 |
| F# | 8 | 3,317 | 2,221 | 463 | 633 |
| Objective-C++ | 6 | 2,061 | 1,531 | 217 | 313 |
| Batch | 13 | 1,670 | 1,455 | 18 | 197 |

Top language (C++ 75.3%). Generated at 2026-09-14T11:30:46.293613113+00:00. Canonical report: https://octocounts.com/github/Open-Cascade-SAS/OCCT

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Open-Cascade-SAS/OCCT/commit/8949fd25f9f9ff0d276417a028d25ecfa6963398?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 Open-Cascade-SAS/OCCT have?

Open-Cascade-SAS/OCCT has 2,904,686 total lines, including 2,027,728 code lines, 527,957 comment lines, and 349,001 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 8949fd25f9f9, 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 8949fd25f9f9ff0d276417a028d25ecfa6963398 at commit 8949fd25f9f9 on 2026-09-14T11:30:46.293613113+00:00.

## Similar repository reports

- [swiftlang/swift](https://octocounts.com/github/swiftlang/swift) — C++, 2,131,342 code lines
- [ceph/ceph](https://octocounts.com/github/ceph/ceph) — C++, 1,911,970 code lines
- [ClickHouse/ClickHouse](https://octocounts.com/github/ClickHouse/ClickHouse) — C++, 2,377,034 code lines
- [microsoft/onnxruntime](https://octocounts.com/github/microsoft/onnxruntime) — C++, 2,408,506 code lines
- [v8/v8](https://octocounts.com/github/v8/v8) — C++, 1,569,920 code lines
- [LadybirdBrowser/ladybird](https://octocounts.com/github/LadybirdBrowser/ladybird) — C++, 1,565,247 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)
