As of 2026-07-16 (commit ad53f3e945c3), servo/servo contains 570,285 total lines: 449,641 code, 56,929 comments, 63,715 blank, across 1,832 files in 27 languages (top: Rust 85.0%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving servo/servo to commit ad53f3e945c3, 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.
This is a large codebase by counted code lines. Code represents 78.8% of all lines, comments represent 10.0%, and the repository averages 245 code lines per file. Rust accounts for 85.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 1433 | 473841 | 382409 | 41012 | 50420 |
| Python | 133 | 54025 | 40457 | 5038 | 8530 |
| HTML | 40 | 20440 | 17278 | 6 | 3156 |
| TOML | 82 | 3804 | 3273 | 229 | 302 |
| JavaScript | 11 | 2073 | 1575 | 195 | 303 |
| Kotlin | 16 | 1507 | 1214 | 116 | 177 |
| CSS | 11 | 1680 | 1196 | 229 | 255 |
| Java | 3 | 659 | 472 | 21 | 166 |
| JSON | 11 | 311 | 311 | 0 | 0 |
| XML | 17 | 324 | 294 | 4 | 26 |
| Shell | 11 | 575 | 293 | 202 | 80 |
| Ark TypeScript | 2 | 233 | 188 | 26 | 19 |
Top language (Rust 85.0%). Generated at 2026-07-16T17:16:17.216717842+00:00.
servo/servo has 570,285 total lines, including 449,641 code lines, 56,929 comment lines, and 63,715 blank lines.
OctoCounts resolved the public GitHub repository to commit ad53f3e945c3, 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 ad53f3e945c3 on 2026-07-16T17:16:17.216717842+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: