Posts tagged "Reporting"
Quickly count your code base
Last updated
Often, the size of a code base is measured in terms of “source lines of code” (SLoC).
If you’re interested in the size of your code base - or your client is - this metric provides a way to express that size.
Of course, comments and the like are not considered to be code, so how to determine this metric?
Using grep
is tempting, but it quickly results in a very complex and hard-to-understand approach.