The following abbreviations are used in beSOURCE in relation to the Lines of Code calculation:


  • TLOC - Total Line of Code.
  • LOC - Line of Code. Counting code lines which include a statement.
  • CLOC - Comment Line of Code. Counting code lines which includes a comment.
  • BLOC - Blank Line of Code. Counting blank lines.


For TLOC, you can duplicate CLOC and LOC. For example, if your source code line includes a statement and a comment together, CLOC and LOC are counted at the same time.


TLOC is counting all lines of one source file. Therefore, TLOC can be smaller than sum of LOC and CLOC.


 For more information, see the Line of Command guide in Help menu.