metrics

Metric for Program Size

I have been asked to give a metric as to the size of a corporate application. The application in question is a web based application and I am not sure how to quantify its size. Obvious but not useful metrics would be lines of code, number of files etc. What are some suggested means of determining the size of an application that will prov...

StatHG is non-existent

In the CVS/SVN world, there are various statistics/metrics tools. E.G., StatCVS, StatSVN. There are others I've seen. However, I've not seen similar statistics and visualizations for Mercurial(aka hg). (1) Are there any out there? (2) If so, what are they? Thanks. ...

Metric for the impact of an application on network traffic

I'm writing an application and I'm able to set its throughput (the number of bits per second it sends over the wire) to whatever rate I wish. However, I would like to set it as high as possible, as long as other traffic on the network is not heavily impacted. The problem is, I don't have a good metric to measure that impact. I thought o...

How to convince your fellow developer to write short methods?

Long methods are evil on several grounds: They're hard to understand They're hard to change They're hard to reuse They're hard to test They have low cohesion They may have high coupling They tend to be overly complex How to convince your fellow developer to write short methods? (weapons are forbidden =) question from agiledevelo...

Can my PDF ping my server when it is opened?

I have a daily cron job that email PDFs to customers. I want to get a measure of how many of those PDF files are opened. What techniques are available? The standard technique in a web page is to include an img tag with a src reference to a server endpoint that records the ping. But it seems that PDF doesn't allow external image refere...

Fast Lightweight Image Comparisson Metric Algorithm

Hi All, I am developing an application for the Android platform which contains 1000+ image filters that have been 'evolved'. When a user selects a photo I want to present the most relevant filters first. This 'relevance' should be dependent on previous use cases. I have already developed tools that register when a filtered image is ...

Easy performance metrics for SQL Server 2000

The reports that I use (and update) are taking a long time (some take hours). I felt this is far too long and asked previously about this. After taking a long look at various web sites that discuss SQL performance, they all take the stance of being DBA's. However I'm not, and neither are my colleagues (I guess if we had a DBA then we wou...

Mythical man month 10 lines per developer day - how close on large projects?

Everybody always says that they can beat the "10 lines per developer per day" from the "Mythical Man Month", and starting a project, I can usually get a couple hundred lines in in a day. But at my previous employer, all the developers were very sharp, but it was a large project, over a million lines of code, with very onerous certificat...

Code metrics

I'm just curious about what kind of code metrics people are using and opinions/experience on the most effective use of code metrics. All of our code, regardless of language, uses the following: Cyclomatic Code Complexity Lines of Code Coupling (has different meanings for OO languages than in procedural and templating languages) The ...

Eclipse metrics plugin suggestion.

I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...). Does anyone know a good eclipse plugin that could provide me some some code metrics? ...

Software quality metrics

I was wondering if anyone has experience in metrics used to measure software quality. I know there are code complexity metrics but I'm wondering if there is a specific way to measure how well it actually performs during it's lifetime. I don't mean runtime performance, but rather a measure of the quality. Any suggested tools that would he...

Time to understand a program by LOC

Are there any broad, overgeneralized and mostly useless rules about how long it will take to understand a program based on the number of LOC (lines of code)? (I understand any rules will be broad, overgeneralized and mostly useless. That's fine.) (The language in question is Delphi, but that shouldn't matter because I'm looking for br...

How can I collect statistical data and metrics for an entire TeamCity installation?

We offer a TeamCity installation (with a number of build agents) as a shared resource to a number of distributed technology departments, across our mid-size company. Although we have a qualitative sense of how many departments and technologists are using our TeamCity installation, we'd like to start gathering some quantitative metrics ar...

tracking users progress on web site

Short version: I'm trying to determine the best way to track what the user does on our site. I.e., page they land on, what links they click, where they end up. Most of this information is stored in the log files, but is using the log file the best way for me to proceed? Long version: My boss is preparing to spend a lot of money adverti...

Analyzing code structure using CodeDom??

Hi, I recently wrote a post here on Stackoverflow asking for some C# libraries that calculate metrics, mainly CC...unfortunately with no success. So I'm going to write it myself. I did a search on the web of what could be the best approach, but before starting I'd like to ask you on how you'd do it. I'm currently between two kind of ap...

Problems of Measuring Programmer Productivity...

Ok, the question is usually, how can one measure a programmer's productivity. But I want to put a slight twist on the question. How does one measure one's own productivity when coding? Do you measure yourselves by problems solved, questions answered versus asked, or the dreaded "lines of code"? ...

How to measure software development performance?

I am looking after some ways to measure the performance of a software development team. Is it a good idea to use the build tool? Let me explain. We use Hudson as an automatic build tool. I wonder if I can take the information from Hudson reports and obtain from it the progress of each of the programmers. Thanks for any advice. Miguel. ...

Extracting the Java method text

Hello, I made a tool that measure some cohesion metrics on the Java source files, but these metrics depends that you can determine the list of attributes that are accessed by the method, to do this I made a parser that extract the method code, but I got some problems, so I ask if there any tool to parse the Java file and extract the meth...

Is there a way to check if a browser has the Alexa toolbar installed?

Is there a way to check if a browser of a visitor has the Alexa toolbar installed? This might probably be done via JavaScript. Doing this would give us the possibility to somewhat compensate for the bias of the Alexa rating of a site. See e.g. Alexa Toolbar and the Problem of Experiment Design Especially outside of the USA the Alexa to...

Good PHP Metric tools

I have been coding in PHP for a while using Netbeans but it does not provide any tools for obtaining code metrics. I have also used SourceMonitor before but it does not support PHP, same with Code Analyzer. Has anyone used and can recommend any tools for getting code metrics from PHP code? ...