Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nSLOCer

This is a small command line tool to get the normalized source lines of Code (nSLOC), written in Rust. Currently it supports the following languages:

  • Go
  • Rust
  • Solidity
  • Javascript

It is based on tokei, which does most of the heavy lifting.

Prerequisites

To use nslocer with Rust files you need to have rustfmt installed and in your PATH.

Installation

To install from source using cargo.

cargo install https://github.com/Shogoki/nslocer

Usage

After installation you can simply call nslocer.

Example:

nslocer

Full Help

nslocer --help
A simple tool to calculate normalized lines of code, utilitizing tokei in the background

Usage: nslocer [OPTIONS]

Options:
  -p, --path <PATH>                    [default: .]
  -e, --excluded-path <EXCLUDED_PATH>  Exclude path from being analyzed
  -h, --help                           Print help
  -V, --version                        Print version

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages