Re: Counting Lines of Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Jun 20, 2010 at 1:33 AM, Allan McRae <allan@xxxxxxxxxxxxx> wrote:
> On 20/06/10 08:23, Gaurish Sharma wrote:
>>
>> Hi,
>> I am trying to get a rough idea on total line of code in my php
>> project. Currently, I use this command.
>>
>> $ ( find ./ -name '*.php' -print0 | xargs -0 cat ) | wc -l
>>
>> But it empty lines/comments, hence the figure is huge. Any other
>> Alternative?
>>
>
> community/sloccount 2.26-5
>    Tools for counting physical source lines of code

There's also community/cloc (which I maintain; shameless plug :P)
However, I don't know which is the better of the two. :P


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux