Count all code and comment lines from all programming files and scripts in a directory using this command-line tool with support for HTML, CSS, SQL and others #Code line counter #Code line number #Analyze source code #Counter #Count #Source
Code Counter is a small-sized and simple-to-use application that can count code and comment lines in source code. It offers support for BASIC (.bas, .bi, .vb format), C and C++ (.c, .cpp, .h) and web files (.html, .htm, .css, .php, .inc, .tpl, .js and .sql).
The tool can be accessed only from the command-line environment since it doesn't come wrapped in a graphical interface. However, it has commands intuitive enough to be used even by those with little experience in CMD tools.
It's not packed in a setup kit, so you can copy the downloaded files anywhere on your computer as well as store it on a removable storage device to directly run Code Counter on any machine without installation, in order to analyze files. The source code is also available.
To use this app, open a Command Prompt window, go to its directory and type the file name. The syntax is codecounter -b | -c | -w, where -b tells the tool to analyze .bas, .bi and .vb files, -c is responsible for .c, .cpp and .h, while -w instructs the program to examine only .html, .htm, .css, .php, .inc, .tpl, .js and .sql files.
Before doing this, however, make sure to place the files you want to submit for analysis in the same directory as Code Counter. Unfortunately, there is no command implemented for examining any selected folder or individual files.
As far as the results are concerned, you can find out the number of comment and code lines for each supported file, as well as the total analyzed files, comment, code and non-blank files.
It would've been helpful if the developer integrated options for autosaving all these details to file or for doing this yourself by entering a command. On the other hand, you can select the text with your mouse and copy it to the Clipboard by pressing Enter.
To sum it up, Code Counter provides you with a simple method for counting all comment and code lines within source code. It worked smoothly on Windows 10 in our evaluation and had low impact on the computer's performance.
Code Counter 1.1
add to watchlist add to download basket send us an update REPORT- runs on:
- Windows All
- file size:
- 61 KB
- main category:
- Programming
- developer:
- visit homepage
IrfanView
ShareX
Windows Sandbox Launcher
7-Zip
4k Video Downloader
Context Menu Manager
Bitdefender Antivirus Free
Microsoft Teams
calibre
Zoom Client
- Microsoft Teams
- calibre
- Zoom Client
- IrfanView
- ShareX
- Windows Sandbox Launcher
- 7-Zip
- 4k Video Downloader
- Context Menu Manager
- Bitdefender Antivirus Free