Windows · Free download · General

Code Counter1.1

Code Counter : 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

Operating system
Windows 10/11
File size
61 KB
License
GNU Public License
Last updated
Nov 21, 2023

127 downloads·507 page views

Sponsored

Overview

What is Code Counter?

Code Counter : 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

In depth

A closer look at Code Counter

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).

Accessible from a Command Prompt window

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.

Doesn't require installation

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.

Calculate all comment and code lines

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.

Place the files in the same location as the tool

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.

Cannot save analysis results to file

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.

Simple line counter of comments and code

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.

Verdict

Should you download Code Counter?

Code Counter runs on Windows 10/11 and is available under the GNU Public License license — the installer is 61 KB. We’ve catalogued it under General.

Verified clean. Every Code Counter build on SoftLookup is scanned for viruses, spyware, adware, trojans and backdoors. We re-test on every update.
Sponsored

At a glance

Code Counter specifications

Category
General
Publisher
CopySense
Last updated
Nov 21, 2023
License
GNU Public License
Operating system
Windows 10/11
File size
61 KB
Price
Free
Page views
507

Leave a comment

Help fellow users decide. Share your experience with Code Counter.

Download Code Counter