Tuesday, March 10, 2015

Xcode project, finding number of lines

I was trying to get the total number of lines present in a project and below are some of the results from investigation.

The utility can be downloaded from  source forge at the link here http://cloc.sourceforge.net/


perl cloc-1.62.pl .//

running the above gave results like this. 

176 text files.
176 unique files.
4 files ignored.

http://cloc.sourceforge.net v 1.56  T=2.0 s (86.0 files/s, 10838.0 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Objective C                     80           3848           1876          11844
C/C++ Header                    92            980           1716           1412
-------------------------------------------------------------------------------
SUM:                           172           4828           3592          13256

-------------------------------------------------------------------------------

references:

http://stackoverflow.com/questions/2003534/how-to-find-out-how-many-lines-of-code-there-are-in-an-xcode-project

No comments:

Post a Comment