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.
As of 2026-10-23 (commit 156383f6abd7), ossec/ossec-hids contains 253,708 total lines: 169,565 code, 51,708 comments, 32,435 blank, across 1,131 files in 32 languages (top: C 58.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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 |
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.057182597+00:00.
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 12 languages, counted by tokei.