Crates.io | locmess |
lib.rs | locmess |
version | 1.0.0 |
source | src |
created_at | 2021-03-17 20:21:34.197435 |
updated_at | 2021-05-04 18:37:55.314251 |
description | look at the mess that are your LOC |
homepage | |
repository | https://github.com/Canop/locmess |
max_upload_size | |
id | 370281 |
size | 122,624 |
Do you ever wonder about the distribution of LOC lengths in your source files ?
No ?
I do so I made LocMess.
As an answer may bring another question, locmess tries to answer it too:
and if you have yet another question, it's probably for git blame
.
The source code of LocMess, which is totally not messy, may serve as a reasonnable basis for many kinds of transplatformy CLI applications. It's small so there's not much to remove to get to the pure boilerplate.
You'll need the rust toolchain, which you may find at https://rustup.rs
Then do
cargo install locmess
You'll find them in https://dystroy.org/locmess/download
To compute LOC stats on all not gitignored files in the current directory, do
locmess
You may also pass a path as argument.
Other options are explained with locmess --help
.