# HG changeset patch # User Oleksandr Gavenko # Date 1414942733 -7200 # Node ID ad05334bf5d4406910ac8d215edae4b990e17ca9 # Parent 93bdc6f8177ee0c027056398837a7a4250839991 sloccount. diff -r 93bdc6f8177e -r ad05334bf5d4 code-analysis.rst --- 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 +