Page 1 of 1

How to get source code line count

Posted: Tue Nov 22, 2011 9:33 pm
by foxmuldr
How can I get the source code line count of a workspace?

Re: How to get source code line count

Posted: Tue Nov 22, 2011 9:54 pm
by eranif
Hi,

I am not sure what are you referring to .. can you please elaborate?

Eran

Re: How to get source code line count

Posted: Tue Nov 22, 2011 9:58 pm
by foxmuldr
eranif wrote:I am not sure what are you referring to .. can you please elaborate?
Not all IDEs provide it natively by default, most are by plugin, but some ability to right-click on a file, project or workspace container and choose "Statistics..." or something which shows the number of source code lines contained within.

It would go through and count source code line totals, comment lines, blank lines, etc., and give the results.

Re: How to get source code line count

Posted: Tue Nov 22, 2011 10:36 pm
by eranif
foxmuldr wrote:It would go through and count source code line totals, comment lines, blank lines, etc., and give the results.
Ah, nice idea, but codelite does not have this feature available

Eran

Re: How to get source code line count

Posted: Wed Nov 23, 2011 1:50 pm
by jfouche
Hi

You can have a look to cccc.

You can also give a look here.

Re: How to get source code line count

Posted: Sat Nov 26, 2011 3:47 am
by foxmuldr
jfouche wrote:You can have a look to cccc.

You can also give a look here.
Cccc was exactly what I was looking for. A very handy utility. Thanks!