microsoft/semantic-kernel has 420,901 source lines of code out of 624,499 total lines across 4,147 files, counted with tokei from the main ref at commit df1cb33d0d32 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-05 (commit df1cb33d0d32), microsoft/semantic-kernel contains 624,499 total lines: 420,901 code, 130,505 comments, 73,093 blank, across 4,147 files in 29 languages (top language: C# 52.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/semantic-kernel to commit df1cb33d0d32, 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 large codebase by counted code lines. Code represents 67.4% of all lines, comments represent 20.9%, and the repository averages 101 code lines per file. C# accounts for 52.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 2388 | 333795 | 220727 | 63588 | 49480 |
| Python | 929 | 124346 | 100143 | 6538 | 17665 |
| JSON | 241 | 84126 | 84116 | 0 | 10 |
| MSBuild | 169 | 6026 | 5106 | 164 | 756 |
| YAML | 47 | 4863 | 4823 | 5 | 35 |
| Jupyter Notebooks | 28 | 4709 | 2641 | 1191 | 877 |
| TSX | 8 | 1299 | 1166 | 38 | 95 |
| CSS | 8 | 556 | 462 | 18 | 76 |
| Bicep | 8 | 409 | 359 | 11 | 39 |
| TOML | 4 | 384 | 337 | 13 | 34 |
| TypeScript | 14 | 284 | 198 | 50 | 36 |
| Razor | 7 | 193 | 161 | 1 | 31 |
Top language: C# 52.4%. Generated on .
microsoft/semantic-kernel: 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/semantic-kernel has 420,901 lines of code, plus 130,505 comment lines and 73,093 blank lines, for 624,499 total lines at commit df1cb33d0d32 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit df1cb33d0d32, 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 df1cb33d0d32 on November 5, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/semantic-kernel on this page — 420,901 code lines across 29 languages, counted by tokei.