metrics

How to present your code to potential buyers?

I'll do a demo of my code to slightly non-technical audience, and I need to show them what I've got in my project (about 15K lines of code). I'm trying to convince them that I've spend time on the project and it's in a good state. These guys planning to invest money into this product. Therefore I should convince them that this app worth...

comparing code size vs source size

There are plenty of script/tools for counting line of code, and some to count functions size in terms of line of code. But here I'm looking to a way to measure function size in terms of bytes of generated code. Does anyone know a way/tools to extract this information from a .lib or a .dll? For example, I know how to list function name...

How to measure # of lines of code in project?

How can I measure number of lines of code in my PHP web development projects? Edit: I'm interested in windows tools only ...

VS2008 Team Edition Code Metrics - Skip Generated Code?

According to this blog the build in code metrics feature in VS2008 Team Edition is suppose to be smart enough to skip generated code. It's not. Is there an option somewhere that I need to set? ...

What is the most effective way to present and communicate a performance improvement (e.g. percentages, raw data, graphics)?

Is it better to describe improvements using percentages or just the differences in the numbers? For example if you improved the performance of a critical ETL SQL Query from 4000 msecs to 312 msecs how would you present it as an 'Accomplishment' on a performance review? ...

How can I consume Firebug net panel data programmatically?

My agile team will be adding new features to a existing realty website. As we add the features we want to have a better handle on the site's overall performance as well as the performance of particular pages. I would like to automate the gathering of performance metrics on a request/response basis for each page (e.g. what sub requests...

How can you get the height metric of a string in PostScript?

You can obtain the width of a string in the current font with stringwidth and although this actually pushes offset coordinates on the stack, the y-value always seems to be useless. Is there a way to determine the exact height of a string, that may or may not include descenders? ...

What metrics would be usable to determine expertise level in a particular programming language

I am interesting in the raw (or composite) metrics used to get a handle on how well a person can program in a particular language. Scenario: George knows a few programming languages and wants to learn "foobar", but He would like to know when he has a reasonable amount of experience in "foobar". I am really interesting in something broa...

C# Code Coverage metrics

Is there a free commercially available code coverage tool (down to invidual LOC level) available? I am aware of VS2008 Team Edition, but unfortunatly do not have the budget to perchase a license! So Im looking for a free (as in beer) alternative. Any Ideas? ...

Language Popularity for Greenfield?

Are there any good metrics of which programming languages are most popular for greenfield development, i.e. development that is not significantly constrained by legacy code? IMHO this is the most meaningful definition of popularity, since it tells you what people are choosing when their choices are relatively unconstrained by choices ma...

Linux tool to show SLOC and SLOC modified, added, removed

Hi, I am currently using the SLOCCOUNT tool for gaining source lines of code (SLOC) for a codebase. However, it doesnt support comparing two versions of the codebase and then report: Lines of code (LOC) modified LOC removed LOC added Can anyone suggest a linux based (preferably free) tool to do this? ...

What is the best way to optimize or "tune" LINQ expressions?

When constructing LINQ expressions (for me, linq to objects) there are many ways to accomplish something, some much, much better and more efficient than others. Is there a good way to "tune" or optimize these expressions? What fundamental metrics do folks employ and how do you gather them? Is there a way to get at "total iterations...

What metrics to calculate if writing specification is worth its time?

What metrics to use and how to make calculations if writing specification for a new programming project is worth doing it and spending time (and money)? ...

Visual Studio code metrics plugin for C++

Is there a VS2008 plugin for code metrics for C++? I have Team System but it doesn't work for non- .NET code. I tried studioTools but it just freezes. So, does anyone know one that actually works? ...

Over Optimistic Daily Productivity

I'm a junior developer and have been working since I graduated last summer so coming up to a year now. I have this issue that is starting to get to me. Every night I think back to what I did that day, feel bad that I didn't get as much done as I would have liked and then tick off in my head all the things I'll get done the following day....

Does bitrot have any accepted dimensions?

Every modern source control system can slice and dice the history of a program. There are many tools to statically and dynamically analyze code. What sort of mathematical formula would allow me to integrate the amount of activity in a file along with the number of deployments of that software? We are finding that even if a program com...

Tracking and prediciting quality level

What techniques do people recommend to track the quality level of a new program? Are their ways to take a poorly defined term like "quality level", quanitify it and then make predictions? Currently I use bug rates and S curves but I am looking for other ways to evaluate, estimate and predict quality levels. ...

Do you find cyclomatic complexity a useful measure?

I've been playing around with measuring the cyclomatic complexity of a big code base. Cyclomatic complexity is the number of linearly independent paths through a program's source code and there are lots of free tools for your language of choice. The results are interesting but not surprising. That is, the parts I know to be the hairi...

.Net Performance/Event Monitoring

I'm looking to do both event tracking/monitoring from applications (i.e. real-time business metrics being emit from applications) and general performance monitoring (i.e. CPU usage, mem Usage etc...). I'd like to be able to have the metrics collected to a central location where they could be reported on etc... Also I'd like to be able to...

Bug Metrics -- What can I get from my Bug Database?

As part of a internal research project, we are trying to collect some metrics from a Bugzilla database; we already have found a tool to help us collect some metrics from it (BugzillaMetrics) but we are now asking ourself what metrics should we collect? Now, that is why I would like to ask you: ** What Kind of Metrics about Bugs do you...