cloc - Count Lines of Code

  •        268

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

Its features include:

  1. Exists as a single, self-contained file that requires minimal installation effort---just download the file and run it.
  2. Can read language comment definitions from a file and thus potentially work with computer languages that do not yet exist.
  3. Allows results from multiple runs to be summed together by language and by project.
  4. Can produce results in a variety of formats: plain text, SQL, JSON, XML, YAML, comma separated values.
  5. Can count code within compressed archives (tar balls, Zip files, Java .ear files).
  6. Has numerous troubleshooting options.
  7. Handles file and directory names with spaces and other unusual characters.
  8. Has no dependencies outside the standard Perl distribution.

http://cloc.sourceforge.net
https://github.com/AlDanial/cloc
http://sourceforge.net/projects/cloc

Tags
Implementation
License
Platform

   




Related Projects

Ohcount - The Ohloh source code line counter

  •    C

Ohcount is a library for counting lines of source code. It was originally developed at Ohloh. It supports multiple languages within a single file: for example, a complex HTML document might include regions of both CSS and JavaScript.

scc - Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go

  •    Go

A tool similar to cloc, sloccount and tokei. For counting physical the lines of code, blank lines, comment lines, and physical lines of source code in many programming languages. Goal is to be the fastest code counter possible, but also perform COCOMO calculation like sloccount and to estimate code complexity similar to cyclomatic complexity calculators. In short one tool to rule them all and the one I wish I had before I wrote it.

Line Counter

  •    DotNet

A tool for calculating the number of lines of code or text files, you can also develop your own counter plug-in to support other file types.

XLineCounter , source code line counter

  •    

XLineCounter is a open source C# program to analyze source code files and count number of source code line. It can count number of source line, comment line and blank line. It support C#.NET 2003/2005,VB.NET2003/2005,VB6.0,Delphi,SharpDevelop1.1.

Code Line Counter -- counts CSharp and any other source code format

  •    DotNet

CodeCounter is a command line utility program for counting lines of source code. Currently it supports C#, SQL and XAML. CodeCounter is easily extensible to process other source code types, such as fortran. (see documentation download for details).


lfsr-counter-generator

  •    C

A command-line application that generates Verilog or VHDL code for an LFSR counter of any value up to 63 bit wide. The code is written in C for Win32 platform

Source-1-Games - Source 1 based games such as TF2 and Counter-Strike: Source

  •    

This is the README for the Source 1 based games. Source 1 based games include Team Fortress 2, Left4Dead2, and Counter-Strike: Source. Please use this repository to report bugs and feature requests for Team Fortress 2, Counter-Strike: Source, Left4Dead2, and the Source 1 Engine.

Sharepoint - Hit Counter Webpart

  •    

Sharepoint Hit Counter webpart is all about displaying the authenticated user hits, if a user is new to current page on the day, the code adds a record to Statistics list, if the same user visits the same page the code just returns out from condition and do nothing

Tcl Golems

  •    Perl

Tcl Golems is a package of utilities designed to make life easier for Tcl / Tk programmers. The Golems are cross-platform and text-only (GUI-less). Golems included are: 1) source code line counter; 2) mis-matched braces / brackets / quotes code checker

SLOC Counter

  •    

SLOC Counter is a small and simple tool for count the actual Lines of Code (LOC) as well as the Source Lines of Code (SLOC)

Counter Strike Live

  •    

web Browser based online 2d Shooter, clone of Counter Strike. It supports multiplayer game over internet or lan. And its Free to play! open souce!

Counter - A simple example of the VIPER architecture for iOS apps

  •    Objective-C

Counter is a simple app showing the basics of the VIPER architecture, a version of Uncle Bob’s Clean Architecture for iOS apps. Counter shows the use of a View, Presenter and Interactor. It does not make use of a data store or a Wireframe for navigation. The inspiration for Counter comes from Jon Reid’s UIViewController TDD screencast.

reclare - Declarative State and Logic Management

  •    Javascript

Reclare is a lightweight library to manage the application state alongside business logic, without compromising from the predictability of the state. It is inspired by Redux and the Elm architecture and includes many of the familiar concepts. Upon the broadcast of increment, the first declaration will be invoked. It will increment the counter and log the updated number. decrement event hits two declarations. First one only invokes when the counter is greater than zero and decrements the counter. Second one invokes when counter is zero, and alerts the error message.

Fluent NHibernate - Fluent mapping for model

  •    CSharp

Fluent, XML-less, compile safe, automated, convention-based mappings for NHibernate. Fluent NHibernate offers an alternative to NHibernate's standard XML mapping files. Rather than writing XML documents, you write mappings in strongly typed C# code. This allows for easy refactoring, improved readability and more concise code.

pipal - Pipal, THE password analyser

  •    Ruby

On most internal pen-tests I do, I generally manage to get a password dump from the DC. To do some basic analysis on this I wrote Counter and since I originally released it I've made quite a few mods to it to generate extra stats that are useful when doing reports to management. Recently a good friend, n00bz, asked on Twitter if anyone had a tool that he could use to analyse some passwords he had. I pointed him to Counter and said if he had any suggestions for additions to let me know. He did just that and over the last month between us we have come up with a load of new features which we both think will help anyone with a large dump of cracked passwords to analyse. We also got some input from well known password analysts Matt Weir and Martin Bos who I'd like to give a big thanks to.

TerraStats Counter-Strike Source Plugin

  •    PHP

A full-featured stats plugin for Half-Life 2: Counter-Strike Source. The TerraStats system allows for single website publishing as well as grouped publishing for multiple servers.

PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!

  •    PHP

PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code.PHPStan moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.

Counter-Strike Server Admin

  •    C++

If you have a Counter-Strike Server (running on windows) and you have to administrate it, then is this tool what you want. Its a Server/Client tool, so you can control remotely your Counter-Strike gameserver.

CRM 2011 Auto Counter

  •    

This solution is to enhance the auto counter function in CRM 2011. It allow user to configure counter for all entities including custom entities. It also works on CRM Online

Hidden PHP eBay Counter System (HPECS)

  •    PHP

This software project aims to create an easy to use eBay hidden counter system in php that reports more accurate, more informative, free, and just more data than commercial auction counter tools. Links your auctions to a php script that logs connections.