What is SLOC (answer and example)?

0

What is SLOC?

SLOC means “Source Lines Of Code”. That is, how many lines a program has, without counting the blank lines.

When someone wants to say how small his / her program is: “My program is only 30 SLOC, yet it does this and that.”

Example:
The program below has 10 lines, out of which 7 SLOC (lines 1, 3, 5, 6, 7, 8 and 9) and 3 empty lines (lines 2, 4 and 10).

What is SLOC (answer and example)?

Have you seen this?

0