Re: Count the line of codes

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Count the line of codes

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:46:06

Johannes Gilger [off-list ref] writes:
On 2009-02-06, zyk [off-list ref] wrote:
quoted
Does anyone know if there is any tools available for counting the line of
codes in the project using GIT?
wc -l *.c *.h for example would count the lines of all c-files and 
their headers.
wc for the total number of lines in files, or
http://www.dwheeler.com/sloccount/ to get the number of lines of code
(excluding blank lines and such).

-- 
Matthieu

Re: Count the line of codes

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:46:06

Matthieu Moy [off-list ref] writes:
Johannes Gilger [off-list ref] writes: 
quoted
On 2009-02-06, zyk [off-list ref] wrote:
quoted
Does anyone know if there is any tools available for counting the line of
codes in the project using GIT?
wc -l *.c *.h for example would count the lines of all c-files and 
their headers.
wc for the total number of lines in files, or
http://www.dwheeler.com/sloccount/ to get the number of lines of code
(excluding blank lines and such).
Or Ohcount (OSS part of Ohloh) from http://labs.ohloh.net/ohcount

Or GitStat (but that is web-based) which you can see at work at
http://mirror.celinuxforum.org/gitstat/

Or git-statistic GSoC 2008 project http://repo.or.cz/w/git-stats.git

HTH
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help