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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| OCaml | 1271 | 316418 | 233652 | 61113 | 21653 |
| JSON | 4 | 27503 | 27503 | 0 | 0 |
| YAML | 29 | 26893 | 26636 | 159 | 98 |
| Menhir | 29 | 27831 | 18365 | 5959 | 3507 |
| Happy | 4 | 8264 | 7474 | 0 | 790 |
| JavaScript | 7 | 9995 | 7358 | 491 | 2146 |
| Java | 1 | 4458 | 4423 | 23 | 12 |
| Lex | 2 | 4148 | 3333 | 253 | 562 |
| Python | 21 | 3769 | 2993 | 277 | 499 |
| Go | 1 | 2712 | 2175 | 165 | 372 |
| Shell | 26 | 2707 | 1896 | 484 | 327 |
| Alex | 1 | 1056 | 936 | 0 | 120 |
| Jsonnet | 11 | 582 | 447 | 100 | 35 |
| PowerShell | 1 | 568 | 392 | 119 | 57 |
| Makefile | 6 | 621 | 259 | 270 | 92 |
| C | 2 | 353 | 217 | 39 | 97 |
| Nix | 1 | 471 | 110 | 332 | 29 |
| SVG | 1 | 103 | 103 | 0 | 0 |
| BASH | 1 | 39 | 13 | 20 | 6 |
| C Header | 1 | 37 | 13 | 9 | 15 |
| Markdown | 19 | 2609 | 0 | 1709 | 900 |
| Plain Text | 62 | 6436 | 0 | 5315 | 1121 |
Top language: OCaml 69.1%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 6f7c930cf898 on October 15, 2026.
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.