opengrep/opengrep

opengrep/opengrep has 338,298 source lines of code out of 447,573 total lines across 1,501 files, counted with tokei from the main ref at commit 6f7c930cf898 on October 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

opengrep/opengrep: 338,298 code lines at commit 6f7c930cf898, counted with tokei-14.0.0 on 2026-10-15. Saved result b574f1420461008d2d05139a0f64916605ec4b07da5081823195b4bbce62039d.

OctoCounts produced this report by resolving opengrep/opengrep to commit 6f7c930cf898, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

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
Jsonnet1158244710035
PowerShell156839211957
Makefile662125927092
C23532173997
Nix147111033229
SVG110310300
BASH13913206
C Header13713915
Markdown19260901709900
Plain Text626436053151121

Top language: OCaml 69.1%. Generated on .

Counting rules and retention

opengrep/opengrep: tokei-14.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does opengrep/opengrep have?

opengrep/opengrep has 338,298 lines of code, plus 76,837 comment lines and 32,438 blank lines, for 447,573 total lines at commit 6f7c930cf898 on October 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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 October 15, 2026.

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 22 languages, counted by tokei.