metrics

Free Code Metrics Tool for .NET (should be callable directly from NAnt via Console)

Hi Everybody, I am looking for a free code metrics tool for .NET (mainly C# language). I have searched the web, but haven't found anything that matches my requirements. Requirements 1. LOC and CC metrics (mainly) 2. NAnt intregration is possible 3. No configuration file needed (provide the source files and config parameter via console ...

Where can I get key metrics of most well known commercial software packages?

I'm interested to find some information about codebase size, number of developers, number of commits, duration of development, etc. for commercial software, including: IE, MS Office, Oracle Server, Microsoft IIS, Visual Studio, Windows. Any ideas where to get this information? ...

Lines counted raw or nonblank noncomment

When the size of a code base is reported in lines, is it more usual/standard to report raw wc count, or nonblank noncomment lines? I'm not asking which measure should be used, only, if I see a number given with no other information, which measure it is at best guess more likely to be. ...

Criteria to judge code quality in interviews

Hello, During Technical interviews involving coding question what criteria do people use to evaluate code. Assuming there are multiple ways to code the same problem, what metrics can be used to evaluate and compare the answers objectively. The Interview is typically 1 hour long Some of the things I use are Correctness Brevity and...

Metrics for NetBeans 6.9.x

Hello! I've been an avid Eclipse user for my Java development for a while, but as of late I'm beginning to enjoy developing using NetBeans 6.9.1 more thanks to the faster (IMHO) code completion and the powerful templates and refactoring tools. Anyway, the one thing that I'm missing is some tool to analyse my code's Metrics. I found a p...

who are the current thought leaders in the area of software metrics?

I wonder who are the best thought leaders working in the field of software metrics today? ...

Surprising Software Engineering Metrics

What's the most interesting/surprising Software Engineering metric you know? For example, I find that "50% of all projects are considered failures" is quite frightening. ...

Is there any automated metrics collector for my Java project?

I'm trying to collect software code metrics in my Java project on every cycle of continuous integration. I'm interested mostly in size-related metrics like number of classes, number of methods, function points, lines of code, etc. I would like to get a summary report with these metrics in some XML file. Later I will use it in project rep...

How do I calculate x-height i.e. ex of a Font object?

The x-height is a font metric, that is given in terms of the em-height, and is approximately 0.48 of an em, but this depends on the font... In CSS these two units are available, I am interested in the ex unit. There is also an em unit, such that the ex unit is given in terms of it. The following table shows some metrics, available thro...

How do I convert between a measure of similarity and a measure of difference (distance)?

Is there a general way to convert between a measure of similarity and a measure of distance? Consider a similarity measure like the number of 2-grams that two strings have in common. 2-grams('beta', 'delta') = 1 2-grams('apple', 'dappled') = 4 What if I need to feed this to an optimization algorithm that expects a measure of differen...