Take the 2-minute tour ×  Is there a way to determine how many
lines of code an Xcode project contains? I promise not to use
such information for managerial measurement or employee
benchmarking purposes. ;)  share|improve this question If you
want lines, then you can use this answer:
stackoverflow.com/questions/5901758/… But it includes spaces – 
Rocotilos Feb 27 at 9:38  6 Answers 6  up vote 40 down vote
accepted  Check out CLOC.   share|improve this answer CLOC is
available via Homebrew. The ease of use in the command line was
refreshing. –  avelis Apr 24 '13 at 0:26 I love the pun in the
name there -- yes you can tell how productive you've been by
checking out your CLOC. –  bobobobo May 15 '13 at 2:41 Use above
link to download './cloc-1.56.pl' perm version of cloc tool.
Make sure that you enable execution permission on cloc-1.56.pl
file using 'chmod u+x cloc-1.56.pl' command. If your source code
is located in directory 'project_code' You just need to run
following command. –  JZ. Sep 26 at 3:41  In termin