baidu/openrasp has 151,975 source lines of code out of 219,020 total lines across 1,275 files, counted from the master ref at commit 0d8340e5c1db by the OctoCounts tokei engine on 2026-10-13. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-13 (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: C++ 26.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving baidu/openrasp to commit 0d8340e5c1db, 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.
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 at .
baidu/openrasp has 219,020 total lines, including 151,975 code lines, 43,456 comment lines, and 23,589 blank lines.
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 master at commit 0d8340e5c1db on 2026-10-13T08:09:14.556518977+00:00.
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 12 languages, counted by tokei.