# ankidroid/Anki-Android SLOC report

> As of 2026-09-02 (commit ef3d448f025c), ankidroid/Anki-Android contains 336,334 total lines: 235,585 code, 81,543 comments, 19,206 blank, across 2,947 files in 18 languages (top: XML 54.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ankidroid/Anki-Android has 235,585 source lines of code out of 336,334 total lines across 2,947 files, counted from the main ref at commit ef3d448f025c by the OctoCounts tokei engine on 2026-09-02. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving ankidroid/Anki-Android to commit ef3d448f025c, 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 70.0% of all lines, comments represent 24.2%, and the repository averages 80 code lines per file. XML accounts for 54.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| XML | 1,914 | 178,244 | 128,751 | 45,917 | 3,576 |
| Kotlin | 941 | 145,977 | 98,125 | 33,371 | 14,481 |
| HTML | 2 | 5,432 | 5,432 | 0 | 0 |
| Shell | 28 | 1,650 | 875 | 525 | 250 |
| JavaScript | 7 | 913 | 696 | 133 | 84 |
| TypeScript | 5 | 669 | 430 | 179 | 60 |
| JSON | 4 | 277 | 269 | 0 | 8 |
| Python | 2 | 399 | 254 | 91 | 54 |
| BASH | 1 | 413 | 193 | 164 | 56 |
| TOML | 2 | 271 | 193 | 62 | 16 |
| CSS | 3 | 177 | 130 | 16 | 31 |
| SVG | 1 | 117 | 117 | 0 | 0 |

Top language (XML 54.7%). Generated at 2026-09-02T22:56:19.903161560+00:00. Canonical report: https://octocounts.com/github/ankidroid/Anki-Android

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ankidroid/Anki-Android/commit/ef3d448f025cf7c8492b760aed9792fd76cfa052?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).

## Report FAQ

### How many lines of code does ankidroid/Anki-Android have?

ankidroid/Anki-Android has 336,334 total lines, including 235,585 code lines, 81,543 comment lines, and 19,206 blank lines.

### How was the ankidroid/Anki-Android line count measured?

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

### What commit was counted for ankidroid/Anki-Android?

This OctoCounts report was generated from main at commit ef3d448f025c on 2026-09-02T22:56:19.903161560+00:00.

## Similar repository reports

- [mirror/libX11](https://octocounts.com/github/mirror/libX11) — XML, 246,116 code lines
- [blitzy-public-samples/mulesoft-anypoint-examples](https://octocounts.com/github/blitzy-public-samples/mulesoft-anypoint-examples) — XML, 204,190 code lines
- [mulesoft-labs/anypoint-examples](https://octocounts.com/github/mulesoft-labs/anypoint-examples) — XML, 204,190 code lines
- [checkstyle/checkstyle](https://octocounts.com/github/checkstyle/checkstyle) — XML, 275,106 code lines
- [vtosters/lite](https://octocounts.com/github/vtosters/lite) — XML, 275,629 code lines
- [CyberTimon/RapidRAW](https://octocounts.com/github/CyberTimon/RapidRAW) — XML, 185,119 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)
- [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)
