microsoft/calculator has 66,712 source lines of code out of 82,028 total lines across 354 files, counted with tokei from the main ref at commit 79e1ac53bba6 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
microsoft/calculator: 66,712 code lines at commit 79e1ac53bba6, counted with tokei-15.0.0 on 2026-11-07. Saved result 14c20ec9684b6b63f59fd3a9574ca9bccaa32ad61a14e2c20e7772606f7fdd9a.
OctoCounts produced this report by resolving microsoft/calculator to commit 79e1ac53bba6, 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 medium-sized codebase by counted code lines. Code represents 81.3% of all lines, comments represent 7.4%, and the repository averages 188 code lines per file. C# accounts for 44.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 150 | 36361 | 29846 | 1807 | 4708 |
| XAML | 30 | 15185 | 14336 | 153 | 696 |
| C++ | 64 | 18562 | 13066 | 2920 | 2576 |
| C Header | 84 | 8449 | 6424 | 849 | 1176 |
| Visual Studio Project | 6 | 1505 | 1503 | 2 | 0 |
| MSBuild | 7 | 1317 | 1302 | 15 | 0 |
| JSON | 1 | 134 | 134 | 0 | 0 |
| Shell | 1 | 53 | 37 | 9 | 7 |
| PowerShell | 1 | 91 | 36 | 48 | 7 |
| XML | 3 | 85 | 15 | 63 | 7 |
| NuGet Config | 1 | 10 | 10 | 0 | 0 |
| Module-Definition | 1 | 3 | 3 | 0 | 0 |
| Markdown | 4 | 234 | 0 | 182 | 52 |
| Plain Text | 1 | 39 | 0 | 33 | 6 |
Top language: C# 44.7%. Generated on .
microsoft/calculator: 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.
microsoft/calculator has 66,712 lines of code, plus 6,081 comment lines and 9,235 blank lines, for 82,028 total lines at commit 79e1ac53bba6 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 79e1ac53bba6, 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 79e1ac53bba6 on November 7, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/calculator on this page — 66,712 code lines across 14 languages, counted by tokei.