Skip to content
A fork of sloccount with extra counters for css/js/xml files and Django/Jinja HTML-based templates.
Perl C Shell Ruby Haskell Python Other
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
testcode
COPYING
ChangeLog
PROGRAM_LICENSE
README
SOURCES
TODO
TODO.orig
ada_count
append_license
append_specname
asm_count
awk_count
break_filelist
break_filelist.orig
c_count.c
c_lines_environment.dat
c_outfile.dat
cobol_count
compute_all
compute_c_usc
compute_java_usc
compute_sloc_lang
count_extensions
count_unknown_ext
csh_count
css_count
dirmatch
driver.c
driver.h
exp_count
extract-count
extract_license
f90_count
fortran_count
generic_count
get_sloc
get_sloc_details
haskell_count
html_tmpl_count
java_lines_environment.dat
js_count
jsp_count.c
jsp_count.l
lex_count
lexcount1.c
linux_unique
lisp_count
make_filelists
makefile
makefile.orig
makefile_count
ml_count.c
modula3_count
objc_count
pascal_count.c
pascal_count.l
perl_count
php_count.c
print_sum
print_sum_subset
python_count
redo_licenses
rpm_unpacker
ruby_count
sed_count
sh_count
show_filecount
simplecount
sloccount
sloccount.1
sloccount.1.gz
sloccount.html
sloccount.html.orig
sloccount.spec
sql_count
stripccomments.c
stub
stubsh
table.html
tcl_count
usc_subset.tar
xml_count

README

SLOCCount README
=================

This directory contains "SLOCCount", a set of the programs for counting
source lines of code (SLOC) in large software systems.
It was developed by David A. Wheeler (dwheeler@dwheeler.com),
originally to count SLOC in a Linux (GNU/Linux) system, but it can be
used for counting other software systems.

Copyright (C) 2001-2004 David A. Wheeler.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

To contact David A. Wheeler, see his website at:
 http://www.dwheeler.com.

For more information, including installation instructions and license
information, see the HTML file "sloccount.html".
The file COPYING includes the license, the standard GNU GPL version 2 license.
Even better, see the website http://www.dwheeler.com/sloccount.

Some of the files contained in this directory aren't normally used -
instead, they're scrap special-purpose files I used when I created these
programs.  Feel free to use them, but if you're packaging this program,
be selective - don't install in /usr/bin every executable here!
Just install the ones documented, plus the executables they depend on.

Packagers: I've developed an RPM spec file and RPM, so RPM systems can
just load-and-go.  If you use a different package format, you may still
find the spec file helpful for identifying what to load, and the "alien"
program can apparantly translate the RPM file to Debian '.deb' format
without any problem.

Debian already includes a SLOCCount package.
SLOCCount 2.08 is available in Debian 3.0.
More info on the status of SLOCCount in Debian should see
http://packages.debian.org/cgi-bin/search_packages.pl?keywords=sloccount&searchon=names&subword=1&version=all&release=all


sloccount-extended amendments
=============================

This fork of SLOCCount incorporates Liam Christopher's changes to add
counters for js/css/xml files, from this repo:

  https://github.com/liamchristopher/sloccount-extended

In addition, a counter for Django/Jinja HTML-based templates was added by
Will McCutchen.
Something went wrong with that request. Please try again.