# baidu/openrasp SLOC report

> 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.

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.

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.

## Repository size insights

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 | 51,198 | 39,474 | 5,986 | 5,738 |
| C++ Header | 40 | 45,390 | 22,618 | 18,300 | 4,472 |
| Java | 308 | 29,824 | 18,395 | 8,063 | 3,366 |
| C Header | 352 | 25,812 | 16,734 | 4,917 | 4,161 |
| CSS | 6 | 19,318 | 14,996 | 1,782 | 2,540 |
| JSON | 12 | 12,836 | 12,835 | 0 | 1 |
| Go | 67 | 11,725 | 9,918 | 947 | 860 |
| JavaScript | 32 | 5,154 | 3,922 | 626 | 606 |
| SVG | 2 | 3,709 | 3,709 | 0 | 0 |
| XML | 27 | 3,103 | 2,940 | 86 | 77 |
| PO File | 10 | 5,042 | 2,098 | 2,059 | 885 |
| Vue | 46 | 1,225 | 1,104 | 1 | 120 |

Top language (C++ 26.0%). Generated at 2026-10-13T08:09:14.556518977+00:00. Canonical report: https://octocounts.com/github/baidu/openrasp

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/baidu/openrasp/commit/0d8340e5c1dbfc13f8c4ee2cd63e5f8696a4880c?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=a8c17fff092f26f8b346b38604503dd9d8fc2936cfe8740c01d16d06141ac033).

## Report FAQ

### How many lines of code does baidu/openrasp have?

baidu/openrasp has 219,020 total lines, including 151,975 code lines, 43,456 comment lines, and 23,589 blank lines.

### How was the baidu/openrasp line count measured?

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.

### What commit was counted for baidu/openrasp?

This OctoCounts report was generated from master at commit 0d8340e5c1db on 2026-10-13T08:09:14.556518977+00:00.

## Similar repository reports

- [Edge0-AI/edge0](https://octocounts.com/github/Edge0-AI/edge0) — C++, 156,747 code lines
- [ml-explore/mlx](https://octocounts.com/github/ml-explore/mlx) — C++, 157,765 code lines
- [Edge0-AI/Edge0](https://octocounts.com/github/Edge0-AI/Edge0) — C++, 157,996 code lines
- [OpenXcom/OpenXcom](https://octocounts.com/github/OpenXcom/OpenXcom) — C++, 145,020 code lines
- [kripken/BananaBread](https://octocounts.com/github/kripken/BananaBread) — C++, 144,180 code lines
- [thepowersgang/mrustc](https://octocounts.com/github/thepowersgang/mrustc) — C++, 163,107 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
