Architecture/Source Code Inventory/Count Details
From Apache OpenOffice Wiki
Counting CodeLines
The term "CodeLines" is somewhat ambigious, therefor one will find plenty of definitions which differ slightly, others are on their way to become something like a standard. For this reason we want to try to negotiate different terms and their meanings, to form a contract of how to understand it when we speak of CodeLines
How many Lines of code do we have here ?:
if ( my_function1() ) { //error handler return 1; } // block of instruction 1 if ( my_function2() ) { //error handler return 2; } // block of instruction 2 if ( my_function3() ) { //error handler return 3; } // // block of instruction 3 + i // if ( ... ) // } // ... // }