# LineageOS/android_device_xiaomi_rosemary SLOC report

> As of 2026-09-17 (commit a2803dc61d2b), LineageOS/android_device_xiaomi_rosemary contains 10,613 total lines: 7,243 code, 2,919 comments, 451 blank, across 64 files in 9 languages (top: XML 73.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

LineageOS/android_device_xiaomi_rosemary has 7,243 source lines of code out of 10,613 total lines across 64 files, counted from the a2803dc61d2b82b7caf57cbbdab57d822f21788c ref at commit a2803dc61d2b by the OctoCounts tokei engine on 2026-09-17. 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 LineageOS/android_device_xiaomi_rosemary to commit a2803dc61d2b, 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 small codebase by counted code lines. Code represents 68.2% of all lines, comments represent 27.5%, and the repository averages 113 code lines per file. XML accounts for 73.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| XML | 39 | 6,392 | 5,284 | 958 | 150 |
| Makefile | 6 | 917 | 708 | 90 | 119 |
| JSON | 2 | 619 | 619 | 0 | 0 |
| C++ | 6 | 525 | 395 | 33 | 97 |
| Python | 2 | 154 | 139 | 6 | 9 |
| C Header | 4 | 156 | 96 | 33 | 27 |
| Shell | 1 | 4 | 2 | 1 | 1 |
| Markdown | 1 | 9 | 0 | 8 | 1 |
| Plain Text | 3 | 1,837 | 0 | 1,790 | 47 |

Top language (XML 73.0%). Generated at 2026-09-17T16:52:41.776354172+00:00. Canonical report: https://octocounts.com/github/LineageOS/android_device_xiaomi_rosemary

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/LineageOS/android_device_xiaomi_rosemary/commit/a2803dc61d2b82b7caf57cbbdab57d822f21788c?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 LineageOS/android_device_xiaomi_rosemary have?

LineageOS/android_device_xiaomi_rosemary has 10,613 total lines, including 7,243 code lines, 2,919 comment lines, and 451 blank lines.

### How was the LineageOS/android_device_xiaomi_rosemary line count measured?

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

### What commit was counted for LineageOS/android_device_xiaomi_rosemary?

This OctoCounts report was generated from a2803dc61d2b82b7caf57cbbdab57d822f21788c at commit a2803dc61d2b on 2026-09-17T16:52:41.776354172+00:00.

## Similar repository reports

- [xwda/Project_EndofTerm](https://octocounts.com/github/xwda/Project_EndofTerm) — XML, 6,805 code lines
- [RikkaApps/WADB](https://octocounts.com/github/RikkaApps/WADB) — XML, 3,254 code lines
- [jaywcjlove/awesome-mac](https://octocounts.com/github/jaywcjlove/awesome-mac) — XML, 2,976 code lines
- [HatsuneMikuUwU/MikuBoxForAndroid](https://octocounts.com/github/HatsuneMikuUwU/MikuBoxForAndroid) — XML, 12,137 code lines
- [FossifyOrg/File-Manager](https://octocounts.com/github/FossifyOrg/File-Manager) — XML, 13,054 code lines
- [Leilei332/smartisan-icon-pack](https://octocounts.com/github/Leilei332/smartisan-icon-pack) — XML, 13,222 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)
