metrics

Calculating packet loss, jitter and delay.

I am streaming an rtsp video to Android. How could I calculate network metrics like packet loss, jitter or delay? ...

Putting a dollar value on code quality

As noted in another thread, "In most businesses, code quality is defined in dollars." So my company has an opportunity to acquire a large-ish C code base. Obviously, if the code quality is good, the code base is worth more than if it's poor. That is, if we can readily read, understand, and update the code, it's worth more to us than if...

Funny software metrics that have a relevant value

As a software developer, I've seen lot of different software metrics, mainly about code quality and bug-tracking. I have heard of a "Dilbert metric", which is "how many people read and laugh at Dilbert comics in your team", which shows how bad your company/organization is. There is also the "WTF per minute" during code reviews : http:...

Code metrics of php - Notepad++

Hello! In particular, I am interested to know how many lines of codes there are, but this spans across many files. I have been using notepad++ to author the code and for each file it does display line numbers but of course I have empty returns to make the code more readable. Does anyone know of a plugin or tool that I can accurately g...

Comparing development time

For a project, I need to analyze the differences in development time between two different frameworks to implement the same thing. I can't just time myself writing one then time myself writing the other, because I will almost inevitably write the second one faster having experienced pitfalls and fixes while writing the first one. My fi...

Measuring code reusability

I am trying to measure how much of the code produced in our organisation is actually reusable and I'd like to set some guidelines. I'd like to have some reference to outer world: How much code is typically reused in a single application ? More specifically - if we consider all the code of a complete end-user product (and eventually excl...

Lines of Code in Eclipse PyDev Projects

I'm wondering if anyone has had any luck using the Eclipse Metrics Plugin with Projects that are not in Java (specifically I'm trying to generate code metrics for a couple of PyDev Projects). I've read through the walk-through for the Metrics project but it indicates that I should be in the Java Perspective before accessing the Properti...

how to collect metrics or time taken by GIT commands to complete

I need a help in collecting some metrics like how much time a GIT command or a script took to run. Am aware that appending time before the command would give the time taken to complete the GIT command, But is there a better way or a tool for monitoring or collecting the metrics so that the tool calculates the time for each GIT comman...

Suggested thresholds for some software metrics

Hi everybody, I was searching the internet for some suggestions for thresholds for the following well-known software product metrics: Lack of Cohesion in Methods (for the Henderson-Sellers variant of the metric) Number of Inherited Methods in a Class Number of Overriden Methods in a Class Number of Newly Added Methods in a Class H...

What are the software metrics used in solo programming?

I'm new in the field of software productivity metrics, and I'm looking for software metrics which improve solo programmer productivity What are software productivity metrics? What are the parameters that I should measure, and how to do that? What is the difficulty with traditional software development? I have to cover all these ques...

Is collecting user usage information a popular practice?

Do most web applications log and warehouse user usage information? I assume the big guys like google and facebook do, but is the practice widespread? If so, what are the major uses for this information and are there any best practices for collecting and using it? Any anecdotes about why this is worthwhile or what you gained from your ...

How to count lines of Java code using IntelliJ IDEA?

The title says it all. I know I've used the feature in the past, but I have no idea how I did this before. It must be something simple, right? ...

Metrics for programmer self evaluation

I'm programming from home and I want to know whether I'm more or less productive programming at 10 AM than I am when I'm programming at 8PM. What metrics should I use to determine an answer to the question? ...

Is there a nice GUI available for showing Hibernate statistics?

Hibernate exposes many internal metrics via the Statistics API. Is there an easy-to-use GUI that I can use to visualize these statistics? Bonus if there is a Grails plug-in for this. ...

Has someone experiences with metrics for Design-By-Contract or can recommend metrics to measure the usage of Design-By-Contract in a code base?

We are currently introducing Design-by-Contract to a software development group of about 60 developers, which are developing different components. We started by defining Design-By-Contract policies for C# and Java. To measure the progress we are counting the number of classes and the number of contract assertions (Preconditions, post con...

How good is my error in data mining

Hi, I'm trying to calculate how good are my measurements in machine learning! Let's say that I have five choices, and that error is 4,2, 0.002, 3, 6. Naturally, I will pick third one for the hit, but I would like to say following: I'm X% certain that hit is third pick I'm Y% certain that hit is first (last) pick Of course, X>>Y but I ...

Collecting Application Metrics in Java (optionally .Net)

I want to be able to expose various time and count based metrics dynamically from my applications. Perf4j works out pretty well for the time ones but does not allow for count in a straightforward way that I'm aware of. for instance I can do StopWatch dbWriteTime = new Log4JStopWatch("ServiceName:DBWrite"); dbWriteTime.start(); ... exec...

How can I visualize changes in a large code base quality?

One of the things I’ve been thinking about a lot off and on is how we can use metrics of some kind to measure change, are we going backwards or not? This is in the context of a large, legacy code base which we are improving. Most of the code is C++ with a C heritage. Some new functions and the GUI are written in C#. To start with, we co...

using software metrics for measuring productivity of pair programming

what are the software metrics that can be used to measuring the performance of pair programming ? to be clear is there any metrics used to measure pair programming specifically and does not use to measure the individual programmer ? what are the parameters used for measuring ? for example:if we want to measure the cost for both indi...

Getting NDepend to recurse through an input directory finding all assemblies/source across multiple projects

I am using a NAnt build script to call NDepend with the required command line arguments. <exec program="NDepend.Console.exe" basedir="${NDependPath}"> <arg line="${NDependProjectFilePath} /indirs ${NDependInDirs} /outdir ${NDependOutputDir}" /> </exec> But what I am looking for is to get NDepend to recurse through all subdirectorie...