Count source lines of code in a project.

This is a faster implementation (in Go) of David A. Wheeler's sloccount tool. It handles a wider spread of languages, as well.


READMEroadmap file
TODOto-do file
NEWSproject news
loccount-1.2.tar.gzgzipped source tarball
COPYINGproject license
loccount.htmlHTML rendering of loccount.1

The project repository is at

If you appreciate this code (and especially if you make money by using it) please support me on Patreon.

Recent Changes

1.2: 2017-12-05
     Work around bug in the parallelized treewalker that barfed on .. paths.


This work is funded by...

My Bronze supporters on Patreon: Martin Hohenberg, Jae Yang, Daniel Garber, Kyle Burkholder, Mike Nichols, Mark Ping, John D. Bell, Tom Taylor, Arnold F. Williams, George Brower, Michael Nygard, Brendan Long, Sven Dowideit, Dave Witten, Jonathan Cast, James Cronin, David L. Jessup, Christopher Chang, Killer Delicious, Jacob Lyles, Neil Anuskiewicz, Mordant, Clemens Ladisch, Wojciech Woytniak, Masa Bando.

My Institutional supporters on Patreon: Jason Azze and the DEVOPS team at his $DAYJOB.