grafana/grafana SLOC report

As of 2026-09-07 (commit 8a768495e10c), grafana/grafana contains 4,342,761 total lines: 3,743,700 code, 229,836 comments, 369,225 blank, across 20,114 files in 33 languages (top: JSON 34.4%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit 8a768495e10c), grafana/grafana contains 4,342,761 total lines: 3,743,700 code, 229,836 comments, 369,225 blank, across 20,114 files in 33 languages (top: JSON 34.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving grafana/grafana to commit 8a768495e10c, 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 86.2% of all lines, comments represent 5.3%, and the repository averages 186 code lines per file. JSON accounts for 34.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
JSON123212895011289409092
Go57631402181114025394325167603
TypeScript45357587336084966165488583
TSX44947082245926572581989748
SVG172832812326685787
SQL11994761330082109866545
JavaScript10515487133961125966
CUE206177661094946502167
YAML21613752105902353809
HTML1631582906150102
Shell6836542738389527
Sass631902480220490

Top language (JSON 34.4%). Generated at 2026-09-07T08:26:14.966867023+00:00.

Report FAQ

How many lines of code does grafana/grafana have?

grafana/grafana has 4,342,761 total lines, including 3,743,700 code lines, 229,836 comment lines, and 369,225 blank lines.

How was the grafana/grafana line count measured?

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

What commit was counted for grafana/grafana?

This OctoCounts report was generated from main at commit 8a768495e10c on 2026-09-07T08:26:14.966867023+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: