ossec/ossec-hids

ossec/ossec-hids has 174,692 source lines of code out of 261,068 total lines across 1,156 files, counted with tokei from the main ref at commit 7508eef5a8b9 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

ossec/ossec-hids: 174,692 code lines at commit 7508eef5a8b9, counted with tokei-15.0.0 on 2026-11-12. Saved result e6f0ab23fd5038c4cdfa32adf2c2c68e9bd90aa2911586aa05098928662456ef.

OctoCounts produced this report by resolving ossec/ossec-hids to commit 7508eef5a8b9, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 66.9% of all lines, comments represent 20.4%, and the repository averages 151 code lines per file. C accounts for 59.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C3811437921046281927919885
C Header188320942053275324030
Visual Studio Project36174281742800
XML105152011144019381823
Shell539030654111281361
Perl1425271872422233
Makefile1524941695227572
Ada1028401681560599
RPM Specfile421951616199380
Pascal414431016216211
Module-Definition810969465892
C#91615879506230
Visual Studio Solution885684907
C++5907599136172
HTML255855611
Bitbake152752700
Autoconf4978410434134
GNU Style Assembly1574246216112
SQL52571973030
Python32041831011
MSBuild218417284
CMake12181603127
Batch52081411651
BASH31431011824
PHP1124100618
YAML111496414
Korn shell1534166
Automake14534011
C++ Header19531
Poke11100
Markdown6160801164444
Plain Text277217450190152730

Top language: C 59.9%. Generated on .

Counting rules and retention

ossec/ossec-hids: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does ossec/ossec-hids have?

ossec/ossec-hids has 174,692 lines of code, plus 53,163 comment lines and 33,213 blank lines, for 261,068 total lines at commit 7508eef5a8b9 on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the ossec/ossec-hids line count measured?

OctoCounts resolved the public GitHub repository to commit 7508eef5a8b9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for ossec/ossec-hids?

This OctoCounts report was generated from main at commit 7508eef5a8b9 on November 12, 2026.

Similar repository reports

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 — 174,692 code lines across 32 languages, counted by tokei.