baidu/openrasp has 151,975 source lines of code out of 219,020 total lines across 1,275 files, counted with tokei from the 0d8340e5c1dbfc13f8c4ee2cd63e5f8696a4880c ref at commit 0d8340e5c1db on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-03 (commit 0d8340e5c1db), baidu/openrasp contains 219,020 total lines: 151,975 code, 43,456 comments, 23,589 blank, across 1,275 files in 20 languages (top language: C++ 26.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving baidu/openrasp to commit 0d8340e5c1db, 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 69.4% of all lines, comments represent 19.8%, and the repository averages 119 code lines per file. C++ accounts for 26.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 310 | 51198 | 39474 | 5986 | 5738 |
| C++ Header | 40 | 45390 | 22618 | 18300 | 4472 |
| Java | 308 | 29824 | 18395 | 8063 | 3366 |
| C Header | 352 | 25812 | 16734 | 4917 | 4161 |
| CSS | 6 | 19318 | 14996 | 1782 | 2540 |
| JSON | 12 | 12836 | 12835 | 0 | 1 |
| Go | 67 | 11725 | 9918 | 947 | 860 |
| JavaScript | 32 | 5154 | 3922 | 626 | 606 |
| SVG | 2 | 3709 | 3709 | 0 | 0 |
| XML | 27 | 3103 | 2940 | 86 | 77 |
| PO File | 10 | 5042 | 2098 | 2059 | 885 |
| Vue | 46 | 1225 | 1104 | 1 | 120 |
Top language: C++ 26.0%. Generated on .
baidu/openrasp: 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.
baidu/openrasp has 151,975 lines of code, plus 43,456 comment lines and 23,589 blank lines, for 219,020 total lines at commit 0d8340e5c1db on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 0d8340e5c1db, 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 0d8340e5c1dbfc13f8c4ee2cd63e5f8696a4880c at commit 0d8340e5c1db on November 3, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for baidu/openrasp on this page — 151,975 code lines across 20 languages, counted by tokei.