Search code examples
xcodecode-metrics

How to find out how many lines of code there are in an Xcode project?


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. ;)


Solution

  • Check out CLOC.

    cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

    (Legacy builds are archived on SourceForge.)