Code Counter icon

Code Counter

  n/a
Certified 100% FREE GPL   

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  

Softpedia Review

Free Download

Review by:
3.0/5

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
  3 screenshots:
Code Counter - Count all code and comment lines from BASIC files, namely those with .bas, .bi and .vb format, from a command-line interfaceCode Counter - Find out all code and comment lines from C and C++ files, namely those with .c, .cpp and .h extensions, from a console-based environmentCode Counter - Calculate all code and comment lines from web files, such as .html, .htm, .css, .js and .sql, using a Command Prompt window
  main category:
Programming
  developer:
  visit homepage

IrfanView

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

ShareX

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Windows Sandbox Launcher

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

7-Zip

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

4k Video Downloader

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Context Menu Manager

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

Bitdefender Antivirus Free

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Microsoft Teams

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

calibre

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

Zoom Client

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

% discount
Microsoft Teams
  • Microsoft Teams
  • calibre
  • Zoom Client
  • IrfanView
  • ShareX
  • Windows Sandbox Launcher
  • 7-Zip
  • 4k Video Downloader
  • Context Menu Manager
  • Bitdefender Antivirus Free
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy