python-cmd2/cmd2 SLOC report

As of 2026-08-22 (commit 9c7a891c67e0), python-cmd2/cmd2 contains 23,957 total lines: 16,389 code, 4,123 comments, 3,445 blank, across 84 files in 9 languages (top: Python 96.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving python-cmd2/cmd2 to commit 9c7a891c67e0, 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 medium-sized codebase by counted code lines. Code represents 68.4% of all lines, comments represent 17.2%, and the repository averages 195 code lines per file. Python accounts for 96.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python67207881581319103065
TOML32812184122
YAML22422131712
Makefile112396423
Shell270352312
Autoconf18800
JSON16600
Markdown4243302122311
Plain Text36060

Top language (Python 96.5%). Generated at 2026-08-22T17:10:59.745622283+00:00.

Report FAQ

How many lines of code does python-cmd2/cmd2 have?

python-cmd2/cmd2 has 23,957 total lines, including 16,389 code lines, 4,123 comment lines, and 3,445 blank lines.

How was the python-cmd2/cmd2 line count measured?

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

What commit was counted for python-cmd2/cmd2?

This OctoCounts report was generated from main at commit 9c7a891c67e0 on 2026-08-22T17:10:59.745622283+00:00.