cloc (Count Lines Of Code) counts, and computes differences of, comment lines, blank lines, and physical lines of source code in many programming languages.

cloc is now being developed at https://github.com/AlDanial/cloc

Features

  • Count lines of code, comments, blanks in many programming languages.
  • Compute differences in lines of code and comments between two versions of a code base.

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 2.0 (GPLv2)

Follow cloc

cloc Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
14
2
1
1
2
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5

User Reviews

  • Fantastic - just what I was looking for. Nice breakdown of all source code in a directory by language, listing lines of code, blank lines and comment lines, with total, and a per-language file count. Really easy to use as well - just point it at your source directory.
  • It worked wonderfully on my MATLAB project. Thank you!
  • It just works
  • Quite useful tool! I'm fond of its multi-platform support!
  • Since for C# it is not possible to ignore "*.Designer.cs" files it isn't very useful for .NET! But it seems to be fine for C/C++. Why the hell is the .exe file so huge? (11 MB!)
Read more reviews >

Additional Project Details

Operating Systems

BSD, Cygwin, Linux, Windows

Intended Audience

Advanced End Users, Developers, Quality Engineers

User Interface

Command-line

Programming Language

Perl

Related Categories

Perl Project Management Software, Perl Documentation Software, Perl Profiling Software

Registered

2006-08-11