sloccount
brew install sloccountCount lines of code in many languages
https://dwheeler.com/sloccount/
License: GPL-2.0-or-later
Development: Pull requests
Formula JSON API: /api/formula/sloccount.json
Formula code: sloccount.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
tahoe | ✅ |
|---|---|---|
| sequoia | ✅ | |
| sonoma | ✅ | |
| ventura | ✅ | |
| monterey | ✅ | |
| big sur | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| ventura | ✅ | |
| monterey | ✅ | |
| big sur | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.26 |
Uses from macOS: flex (build)
Binaries:
ada_count,
asm_count,
awk_count,
break_filelist,
c_count,
cobol_count,
compute_all,
compute_sloc_lang,
count_extensions,
count_unknown_ext,
csh_count,
erlang_count,
exp_count,
f90_count,
fortran_count,
generic_count,
get_sloc,
get_sloc_details,
haskell_count,
java_count,
jsp_count,
lex_count,
lexcount1,
lisp_count,
make_filelists,
makefile_count,
ml_count,
modula3_count,
objc_count,
pascal_count,
perl_count,
php_count,
print_sum,
python_count,
ruby_count,
sed_count,
sh_count,
show_filecount,
sloccount,
sql_count,
tcl_count
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 12 | 39 | 295 |
Installs (--HEAD) | 1 | 1 | 1 |
| Installs on Request | 12 | 39 | 295 |
Installs on Request (--HEAD) | 1 | 1 | 1 |
| Build Errors | 0 |