# LineageOS/android_device_xiaomi_rosemary SLOC report

> As of 2026-11-09 (commit 5fb8bf1da13c), LineageOS/android_device_xiaomi_rosemary contains 10,046 total lines: 6,879 code, 2,760 comments, 407 blank, across 58 files in 9 languages (top programming language: Makefile 6.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

LineageOS/android_device_xiaomi_rosemary has 6,879 source lines of code out of 10,046 total lines across 58 files, counted with tokei from the lineage-24.0 ref at commit 5fb8bf1da13c on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving LineageOS/android_device_xiaomi_rosemary to commit 5fb8bf1da13c, 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

LineageOS/android_device_xiaomi_rosemary: 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 small codebase by counted code lines. Code represents 68.5% of all lines, comments represent 27.5%, and the repository averages 119 code lines per file. Makefile is the largest programming language at 6.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| XML | 34 | 6,050 | 5,131 | 811 | 108 |
| JSON | 2 | 657 | 657 | 0 | 0 |
| Makefile | 5 | 634 | 426 | 89 | 119 |
| C++ | 6 | 516 | 387 | 33 | 96 |
| Python | 2 | 198 | 180 | 7 | 11 |
| C Header | 4 | 156 | 96 | 33 | 27 |
| Shell | 1 | 4 | 2 | 1 | 1 |
| Markdown | 1 | 9 | 0 | 8 | 1 |
| Plain Text | 3 | 1,822 | 0 | 1,778 | 44 |

Top programming language: Makefile 6.2%. Generated on November 9, 2026. 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/5fb8bf1da13ce4f2501d10ab9a62ffbfe953b2e0?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=be831e0e95292f239e5c00d95cb7bda3c6c89a8e5f0f7eb5bfd368f407ab7a93).

## Report FAQ

### How many lines of code does LineageOS/android_device_xiaomi_rosemary have?

LineageOS/android_device_xiaomi_rosemary has 6,879 lines of code, plus 2,760 comment lines and 407 blank lines, for 10,046 total lines at commit 5fb8bf1da13c on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 5fb8bf1da13c, 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 lineage-24.0 at commit 5fb8bf1da13c on November 9, 2026.

## Similar repository reports

- [FossifyOrg/File-Manager](https://octocounts.com/github/FossifyOrg/File-Manager) — XML, 13,123 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)
