Skip to content

kivancgnlp/Rust_Lines_Of_Code_Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lines Of Code Counter

Counts LOC in source files ( cpp,h,rs,py,c, ... ) by recursing into given path and also reports percentages of the LOC per file extension.

Build & Run instructions :

  1. Install Rust: https://rustup.rs
  2. Clone or unzip project
  3. cd project
  4. cargo build
  5. cargo run -- [path]

Example Run :

cargo run -- ../../

Discovering source files in : ../../
File traversal done. 16 suitable source files found.
Total lines of code : 21112
cpp        =         54 ( % 0.2557787 )
rs         =      21058 ( % 99.74422 )

About

Counts LOC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages