Skip to content

A simple script to count actual lines of code in a file

Notifications You must be signed in to change notification settings

Goddesen/easysloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

A script for counting actual lines of code in a file.

Works for both line- and block-comments.

Nested comments are not implemented.

Assumes comments aren't placed haphazardly: Lines containing a block comment start or end character are counted as comment lines. example:

printf("Hello World!\n") /* comment comment comment
* comment */ printf("Hello World!\n");

is counted as 2 comment lines.

About

A simple script to count actual lines of code in a file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages