# thingsboard/thingsboard SLOC report

> As of 2026-10-22 (commit 7bfc40863666), thingsboard/thingsboard contains 1,710,096 total lines: 1,519,994 code, 71,264 comments, 118,838 blank, across 12,082 files in 19 languages (top: JSON 31.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

thingsboard/thingsboard has 1,519,994 source lines of code out of 1,710,096 total lines across 12,082 files, counted from the master ref at commit 7bfc40863666 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 thingsboard/thingsboard to commit 7bfc40863666, 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 88.9% of all lines, comments represent 4.2%, and the repository averages 126 code lines per file. JSON accounts for 31.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 825 | 476,896 | 476,893 | 0 | 3 |
| Java | 5,494 | 466,480 | 379,660 | 23,744 | 63,076 |
| TypeScript | 2,304 | 387,489 | 338,073 | 8,650 | 40,766 |
| HTML | 1,288 | 107,408 | 98,597 | 8,191 | 620 |
| SVG | 395 | 96,520 | 96,517 | 3 | 0 |
| XML | 470 | 69,604 | 55,047 | 13,055 | 1,502 |
| Sass | 747 | 51,324 | 44,493 | 2,008 | 4,823 |
| JavaScript | 14 | 17,043 | 14,584 | 1,151 | 1,308 |
| Protocol Buffers | 14 | 5,445 | 4,593 | 81 | 771 |
| YAML | 30 | 8,300 | 4,373 | 3,611 | 316 |
| SQL | 16 | 3,157 | 2,635 | 191 | 331 |
| Python | 7 | 2,589 | 2,161 | 63 | 365 |

Top language (JSON 31.4%). Generated at 2026-10-22T10:06:59.097572558+00:00. Canonical report: https://octocounts.com/github/thingsboard/thingsboard

## Reproduce this report

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

## Report FAQ

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

thingsboard/thingsboard has 1,710,096 total lines, including 1,519,994 code lines, 71,264 comment lines, and 118,838 blank lines.

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

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

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

This OctoCounts report was generated from master at commit 7bfc40863666 on 2026-10-22T10:06:59.097572558+00:00.

## Similar repository reports

- [insightlabs38-pixel/HydroSwarm](https://octocounts.com/github/insightlabs38-pixel/HydroSwarm) — JSON, 1,531,344 code lines
- [medplum/medplum](https://octocounts.com/github/medplum/medplum) — JSON, 1,477,735 code lines
- [Dokploy/dokploy](https://octocounts.com/github/Dokploy/dokploy) — JSON, 1,461,684 code lines
- [presenton/presenton](https://octocounts.com/github/presenton/presenton) — JSON, 1,428,091 code lines
- [Comfy-Org/ComfyUI](https://octocounts.com/github/Comfy-Org/ComfyUI) — JSON, 1,354,742 code lines
- [oblien/openship](https://octocounts.com/github/oblien/openship) — JSON, 1,292,089 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)
- [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)
