|The deterministic mode report shows you how RSM determines each physical
line within a source file. Many metrics tools report the sum of Lines of Code,
comments and blank lines equal to the number of physical lines within a source file.
Many programmers place comment and code on the same physical line. This practice
raises the question what did the tool count as the sum of LOC, comments and blanks
physical lines? RSM removes this question and counts all the entities within source
Logical lines within a source file are defined as the sum of all LOC,
comments and blanks. This metric typically exceeds the physical lines within a
source file, indicating that source code and comments exist on the same physical line.
Non effective lines of code are those lines which are subtracted from the LOC metrics
to yield the eLOC or Effective Line of Code metrics. M Squared Technologies LLC has
originated the concept of eLOC as this metric accounts for the quality of work performed
within a source file. Measuring LOC which includes lines of single braces and
parenthesis, artificially inflate the quantity of work performed and measuring just
Logical Lines of Code or code statements under estimates the true quantity of work
performed. We have found the eLOC most closely matches your intuitive estimates for
the size of functions and modules.