I am trying to get line of code statistics for my xcode code. For that i executed the following command in Terminal to get all possible kinds of codes.
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.xml" ")" -print0 | xargs -0 wc -l | sort
It gives me the number of code lines including comments also. Can anyone tell me how to get line of code statistics without comments.