cloc can also count code in archive files such as .tar (including compressed versions), .zip, Python wheel .whl, Jupyter notebook .ipynb, source RPMs .rpm or .src (requires rpm2cpio), and Debian .deb files (requires dpkg-deb).cloc...
prompt> cloc --help Usage: cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files> Count, or compute differences of, physical lines of source code in the given files (may be archives such as compressed tarballs or zip files, or git commit hashes or ...
Data scientists were placed in an exciting position; while their job in the modern era requires them to use the programming language, there are still many business aspects their job needs to remember. That’s why the Python code used by Data Scientists usually reflects storytelling on how to s...
--by-percent X Instead of comment and blank line counts, show these values as percentages based on the value of X in the denominator: X = 'c' -> # lines of code X = 'cm' -> # lines of code + comments X = 'cb' -> # lines of code + blanks X = 'cmb' -> # lines of ...
This example uses code from PuDB, a fantastic Python debugger.prompt> git clone http://git.tiker.net/trees/pudb.git prompt> cd pudb prompt> cloc 6be804e07a5db 48 text files. 48 unique files. 15 files ignored. github.com/AlDanial/cloc v 1.73 T=0.15 s (223.1 files/s, 46159.0 lines...
This example uses code from PuDB, a fantastic Python debugger.prompt> git clone http://git.tiker.net/trees/pudb.git prompt> cd pudb prompt> cloc 6be804e07a5db 48 text files. 48 unique files. 15 files ignored. github.com/AlDanial/cloc v 1.73 T=0.15 s (223.1 files/s, 46159.0 lines...
prompt> cloc --help Usage: cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files> Count, or compute differences of, physical lines of source code in the given files (may be archives such as compressed tarballs or zip files, or git commit hashes or ...
This example uses code from PuDB, a fantastic Python debugger.prompt> git clone http://git.tiker.net/trees/pudb.git prompt> cd pudb prompt> cloc 6be804e07a5db 48 text files. 48 unique files. 15 files ignored. github.com/AlDanial/cloc v 1.73 T=0.15 s (223.1 files/s, 46159.0 lines...
prompt> cloc --help Usage: cloc [options] <file(s)/dir(s)/git hash(es)> | <set 1> <set 2> | <report files> Count, or compute differences of, physical lines of source code in the given files (may be archives such as compressed tarballs or zip files, or git commit hashes or ...
In addition to counting code in individual text files, directories, and git repositories, cloc can also count code in archive files such as .tar (including compressed versions), .zip, Python wheel .whl, Jupyter notebook .ipynb, source RPMs .rpm or .src (requires rpm2cpio), and Debian ....