Code Line Counter
By Sonicarrow
V 1.0

Code Line Counter is a CLI tool to count the number of non-empty and non-comment lines of code in a document.

Support:
Python
Java
C

Installation:
Put "clc.bat" and "clc.py" in your C:\Windows folder. (For other OS, anywhere in your system path works.)

Usage:
Open a command line or terminal of choice. Navigate to the folder with the code file. Run the command:

"clc [p|j|c] <filename>"

p = python
j = java
c = c

ex:
"clc p test.py"
"clc j Random.java"

Output:
CODE LINES: 335 // number of lines of actual code
---------------------
Comments: 121 // lines within single or multi line comments
Empty Lines: 54 // lines that contain only whitespace characters
Total Lines: 510 // total lines in the file

Features

  • Supports block comments!
  • Supports Python, Java, and C!

Project Samples

Project Activity

See All Activity >

Follow CLC

CLC Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CLC!

Additional Project Details

Registered

2014-10-14