code-analysis.rst
changeset 1639 ad05334bf5d4
parent 1334 9bf0d5a1f0cf
child 1905 fba288d59662
--- a/code-analysis.rst	Sun Nov 02 17:09:11 2014 +0200
+++ b/code-analysis.rst	Sun Nov 02 17:38:53 2014 +0200
@@ -165,3 +165,12 @@
   http://en.wikipedia.org/wiki/Sonar_%28software_quality%29
                 Wikipedia page.
 
+sloccount.
+==========
+
+Count files or LOC in project hierarchy::
+
+  $ sudo apt-get install sloccount
+  $ sloccount --addlangall $DIR/$PROJ
+  $ rm -r $HOME/.slocdata/$PROJ
+