# mattermost/mattermost SLOC report

> As of 2026-09-17 (commit 348b648e5622), mattermost/mattermost contains 2,731,086 total lines: 2,155,385 code, 239,342 comments, 336,359 blank, across 10,620 files in 21 languages (top: Go 34.9%). Default configuration. Counted with tokei via OctoCounts.

mattermost/mattermost has 2,155,385 source lines of code out of 2,731,086 total lines across 10,620 files, counted from the master ref at commit 348b648e5622 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 mattermost/mattermost to commit 348b648e5622, 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 very large codebase by counted code lines. Code represents 78.9% of all lines, comments represent 8.8%, and the repository averages 203 code lines per file. Go accounts for 34.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,422 | 945,785 | 751,858 | 52,590 | 141,337 |
| JSON | 136 | 511,390 | 511,390 | 0 | 0 |
| TSX | 2,875 | 525,118 | 437,018 | 20,721 | 67,379 |
| TypeScript | 2,339 | 359,287 | 262,790 | 39,530 | 56,967 |
| Sass | 565 | 67,328 | 55,942 | 1,424 | 9,962 |
| JavaScript | 602 | 75,857 | 47,103 | 14,703 | 14,051 |
| YAML | 77 | 34,195 | 32,739 | 410 | 1,046 |
| XML | 3 | 25,801 | 25,796 | 5 | 0 |
| HTML | 58 | 10,655 | 9,943 | 582 | 130 |
| ReStructuredText | 225 | 11,689 | 7,599 | 0 | 4,090 |
| SQL | 475 | 9,419 | 5,739 | 1,876 | 1,804 |
| CSS | 31 | 5,659 | 4,494 | 487 | 678 |

Top language (Go 34.9%). Generated at 2026-09-17T18:12:59.412543741+00:00. Canonical report: https://octocounts.com/github/mattermost/mattermost

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/mattermost/mattermost/commit/348b648e5622033f9339bff8a70172c3113464ea?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

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

mattermost/mattermost has 2,731,086 total lines, including 2,155,385 code lines, 239,342 comment lines, and 336,359 blank lines.

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

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

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

This OctoCounts report was generated from master at commit 348b648e5622 on 2026-09-17T18:12:59.412543741+00:00.

## Similar repository reports

- [golang/go](https://octocounts.com/github/golang/go) — Go, 2,074,528 code lines
- [milvus-io/milvus](https://octocounts.com/github/milvus-io/milvus) — Go, 1,660,235 code lines
- [coze-dev/coze-studio](https://octocounts.com/github/coze-dev/coze-studio) — Go, 1,533,916 code lines
- [apache/plc4x](https://octocounts.com/github/apache/plc4x) — Go, 1,455,182 code lines
- [coder/coder](https://octocounts.com/github/coder/coder) — Go, 1,386,148 code lines
- [infiniflow/ragflow](https://octocounts.com/github/infiniflow/ragflow) — Go, 1,231,485 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)
