owasp-modsecurity/ModSecurity

owasp-modsecurity/ModSecurity has 52,127 source lines of code out of 74,091 total lines across 515 files, counted with tokei from the 475aece84b0823a4318cf31c558a9584d660dc47 ref at commit 475aece84b08 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

owasp-modsecurity/ModSecurity: 52,127 code lines at commit 475aece84b08, counted with tokei-15.0.0 on 2026-11-24. Saved result 839f231a50d0881863c6095e2d640a7825923a5c775e83d966850fa714b450d0.

Source: owasp-modsecurity/ModSecurity on GitHub · counted commit 475aece84b08

OctoCounts produced this report by resolving owasp-modsecurity/ModSecurity to commit 475aece84b08, 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 medium-sized codebase by counted code lines. Code represents 70.4% of all lines, comments represent 15.4%, and the repository averages 101 code lines per file. C++ accounts for 60.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++194427603144555365779
C Header29318932990249734057
C++ Header492728373572327
LLVM114011357044
Automake139087487153
C22291572844
Python1867619
Shell3493748
Batch1282206
Autoconf1111001
Markdown24150275140

Top language: C++ 60.3%. Generated on .

Counting rules and retention

owasp-modsecurity/ModSecurity: tokei-15.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 owasp-modsecurity/ModSecurity have?

owasp-modsecurity/ModSecurity has 52,127 lines of code, plus 11,396 comment lines and 10,568 blank lines, for 74,091 total lines at commit 475aece84b08 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the owasp-modsecurity/ModSecurity line count measured?

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

What commit was counted for owasp-modsecurity/ModSecurity?

This OctoCounts report was generated from 475aece84b0823a4318cf31c558a9584d660dc47 at commit 475aece84b08 on November 24, 2026.

Similar repository reports

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

Play the growth animation for owasp-modsecurity/ModSecurity on this page — 52,127 code lines across 11 languages, counted by tokei.