As of 2026-08-31 (commit deecfd6e8c03), ansible/ansible contains 166,997 total lines: 126,700 code, 15,064 comments, 25,233 blank, across 871 files in 11 languages (top: Python 82.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ansible/ansible to commit deecfd6e8c03, 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 75.9% of all lines, comments represent 9.0%, and the repository averages 145 code lines per file. Python accounts for 82.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 590 | 139898 | 104032 | 12549 | 23317 |
| YAML | 164 | 15174 | 14711 | 258 | 205 |
| C# | 6 | 4453 | 3683 | 258 | 512 |
| PowerShell | 24 | 4521 | 3240 | 806 | 475 |
| Jinja2 | 37 | 964 | 789 | 2 | 173 |
| TOML | 1 | 114 | 107 | 0 | 7 |
| Fish | 1 | 92 | 66 | 16 | 10 |
| Shell | 1 | 89 | 62 | 10 | 17 |
| Autoconf | 1 | 10 | 10 | 0 | 0 |
| Markdown | 40 | 1367 | 0 | 902 | 465 |
| Plain Text | 6 | 315 | 0 | 263 | 52 |
Top language (Python 82.1%). Generated at .
ansible/ansible has 166,997 total lines, including 126,700 code lines, 15,064 comment lines, and 25,233 blank lines.
OctoCounts resolved the public GitHub repository to commit deecfd6e8c03, 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 devel at commit deecfd6e8c03 on 2026-08-31T09:53:29.474842662+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: