How to count
1.Total LOC
2.Number of Non Blank Lines
3.Source LOC:Without comments and blank lines
4.Logical LOC: Number of program statements
5.Number of Single comment line
for any given file?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Mar 19, 2016, 10:22 AM EDT
Krishna Rajput SinghRank #605 · 4K reputationPosted Mar 20, 2016, 3:45 AM EDT