# lichess-org/lila SLOC report

> As of 2026-11-16 (commit 4aa07afb1db7), lichess-org/lila contains 341,396 total lines: 292,034 code, 8,245 comments, 41,117 blank, across 3,117 files in 17 languages (top language: Scala 50.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

lichess-org/lila has 292,034 source lines of code out of 341,396 total lines across 3,117 files, counted with tokei from the master ref at commit 4aa07afb1db7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving lichess-org/lila to commit 4aa07afb1db7, 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.

## Counting rules and retention

lichess-org/lila: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 85.5% of all lines, comments represent 2.4%, and the repository averages 94 code lines per file. Scala accounts for 50.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Scala | 1,481 | 170,062 | 146,955 | 1,996 | 21,111 |
| TypeScript | 712 | 89,485 | 76,398 | 4,845 | 8,242 |
| Sass | 532 | 48,965 | 39,198 | 215 | 9,552 |
| JSON | 92 | 12,312 | 12,250 | 0 | 62 |
| JavaScript | 185 | 8,535 | 7,607 | 351 | 577 |
| XML | 49 | 4,034 | 4,004 | 2 | 28 |
| YAML | 4 | 4,257 | 3,328 | 0 | 929 |
| TSX | 3 | 968 | 902 | 3 | 63 |
| Python | 5 | 769 | 575 | 30 | 164 |
| HTML | 13 | 412 | 398 | 12 | 2 |
| Nix | 2 | 253 | 225 | 6 | 22 |
| BASH | 3 | 143 | 102 | 6 | 35 |

Top language: Scala 50.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/lichess-org/lila

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/lichess-org/lila/commit/4aa07afb1db7a71b5aaee88d26425f83573e7f50?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=235e2d36046556b15a5bf0c89c0a1794b11010e99d7f8cddd2ab3be84b5fbb2b).

## Report FAQ

### How many lines of code does lichess-org/lila have?

lichess-org/lila has 292,034 lines of code, plus 8,245 comment lines and 41,117 blank lines, for 341,396 total lines at commit 4aa07afb1db7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the lichess-org/lila line count measured?

OctoCounts resolved the public GitHub repository to commit 4aa07afb1db7, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for lichess-org/lila?

This OctoCounts report was generated from master at commit 4aa07afb1db7 on November 16, 2026.

## Similar repository reports

- [twitter/the-algorithm](https://octocounts.com/github/twitter/the-algorithm) — Scala, 525,329 code lines
- [apache/spark](https://octocounts.com/github/apache/spark) — Scala, 1,042,808 code lines
- [Netflix/atlas](https://octocounts.com/github/Netflix/atlas) — Scala, 37,684 code lines
- [ie3-institute/simona](https://octocounts.com/github/ie3-institute/simona) — Scala, 27,621 code lines
- [Vyxal/Vyxal](https://octocounts.com/github/Vyxal/Vyxal) — Scala, 19,524 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
