iOS calculates the amount of statistical code

Terminal into the root directory

find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" ")" -print | xargs wc -l

The result of this command line calculation is that the approximate result is not accurate, and the number of commented code lines will also be counted.

 

Guess you like

Origin blog.csdn.net/FlyingKuiKui/article/details/84940529