2 examples for cloc

{{ score }}
  # Count lines of code recursive in a given directory 'dir'
# http://cloc.sourceforge.net
cloc dir
        
{{ score }}
  # Count distinct lines of code for every file and prints summary in the end
cloc  --by-file-by-lang