sloccount - Measures source lines of code (SLOC) in programs

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: sloccount
Package version: 2.26
Package release: 10-omv2015.0
Package architecture: x86_64
Package type: rpm
Installed size: 391.30 KB
Download size: 102.34 KB
Official Mirror:
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, Expect, Fortran, Java, lex/flex, LISP (including Scheme), Modula-3, Objective-C, Pascal, Perl, PHP, Python, sed, TCL, and Yacc. 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; it's been used to examine entire GNU/Linux distributions, for example. SLOCCount also includes some report-generating tools to collect the data generated and present it in several different formats. Normally you can just run "sloccount DIRECTORY" and all the source code in the directory and its descendants will be counted.



  • sloccount == 2.26-10:2015.0


    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install sloccount rpm package:
      # urpmi sloccount


    • /usr/bin/ada_count
    • /usr/bin/asm_count
    • /usr/bin/awk_count
    • /usr/bin/break_filelist
    • /usr/bin/c_count
    • /usr/bin/cobol_count
    • /usr/bin/compute_all
    • /usr/bin/compute_sloc_lang
    • /usr/bin/count_extensions
    • /usr/bin/count_unknown_ext
    • /usr/bin/csh_count
    • /usr/bin/exp_count
    • /usr/bin/f90_count
    • /usr/bin/fortran_count
    • /usr/bin/generic_count
    • /usr/bin/get_sloc
    • /usr/bin/get_sloc_details
    • /usr/bin/haskell_count
    • /usr/bin/java_count
    • /usr/bin/jsp_count
    • /usr/bin/lex_count
    • /usr/bin/lexcount1
    • /usr/bin/lisp_count
    • /usr/bin/make_filelists
    • /usr/bin/makefile_count
    • /usr/bin/ml_count
    • /usr/bin/modula3_count
    • /usr/bin/objc_count
    • /usr/bin/pascal_count
    • /usr/bin/perl_count
    • /usr/bin/php_count
    • /usr/bin/print_sum
    • /usr/bin/python_count
    • /usr/bin/ruby_count
    • /usr/bin/sed_count
    • /usr/bin/sh_count
    • /usr/bin/show_filecount
    • /usr/bin/sloccount
    • /usr/bin/sql_count
    • /usr/bin/tcl_count
    • /usr/share/doc/sloccount/COPYING
    • /usr/share/doc/sloccount/ChangeLog
    • /usr/share/doc/sloccount/README
    • /usr/share/doc/sloccount/TODO
    • /usr/share/doc/sloccount/sloccount.html
    • /usr/share/man/man1/sloccount.1.xz