# nanomq/nanomq SLOC report

> As of 2026-11-10 (commit 9c9a313b4038), nanomq/nanomq contains 35,100 total lines: 28,447 code, 2,408 comments, 4,245 blank, across 130 files in 12 languages (top language: C 91.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

nanomq/nanomq has 28,447 source lines of code out of 35,100 total lines across 130 files, counted with tokei from the master ref at commit 9c9a313b4038 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nanomq/nanomq to commit 9c9a313b4038, 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

nanomq/nanomq: 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 medium-sized codebase by counted code lines. Code represents 81.0% of all lines, comments represent 6.9%, and the repository averages 219 code lines per file. C accounts for 91.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 57 | 31,129 | 25,932 | 1,701 | 3,496 |
| C Header | 43 | 1,962 | 1,394 | 252 | 316 |
| CMake | 7 | 788 | 574 | 70 | 144 |
| C++ | 1 | 597 | 477 | 38 | 82 |
| Shell | 2 | 52 | 34 | 5 | 13 |
| Dockerfile | 1 | 26 | 16 | 0 | 10 |
| XML | 1 | 13 | 11 | 0 | 2 |
| JSON | 5 | 5 | 5 | 0 | 0 |
| SQL | 3 | 3 | 3 | 0 | 0 |
| Makefile | 1 | 1 | 1 | 0 | 0 |
| Markdown | 7 | 482 | 0 | 308 | 174 |
| Plain Text | 2 | 42 | 0 | 34 | 8 |

Top language: C 91.2%. Generated on November 10, 2026. Canonical report: https://octocounts.com/github/nanomq/nanomq

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nanomq/nanomq/commit/9c9a313b4038640824365f5be68fbfa9a0310889?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=ec7b0f6565dfb6ffbc51d826da48df8b77c2b4587f494c596363ebbaf11f9e35).

## Report FAQ

### How many lines of code does nanomq/nanomq have?

nanomq/nanomq has 28,447 lines of code, plus 2,408 comment lines and 4,245 blank lines, for 35,100 total lines at commit 9c9a313b4038 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the nanomq/nanomq line count measured?

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

### What commit was counted for nanomq/nanomq?

This OctoCounts report was generated from master at commit 9c9a313b4038 on November 10, 2026.

## Similar repository reports

- [microsoft/mimalloc](https://octocounts.com/github/microsoft/mimalloc) — C, 28,328 code lines
- [yshui/picom](https://octocounts.com/github/yshui/picom) — C, 28,946 code lines
- [id-Software/wolf3d](https://octocounts.com/github/id-Software/wolf3d) — C, 27,604 code lines
- [davatorium/rofi](https://octocounts.com/github/davatorium/rofi) — C, 29,381 code lines
- [ardiri/palmos-lemmings](https://octocounts.com/github/ardiri/palmos-lemmings) — C, 27,188 code lines
- [linux-nvme/libnvme](https://octocounts.com/github/linux-nvme/libnvme) — C, 27,049 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
