opengrep/opengrep

opengrep/opengrep has 338,298 source lines of code out of 447,573 total lines across 1,501 files, counted from the main ref at commit 6f7c930cf898 by the OctoCounts tokei engine on 2026-10-15. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

As of 2026-10-15 (commit 6f7c930cf898), opengrep/opengrep contains 447,573 total lines: 338,298 code, 76,837 comments, 32,438 blank, across 1,501 files in 22 languages (top: OCaml 69.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-15 (commit 6f7c930cf898), opengrep/opengrep contains 447,573 total lines: 338,298 code, 76,837 comments, 32,438 blank, across 1,501 files in 22 languages (top: OCaml 69.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving opengrep/opengrep to commit 6f7c930cf898, 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 large codebase by counted code lines. Code represents 75.6% of all lines, comments represent 17.2%, and the repository averages 225 code lines per file. OCaml accounts for 69.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
OCaml12713164182336526111321653
JSON4275032750300
YAML29268932663615998
Menhir29278311836559593507
Happy4826474740790
JavaScript7999573584912146
Java1445844232312
Lex241483333253562
Python2137692993277499
Go127122175165372
Shell2627071896484327
Alex110569360120

Top language (OCaml 69.1%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does opengrep/opengrep have?

opengrep/opengrep has 447,573 total lines, including 338,298 code lines, 76,837 comment lines, and 32,438 blank lines.

How was the opengrep/opengrep line count measured?

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

What commit was counted for opengrep/opengrep?

This OctoCounts report was generated from main at commit 6f7c930cf898 on 2026-10-15T14:16:35.466277106+00:00.

Similar repository reports

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

Play the growth animation for opengrep/opengrep on this page — 338,298 code lines across 12 languages, counted by tokei.