ossec/ossec-hids has 169,565 source lines of code out of 253,708 total lines across 1,131 files, counted from the main ref at commit 156383f6abd7 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
ossec/ossec-hids: 169,565 code lines at commit 156383f6abd7, counted with tokei-14.0.0 on 2026-10-23. Saved result b99d47135f7587832b2558c18183aa47498ae45ea12f91fd87d255b665d2fd0e.
OctoCounts produced this report by resolving ossec/ossec-hids to commit 156383f6abd7, 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 66.8% of all lines, comments represent 20.4%, and the repository averages 150 code lines per file. C accounts for 58.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 363 | 137328 | 99901 | 18216 | 19211 |
| C Header | 182 | 31564 | 20330 | 7286 | 3948 |
| Visual Studio Project | 36 | 17428 | 17428 | 0 | 0 |
| XML | 105 | 15192 | 11431 | 1938 | 1823 |
| Shell | 53 | 8792 | 6389 | 1060 | 1343 |
| Perl | 14 | 2527 | 1872 | 422 | 233 |
| Makefile | 15 | 2487 | 1690 | 225 | 572 |
| Ada | 10 | 2840 | 1681 | 560 | 599 |
| RPM Specfile | 4 | 2189 | 1611 | 198 | 380 |
| Pascal | 4 | 1443 | 1016 | 216 | 211 |
| Module-Definition | 8 | 1096 | 946 | 58 | 92 |
| C# | 9 | 1615 | 879 | 506 | 230 |
| Visual Studio Solution | 8 | 856 | 849 | 0 | 7 |
| C++ | 5 | 907 | 599 | 136 | 172 |
| HTML | 2 | 558 | 556 | 1 | 1 |
| Bitbake | 1 | 527 | 527 | 0 | 0 |
| Autoconf | 4 | 978 | 410 | 434 | 134 |
| GNU Style Assembly | 1 | 574 | 246 | 216 | 112 |
| Python | 3 | 204 | 183 | 10 | 11 |
| MSBuild | 2 | 184 | 172 | 8 | 4 |
| SQL | 4 | 227 | 170 | 30 | 27 |
| CMake | 1 | 218 | 160 | 31 | 27 |
| Batch | 5 | 208 | 141 | 16 | 51 |
| BASH | 3 | 143 | 101 | 18 | 24 |
| PHP | 1 | 124 | 100 | 6 | 18 |
| YAML | 1 | 114 | 96 | 4 | 14 |
| Korn shell | 1 | 53 | 41 | 6 | 6 |
| Automake | 1 | 45 | 34 | 0 | 11 |
| C++ Header | 1 | 9 | 5 | 3 | 1 |
| Poke | 1 | 1 | 1 | 0 | 0 |
| Markdown | 6 | 1532 | 0 | 1089 | 443 |
| Plain Text | 277 | 21745 | 0 | 19015 | 2730 |
Top language (C 58.9%). Generated at .
ossec/ossec-hids has 253,708 total lines, including 169,565 code lines, 51,708 comment lines, and 32,435 blank lines.
OctoCounts resolved the public GitHub repository to commit 156383f6abd7, 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 156383f6abd7 on 2026-10-23T03:23:20.057182597Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for ossec/ossec-hids on this page — 169,565 code lines across 32 languages, counted by tokei.