title: Can we find executable lines of code in a C/C++ source file with gcov
body: <p>gcov primarily is a code coverage tool. However, is there any way we can find LOC (excluding comments...etc) with gcov?</p>
  
  <p>It must be easy for gcov to get that information, but I didn't find any documentation on that.</p>
  
  <p>Also, let me know if you know any other tool which can calculate lines of code in such manner. </p>