Source Lines Of Code

Views Updated: Dec 15, 2025

Key Facts

Abbreviation
SLOC
Pronunciation
/sɔrs laɪnz əv koʊd/
Category
Academic & Science
Related Field
Electronics

Examples in Context

  1. Measure : Source lines of code ( SLOC )
  2. Effort per defect, defects per sloc ( source lines of code ), defects per module / component, defects by injection point, defects by age, defects by state.
  3. Thin large class code smells by counting source lines of code using PMD ( or JavaNCSS ) and providing refactorings such as Extract Method
  4. JavaNCSS is a free tool that provides various code measurements such as the number of non-commenting source statements ( or lines of code ) and the cyclomatic complexity number of all analyzed methods.
  5. One of my favorite open source libraries ( and indeed platforms ) that almost always yields fewer lines of code to produce working applications is Groovy ( see Resources ).

Other meanings of SLOC