(cherry picked from commit 32bf210d6b6a76a8b6e38b65a726b52698e17b71)
cloc
Description
cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.
Software Architecture
Software architecture description
Installation
npm install -g cloc # https://www.npmjs.com/package/cloc
sudo apt install cloc # Debian, Ubuntu
sudo yum install cloc # Red Hat, Fedora
sudo dnf install cloc # Fedora 22 or later
sudo pacman -S cloc # Arch
sudo emerge -av dev-util/cloc # Gentoo https://packages.gentoo.org/packages/dev-util/cloc
sudo apk add cloc # Alpine Linux
doas pkg_add cloc # OpenBSD
sudo pkg install cloc # FreeBSD
sudo port install cloc # macOS with MacPorts
brew install cloc # macOS with Homebrew
choco install cloc # Windows with Chocolatey
scoop install cloc # Windows with Scoop
Instructions
cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> |
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Description
Languages
RPM Spec
100%