# FreeCAD/FreeCAD SLOC report

> As of 2026-10-24 (commit 7f643c369dee), FreeCAD/FreeCAD contains 7,811,932 total lines: 7,143,085 code, 357,041 comments, 311,806 blank, across 11,038 files in 38 languages (top: TypeScript 65.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

FreeCAD/FreeCAD has 7,143,085 source lines of code out of 7,811,932 total lines across 11,038 files, counted from the main ref at commit 7f643c369dee by the OctoCounts tokei engine on 2026-10-24. 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 FreeCAD/FreeCAD to commit 7f643c369dee, 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 91.4% of all lines, comments represent 4.6%, and the repository averages 647 code lines per file. TypeScript accounts for 65.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,232 | 4,715,380 | 4,704,942 | 0 | 10,438 |
| C++ | 2,324 | 1,153,465 | 870,756 | 137,724 | 144,985 |
| Python | 2,217 | 806,141 | 654,201 | 69,066 | 82,874 |
| SVG | 2,345 | 579,372 | 575,122 | 2,841 | 1,409 |
| C Header | 1,955 | 319,306 | 183,595 | 88,405 | 47,306 |
| C++ Header | 448 | 115,043 | 72,135 | 29,101 | 13,807 |
| C | 13 | 32,473 | 21,663 | 6,845 | 3,965 |
| JSON | 28 | 20,210 | 20,201 | 0 | 9 |
| CMake | 194 | 23,613 | 19,339 | 1,532 | 2,742 |
| FORTRAN Legacy | 2 | 16,852 | 7,779 | 8,861 | 212 |
| YAML | 59 | 4,017 | 2,646 | 1,257 | 114 |
| Forge Config | 20 | 3,452 | 2,141 | 878 | 433 |

Top language (TypeScript 65.9%). Generated at 2026-10-24T11:02:37.451644677+00:00. Canonical report: https://octocounts.com/github/FreeCAD/FreeCAD

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/FreeCAD/FreeCAD/commit/7f643c369dee071a9fa5058c831572ec48bbdd50?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&reportId=4e7519df3ce9c5d8a1c1c941da5c343c09f1e825e74a7d6f783aac345672613a).

## Report FAQ

### How many lines of code does FreeCAD/FreeCAD have?

FreeCAD/FreeCAD has 7,811,932 total lines, including 7,143,085 code lines, 357,041 comment lines, and 311,806 blank lines.

### How was the FreeCAD/FreeCAD line count measured?

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

### What commit was counted for FreeCAD/FreeCAD?

This OctoCounts report was generated from main at commit 7f643c369dee on 2026-10-24T11:02:37.451644677+00:00.

## Similar repository reports

- [BuilderIO/agent-native](https://octocounts.com/github/BuilderIO/agent-native) — TypeScript, 6,286,311 code lines
- [stablyai/orca](https://octocounts.com/github/stablyai/orca) — TypeScript, 5,959,434 code lines
- [elizaOS/eliza](https://octocounts.com/github/elizaOS/eliza) — TypeScript, 5,942,181 code lines
- [openclaw/openclaw](https://octocounts.com/github/openclaw/openclaw) — TypeScript, 11,044,618 code lines
- [QwenLM/qwen-code](https://octocounts.com/github/QwenLM/qwen-code) — TypeScript, 4,299,101 code lines
- [elastic/kibana](https://octocounts.com/github/elastic/kibana) — TypeScript, 11,977,315 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
