Codeometer is a powerful CLI tool for analyzing code statistics across your projects.
Codeometer provides detailed code analysis for your projects, helping you understand your codebase size, composition, and structure. It automatically detects project types and provides relevant statistics while excluding auto-generated code.
- Automatic project type detection (Node.js, Python, Java, Rust, Go, Ruby, PHP, C/C++)
- Counts lines of code across multiple file types
- Distinguishes between hand-written and auto-generated code
- Optional comment line counting
- Support for hidden files and directories
- Colored and formatted output
- Progress bar for large projects
- Detailed statistics and percentages
Codeometer is packaged for Debian-based systems. To install, download the DEB file and open it in an app installer.
If you don't have an app installer, download the file and run this command:
sudo dpkg -i codeometer_1.2.0.deb
- bash (version 4.0 or later)
- find
- wc
- awk
- tput (for terminal formatting)
Basic usage:
codeometer /path/to/project
Available options:
codeometer [OPTIONS] /path/to/project
Options:
--no-color Disable colored output
--no-format Disable formatted output
--hidden Include hidden files and directories
--comments Count and display comment statistics
--version Display version information
--help Display this help message
Count lines in a Python project:
codeometer /path/to/python/project
Include hidden files and count comments:
codeometer --hidden --comments /path/to/project
Contributions are welcome! Please feel free to submit a Pull Request.
Codeometer is licensed under the MIT License.
Maintainer: BestCodes