# nanomq/nanomq SLOC report

> As of 2026-10-22 (commit c3ac92edd0f3), nanomq/nanomq contains 35,014 total lines: 28,373 code, 2,396 comments, 4,245 blank, across 130 files in 12 languages (top: C 91.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

nanomq/nanomq has 28,373 source lines of code out of 35,014 total lines across 130 files, counted from the master ref at commit c3ac92edd0f3 by the OctoCounts tokei engine on 2026-10-22. 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 nanomq/nanomq to commit c3ac92edd0f3, 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 81.0% of all lines, comments represent 6.8%, and the repository averages 218 code lines per file. C accounts for 91.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 57 | 31,043 | 25,858 | 1,689 | 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.1%). Generated at 2026-10-22T06:21:09.650963189+00:00. Canonical report: https://octocounts.com/github/nanomq/nanomq

## Reproduce this report

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

## Report FAQ

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

nanomq/nanomq has 35,014 total lines, including 28,373 code lines, 2,396 comment lines, and 4,245 blank lines.

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

OctoCounts resolved the public GitHub repository to commit c3ac92edd0f3, 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 c3ac92edd0f3 on 2026-10-22T06:21:09.650963189+00:00.

## Similar repository reports

- [microsoft/mimalloc](https://octocounts.com/github/microsoft/mimalloc) — C, 27,892 code lines
- [yshui/picom](https://octocounts.com/github/yshui/picom) — C, 28,942 code lines
- [id-Software/wolf3d](https://octocounts.com/github/id-Software/wolf3d) — C, 27,604 code lines
- [uber/h3](https://octocounts.com/github/uber/h3) — C, 27,557 code lines
- [davatorium/rofi](https://octocounts.com/github/davatorium/rofi) — C, 29,306 code lines
- [ardiri/palmos-lemmings](https://octocounts.com/github/ardiri/palmos-lemmings) — C, 27,188 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)
- [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)
