seventh / codemetre

codemetre is able to produce source line count and comment line count for languages such as Ada95, C++, or Eiffel. It also proposes different models to measure effort between two versions of a file.

Home | Edit | New

Home

codemetre is a console-based tool that determines the number of physical source lines of a file. It means that once comments have been filtered, every non-empty line counts as 1. codemetre is also able to produce the number of comment lines. codemetre recognizes different languages, currently Ada, C, C++ and Eiffel.

One interesting feature of codemetre is that it can produce differential metrics, according to different models. So that one can measure effort between two versions of a same file for example.

It is written in Eiffel, more precisely SmartEiffel and is currently fully compatible with 2.3 version of the compiler. Nevertheless, pre-compiled source (in ANSI C language) is made available for easy distribution, and also RPM package designed for Fedora distribution.

Translation welcome ! Now codemetre supports i18n/l10n, first translations in english and french are available. You are invited to propose translation of the output messages in your own language.

Proposals for enhancement are also welcome: which languages would you like to see supported, what other features do you require? Do not hesitate to contact me.

You can also find a performance comparison report here

Last edited by seventh, Tue Feb 03 01:52:14 -0800 2009
Home | Edit | New
Versions: