Breadstick Get it on Google Play

sloccount

programs for counting physical source lines of code (SLOC)

Command lineDevelopment

Install

Not tested on a device yet. What that means

Commands in the package

  • sloccount
  • 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
  • go_count
  • haskell_count
  • java_count
  • javascript_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

And 5 more.

About sloccount

From Debian's package description

SLOCCount (pronounced "sloc-count") is a suite of programs for counting physical source lines of code (SLOC) in potentially large software systems (thus, SLOCCount is a "software metrics tool" or "software measurement tool"). SLOCCount can count physical SLOC for a wide number of languages; listed alphabetically, they are: Ada, Assembly, awk, Bourne shell, C, C++, C shell, COBOL, C#, Erlang, Expect, Fortran, Java, lex/flex, LISP (including Scheme), Makefile, Modula3, Objective-C, Pascal, Perl, PHP, Python, Ruby, sed, SQL, Tcl, VHDL, XML, Yacc/Bison.

SLOCCount can automatically determine if a file is a source code file or not, and if so, which language it's written in. As a result, you can analyze large systems completely automatically. SLOCCount also includes some report-generating tools to collect the data generated and present it in several different formats.

From Debian's description of the sloccount package, under that package's license.

Dependencies

Depends on

Related apps

All Linux development tools

Sources and licenses

  • Name: the Debian package name.
  • Summary: Debian's short description of the sloccount package, under that package's license.
  • Description: Debian's description of the sloccount package, under that package's license.
  • Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
  • Popularity: Debian Popularity Contest counts.

More in About the catalog.