LibreCAD/LibreCAD has 4,180,711 source lines of code out of 4,390,937 total lines across 3,359 files, counted with tokei from the master ref at commit c1f1c0534efc on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-10 (commit c1f1c0534efc), LibreCAD/LibreCAD contains 4,390,937 total lines: 4,180,711 code, 145,404 comments, 64,822 blank, across 3,359 files in 17 languages (top language: TypeScript 81.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving LibreCAD/LibreCAD to commit c1f1c0534efc, 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 95.2% of all lines, comments represent 3.3%, and the repository averages 1,245 code lines per file. TypeScript accounts for 81.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 131 | 3406303 | 3405402 | 0 | 901 |
| C++ | 1036 | 441490 | 340698 | 60144 | 40648 |
| JSON | 24 | 173193 | 173193 | 0 | 0 |
| C Header | 1122 | 205107 | 148272 | 42427 | 14408 |
| SVG | 864 | 89618 | 89544 | 34 | 40 |
| Python | 38 | 12014 | 9840 | 946 | 1228 |
| CMake | 19 | 5120 | 4637 | 258 | 225 |
| Shell | 22 | 4586 | 3609 | 600 | 377 |
| Prolog | 23 | 3379 | 3190 | 9 | 180 |
| PowerShell | 5 | 1233 | 921 | 168 | 144 |
| Batch | 6 | 883 | 790 | 10 | 83 |
| XML | 5 | 392 | 390 | 1 | 1 |
Top language: TypeScript 81.5%. Generated on .
LibreCAD/LibreCAD: 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.
LibreCAD/LibreCAD has 4,180,711 lines of code, plus 145,404 comment lines and 64,822 blank lines, for 4,390,937 total lines at commit c1f1c0534efc on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c1f1c0534efc, 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 master at commit c1f1c0534efc on November 10, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for LibreCAD/LibreCAD on this page — 4,180,711 code lines across 17 languages, counted by tokei.