# mochi-mqtt/server SLOC report

> As of 2026-09-16 (commit 5b7f94bde407), mochi-mqtt/server contains 31,675 total lines: 24,974 code, 2,326 comments, 4,375 blank, across 88 files in 5 languages (top: Go 99.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

mochi-mqtt/server has 24,974 source lines of code out of 31,675 total lines across 88 files, counted from the 5b7f94bde4072edf6db62b69345f9454cae4936f ref at commit 5b7f94bde407 by the OctoCounts tokei engine on 2026-09-16. 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 mochi-mqtt/server to commit 5b7f94bde407, 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 78.8% of all lines, comments represent 7.3%, and the repository averages 284 code lines per file. Go accounts for 99.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 78 | 30,104 | 24,722 | 1,356 | 4,026 |
| JSON | 2 | 137 | 137 | 0 | 0 |
| YAML | 3 | 106 | 101 | 5 | 0 |
| Dockerfile | 1 | 22 | 14 | 0 | 8 |
| Markdown | 4 | 1,306 | 0 | 965 | 341 |

Top language (Go 99.0%). Generated at 2026-09-16T18:33:26.109187305+00:00. Canonical report: https://octocounts.com/github/mochi-mqtt/server

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/mochi-mqtt/server/commit/5b7f94bde4072edf6db62b69345f9454cae4936f?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 mochi-mqtt/server have?

mochi-mqtt/server has 31,675 total lines, including 24,974 code lines, 2,326 comment lines, and 4,375 blank lines.

### How was the mochi-mqtt/server line count measured?

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

### What commit was counted for mochi-mqtt/server?

This OctoCounts report was generated from 5b7f94bde4072edf6db62b69345f9454cae4936f at commit 5b7f94bde407 on 2026-09-16T18:33:26.109187305+00:00.

## Similar repository reports

- [tanviet12/chat-quality-agent](https://octocounts.com/github/tanviet12/chat-quality-agent) — Go, 25,169 code lines
- [getsops/sops](https://octocounts.com/github/getsops/sops) — Go, 24,059 code lines
- [alireza0/s-ui](https://octocounts.com/github/alireza0/s-ui) — Go, 23,461 code lines
- [cosmos/iavl](https://octocounts.com/github/cosmos/iavl) — Go, 22,237 code lines
- [urfave/cli](https://octocounts.com/github/urfave/cli) — Go, 21,615 code lines
- [LLC-INCY/govpn](https://octocounts.com/github/LLC-INCY/govpn) — Go, 21,125 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
