A simple program which counts the lines and words in a directory or a file or even in a git repository and classifies them based on their extensions. This program has been written in java (version 15).
Proper format for calling the program :
akolc [options] [local address/git repo address] [file address for saving result]
Options :
-l
: This option indicates that the given address is a local address.-g
: This option indicates that the given address is a git repository address.-h
: This option tell the program to include hidden files and directories in the counting process.-s
: This option can be used to save the result of the analyzing in a file. The file address should be mentioned as the third argument.
*** Note 1 : If no option is set, the program will assume that the given address is a local address, so for analyzing a git repo you should definitely use "-g" option.
*** Note 2 :akolc
command can be used directly without any option or address. In that case program will ask you what you want to do.
You can install akolc on ubuntu or debian by downloading the debian package from this link :
https://github.com/SakoDroid/Line-Counter/releases/download/1.1.2/akolc_1.1.2-1_all.deb
For other distros you can install akolc by downloading the link below and extracting the archive to your root directory :
https://github.com/SakoDroid/Line-Counter/releases/download/1.1.2/akolc-1.1.2-linux.tar.gz