AvaloniaUI/Avalonia has 419,519 source lines of code out of 574,849 total lines across 4,351 files, counted with tokei from the main ref at commit 16d8678a4416 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 16d8678a4416), AvaloniaUI/Avalonia contains 574,849 total lines: 419,519 code, 82,782 comments, 72,548 blank, across 4,351 files in 25 languages (top language: C# 80.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving AvaloniaUI/Avalonia to commit 16d8678a4416, 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 73.0% of all lines, comments represent 14.4%, and the repository averages 96 code lines per file. C# accounts for 80.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C# | 3462 | 476531 | 336400 | 75665 | 64466 |
| XAML | 412 | 49756 | 45182 | 1292 | 3282 |
| AXAML | 166 | 20561 | 18809 | 432 | 1320 |
| Objective-C++ | 34 | 9479 | 7511 | 430 | 1538 |
| XML | 56 | 7308 | 4004 | 2966 | 338 |
| MSBuild | 95 | 3438 | 2947 | 146 | 345 |
| TypeScript | 38 | 3262 | 2483 | 358 | 421 |
| C Header | 28 | 1442 | 1025 | 104 | 313 |
| JSON | 15 | 427 | 425 | 0 | 2 |
| TSX | 2 | 147 | 120 | 3 | 24 |
| .NET Resource | 2 | 237 | 119 | 118 | 0 |
| CSS | 2 | 96 | 80 | 3 | 13 |
Top language: C# 80.2%. Generated on .
AvaloniaUI/Avalonia: 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.
AvaloniaUI/Avalonia has 419,519 lines of code, plus 82,782 comment lines and 72,548 blank lines, for 574,849 total lines at commit 16d8678a4416 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 16d8678a4416, 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 16d8678a4416 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for AvaloniaUI/Avalonia on this page — 419,519 code lines across 25 languages, counted by tokei.