FreeCAD/FreeCAD has 7,140,389 source lines of code out of 7,808,569 total lines across 11,025 files, counted with tokei from the main ref at commit 406063b1116a on October 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
FreeCAD/FreeCAD: 7,140,389 code lines at commit 406063b1116a, counted with tokei-14.0.0 on 2026-10-14. Saved result 9868cdaaacb7fe0330b2c349bd7130a3dd0f23062213c9059d63e433c424e985.
OctoCounts produced this report by resolving FreeCAD/FreeCAD to commit 406063b1116a, 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.
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 648 code lines per file. TypeScript accounts for 65.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 1232 | 4715380 | 4704942 | 0 | 10438 |
| C++ | 2323 | 1152591 | 869999 | 137686 | 144906 |
| Python | 2210 | 803916 | 652465 | 68848 | 82603 |
| SVG | 2344 | 579369 | 575120 | 2840 | 1409 |
| C Header | 1954 | 319223 | 183539 | 88405 | 47279 |
| C++ Header | 448 | 115043 | 72135 | 29101 | 13807 |
| C | 13 | 32473 | 21663 | 6845 | 3965 |
| JSON | 28 | 20202 | 20193 | 0 | 9 |
| CMake | 194 | 23585 | 19307 | 1532 | 2746 |
| FORTRAN Legacy | 2 | 16852 | 7779 | 8861 | 212 |
| YAML | 59 | 4017 | 2646 | 1257 | 114 |
| Forge Config | 20 | 3452 | 2141 | 878 | 433 |
| HTML | 7 | 2042 | 1977 | 16 | 49 |
| Shell | 15 | 2007 | 1539 | 181 | 287 |
| XML | 16 | 1155 | 1129 | 14 | 12 |
| Autoconf | 10 | 5115 | 1012 | 2951 | 1152 |
| Swift | 3 | 593 | 465 | 44 | 84 |
| Happy | 3 | 398 | 343 | 0 | 55 |
| CSS | 2 | 403 | 327 | 21 | 55 |
| TOML | 4 | 342 | 282 | 34 | 26 |
| Zsh | 1 | 386 | 282 | 62 | 42 |
| Visual Studio Project | 1 | 245 | 245 | 0 | 0 |
| RPM Specfile | 1 | 310 | 217 | 35 | 58 |
| Lex | 3 | 708 | 166 | 491 | 51 |
| Templ | 2 | 172 | 92 | 39 | 41 |
| Objective-C | 2 | 150 | 85 | 34 | 31 |
| Batch | 10 | 81 | 73 | 3 | 5 |
| Automake | 1 | 88 | 65 | 7 | 16 |
| C++ Module | 1 | 74 | 34 | 28 | 12 |
| Visual Studio Solution | 1 | 31 | 30 | 0 | 1 |
| BASH | 2 | 60 | 26 | 24 | 10 |
| PO File | 1 | 26 | 18 | 6 | 2 |
| OpenSCAD | 1 | 32 | 17 | 11 | 4 |
| JavaScript | 1 | 301 | 16 | 274 | 11 |
| Prolog | 1 | 16 | 14 | 0 | 2 |
| Module-Definition | 1 | 7 | 6 | 0 | 1 |
| Markdown | 67 | 5225 | 0 | 3869 | 1356 |
| Plain Text | 41 | 2499 | 0 | 2366 | 133 |
Top language: TypeScript 65.9%. Generated on .
FreeCAD/FreeCAD: tokei-14.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.
FreeCAD/FreeCAD has 7,140,389 lines of code, plus 356,763 comment lines and 311,417 blank lines, for 7,808,569 total lines at commit 406063b1116a on October 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 406063b1116a, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 406063b1116a on October 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for FreeCAD/FreeCAD on this page — 7,140,389 code lines across 38 languages, counted by tokei.