skwzrd / lines_of_code

Counts loc within a specified root directory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lines of Code

Summary

A simple script to count the lines of code in a given directory.

Note that loc refers to lines which are not purely whitespace. loc and blank are separate sets of lines.

Configs

  • root the root directory that you want searched.
  • exts the file type extensions you wish to parse.
  • exclude_dirs the directories you want to skip.
  • output_checked_files whether or not to print the parsed filepaths.

Preview

Preview

About

Counts loc within a specified root directory.


Languages

Language:Python 100.0%