FreeCAD/FreeCAD

FreeCAD/FreeCAD has 7,140,389 source lines of code out of 7,808,569 total lines across 11,025 files, counted from the main ref at commit 406063b1116a by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-14 (commit 406063b1116a), FreeCAD/FreeCAD contains 7,808,569 total lines: 7,140,389 code, 356,763 comments, 311,417 blank, across 11,025 files in 38 languages (top: TypeScript 65.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-14 (commit 406063b1116a), FreeCAD/FreeCAD contains 7,808,569 total lines: 7,140,389 code, 356,763 comments, 311,417 blank, across 11,025 files in 38 languages (top: TypeScript 65.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving FreeCAD/FreeCAD to commit 406063b1116a, 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 648 code lines per file. TypeScript accounts for 65.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TypeScript123247153804704942010438
C++23231152591869999137686144906
Python22108039166524656884882603
SVG234457936957512028401409
C Header19543192231835398840547279
C++ Header448115043721352910113807
C13324732166368453965
JSON28202022019309
CMake194235851930715322746
FORTRAN Legacy21685277798861212
YAML59401726461257114
Forge Config2034522141878433

Top language (TypeScript 65.9%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does FreeCAD/FreeCAD have?

FreeCAD/FreeCAD has 7,808,569 total lines, including 7,140,389 code lines, 356,763 comment lines, and 311,417 blank lines.

How was the FreeCAD/FreeCAD line count measured?

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.

What commit was counted for FreeCAD/FreeCAD?

This OctoCounts report was generated from main at commit 406063b1116a on 2026-10-14T12:42:45.189875501+00:00.

Similar repository reports

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 12 languages, counted by tokei.