# openwrt-xiaomi/xmir-patcher SLOC report

> As of 2026-09-17 (commit 16a46e350e3d), openwrt-xiaomi/xmir-patcher contains 30,252 total lines: 21,896 code, 2,086 comments, 6,270 blank, across 105 files in 8 languages (top: Python 56.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

openwrt-xiaomi/xmir-patcher has 21,896 source lines of code out of 30,252 total lines across 105 files, counted from the 16a46e350e3de2cb3415ab2cb652df53783998dc ref at commit 16a46e350e3d 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 openwrt-xiaomi/xmir-patcher to commit 16a46e350e3d, 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 medium-sized codebase by counted code lines. Code represents 72.4% of all lines, comments represent 6.9%, and the repository averages 209 code lines per file. Python accounts for 56.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 68 | 15,517 | 12,358 | 1,100 | 2,059 |
| PO File | 2 | 12,866 | 8,787 | 167 | 3,912 |
| Shell | 12 | 920 | 670 | 85 | 165 |
| XML | 2 | 64 | 64 | 0 | 0 |
| Batch | 2 | 16 | 13 | 0 | 3 |
| Forge Config | 1 | 5 | 4 | 1 | 0 |
| Markdown | 2 | 53 | 0 | 38 | 15 |
| Plain Text | 16 | 811 | 0 | 695 | 116 |

Top language (Python 56.4%). Generated at 2026-09-17T03:57:46.198559553+00:00. Canonical report: https://octocounts.com/github/openwrt-xiaomi/xmir-patcher

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/openwrt-xiaomi/xmir-patcher/commit/16a46e350e3de2cb3415ab2cb652df53783998dc?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 openwrt-xiaomi/xmir-patcher have?

openwrt-xiaomi/xmir-patcher has 30,252 total lines, including 21,896 code lines, 2,086 comment lines, and 6,270 blank lines.

### How was the openwrt-xiaomi/xmir-patcher line count measured?

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

### What commit was counted for openwrt-xiaomi/xmir-patcher?

This OctoCounts report was generated from 16a46e350e3de2cb3415ab2cb652df53783998dc at commit 16a46e350e3d on 2026-09-17T03:57:46.198559553+00:00.

## Similar repository reports

- [jasonxtn/argus](https://octocounts.com/github/jasonxtn/argus) — Python, 21,907 code lines
- [yutori-ai/yutori-sdk-python](https://octocounts.com/github/yutori-ai/yutori-sdk-python) — Python, 21,824 code lines
- [anthropics/claude-plugins-official](https://octocounts.com/github/anthropics/claude-plugins-official) — Python, 21,624 code lines
- [DunCanYounG-1/auto-embedded](https://octocounts.com/github/DunCanYounG-1/auto-embedded) — Python, 22,299 code lines
- [python-poetry/poetry](https://octocounts.com/github/python-poetry/poetry) — Python, 21,315 code lines
- [oomol-lab/pdf-craft](https://octocounts.com/github/oomol-lab/pdf-craft) — Python, 22,702 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
