SLOCCount

A set of the programs for counting source lines of code (SLOC) in large software systems
Download

SLOCCount Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • David A. Wheeler
  • Publisher web site:
  • http://dwheeler.com/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 186 KB

SLOCCount Tags


SLOCCount Description

A set of the programs for counting source lines of code (SLOC) in large software systems SLOCCount is a free and open source set of tools for counting physical Source Lines of Code (SLOC) in a large number of languages of a potentially large set of programs.SLOCCount can automatically identify and measure the following languages (common extensions for the language are listed in parentheses):· Ada (.ada, .ads, .adb)· Assembly (.s, .S, .asm)· awk (.awk)· Bourne shell and variants (.sh)· C (.c)· C++ (.C, .cpp, .cxx, .cc)· C shell (.csh)· COBOL (.cob, .cbl) as of version 2.10· C# (.cs) as of version 2.11· Expect (.exp)· Fortran (.f)· Haskell (.hs) as of version 2.11· Java (.java)· lex/flex (.l)· LISP/Scheme (.el, .scm, .lsp, .jl)· Makefile (makefile) - not normally shown.· Modula-3 (.m3, .i3) as of version 2.07· Objective-C (.m)· Pascal (.p, .pas)· Perl (.pl, .pm, .perl)· PHP (.php, .php, .inc) as of version 2.05· Python (.py)· Ruby (.rb) as of version 2.09· sed (.sed)· SQL (.sql) - not normally shown.· TCL (.tcl, .tk, .itk)· Yacc/Bison (.y) SLOCCount includes a number of heuristics, so it can automatically detect file types, even those that don't use the "standard" extensions, and conversely, it can detect many files that have a standard extension but aren't really of that type. The SLOC counters have enough smarts to handle oddities of several languages. For example, SLOCCount examines assembly language files, determines the comment scheme, and then correctly counts the lines automatically. It also correctly handles language constructs that are often mishandled by other tools, such as Python's constant strings when used as comments and Perl's "perlpod" documentation.SLOCCount will even automatically estimate the effort, time, and money it would take to develop the software (if it was developed as traditional proprietary software). Without options, it will use the basic COCOMO model, which makes these estimates solely from the count of lines of code.


SLOCCount Related Software