The Artima Developer Community
Sponsored Link

Weblogs Forum
Software Metrics Don't Kill Projects, Moronic Managers Kill Projects

50 replies on 4 pages. Most recent reply: May 16, 2008 1:38 PM by Thomas Cagley

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 50 replies on 4 pages [ « | 1 2 3 4 | » ]
Michael Foord

Posts: 13
Nickname: fuzzyman
Registered: Jan, 2006

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 4:04 AM
Reply to this message Reply
Advertisement
> <p>Aren't you a bit surprised that, despite the fact that software runs the world and that we spend hundreds of billions a year writing and maintaining software, there isn't a single industry-wide metric that's being used with any consistency. </p>



<p></p>
<p>Aren't you a bit surprised that, despite the fact that software runs the world and that we spend hundreds of billions a year writing and maintaining software, there isn't a single <em>programming language</em> that's being used with any consistency.</p>

<p>Oh wait, maybe not. :-)</p>

David Halonen

Posts: 5
Nickname: dhalonen1
Registered: Oct, 2007

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 4:21 AM
Reply to this message Reply
In the USA, the most precisely measured people are the most handsomely rewarded. Sports & other entertainment folks.

Technical folks are "above" that sort of thing, leaving executives to measure our performance by: high salaries, bug counts, missed dates, incomplete features... Leaving execs to realize: Hey! I can buy the last 4 for 1/16 the price overseas!

There isn't a metric that will satisfy everyone, but there *has* to be some way for your group/dept to measure itself. Otherwise, how do you know you're doing things better?

It is in our interest to develop meaningful metrics.

Uwe Schnitker

Posts: 9
Nickname: uwe
Registered: Aug, 2003

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 5:23 AM
Reply to this message Reply
> Joel is not a big fan of software metrics in general.
> He is concerned that developers might end up writing code
> and allocating their time to satisfy a specific metric
> rather than writing the best possible code and allocating
> the time based on more important criteria. He narrated a
> couple of stories about horrific metrics misuse that he
> witnessed first-hand and was concerned that - in the wrong
> hands - the CRAP metric could be used in, say, performance
> reviews: You code is too crappy. You're
> fired!

It's funny that Joel reacts to the CRAP metric in that way. When I read about the new feature in FogBugz - Evidence-Based Scheduling - one of my reactions was: What if management decides to use the computed velocity in performance reviews?

Bill Pyne

Posts: 165
Nickname: billpyne
Registered: Jan, 2007

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 6:54 AM
Reply to this message Reply
David, I agree with your conclusion but not totally with how you arrived at it.

> In the USA, the most precisely measured people are the
> most handsomely rewarded. Sports & other entertainment
> folks.

Assembly line workers are precisely measured and the disparity between their pay and a top athlete's pay is large. With the Film sub-industry, your ability to get callbacks is your single metric of importance in your asking price. If 2 or 3 producers want Claire Danes for their films simultaneously, she's in a position to ask for a higher percentage of gross revenues. Our industry flooded the market with labor in the latter 90's, effectively stagnating pay levels. Furthermore, executives started questioning the worth of our product to their organizations post-2K. This drove the search for cheaper labor.

> Technical folks are "above" that sort of thing, leaving
> executives to measure our performance by: high salaries,
> bug counts, missed dates, incomplete features... Leaving
> execs to realize: Hey! I can buy the last 4 for 1/16 the
> price overseas!

Professional baseball has a large contingent of South American and Asian players. Yet, pays are still considerably higher than in our profession. It gets back to the value executives assign to our products in their organizations.

> There isn't a metric that will satisfy everyone, but there
> *has* to be some way for your group/dept to measure
> itself. Otherwise, how do you know you're doing things
> better?
>
> It is in our interest to develop meaningful metrics.

Completely agreed here. To realize a greater pay scale, we need metrics for how our products contribute to the organization. For example, if a software system you and I develop allows Sales to go from lead to sale quicker and cheaper, we should share in the revenue. Find a way of measuring it and you are on the path to greater pay.

Frank Silbermann

Posts: 40
Nickname: fsilber
Registered: Mar, 2006

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 7:08 AM
Reply to this message Reply
Metrics that point out use of bad coding practices could be a good thing. But it wouldn't measure "code quality" -- as that's largely based on the quality of the design.

I don't think we'll ever have an objective, quantitative measure for design quality any moreso than we can objectively measure the quality of a movie or novel. At best, a metric might be able to compare the design quality of three different same-technology implementations of the same functionality, but who would bother implementing the same functionality three times in the same technology?

If you try to compare the ugliness of applications with different functionality, how could a program separate the simplicity of the design from the simplicity of the requirements?

Alberto Savoia

Posts: 95
Nickname: agitator
Registered: Aug, 2004

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 7:14 AM
Reply to this message Reply
>That's a GOOD reason
> for
> not having common metrics. Even the same metric, when the
>
> measurement can be supplied, doesn't mean the same thing
> in
> different contexts. We measure speed for both cars and
> airplanes. But we don't expect the same speed out of a
> Mercedes as a 767 - or a helicopter. And airplanes have
> metrics that don't apply to cars, like rate-of-climb,
> service ceiling; likewise cars are measured for stopping
> distance, which differs in meaning from a landing
> requirement.

I agree that context is important and that it may make no sense to compare the speed of cars to that of airplanes (or alligators). But top (or cruising) speed is used to compare airplanes in the same category (e.g. commercial airliners, jet fighters) against each other. I also don't expect to use MPG to compare a Ferrari to a Prius, but I do expect to use MPG to compare a Prius to other fuel-efficient cars.

I am not arguing that all software should be held to the same standard wrt any given metric. For example, I expect that medical applications to be more thoroughly tested than, say, a video game. But I am surprised that we don't have any metric that's used with any consistency to compare applications in the same category.

Alberto

Peitsa Turvanen

Posts: 1
Nickname: peitsa
Registered: Oct, 2007

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 7:23 AM
Reply to this message Reply
In my opinnion the biggest mistake one can do with metrics is to try to figure out what a single measurement result means in some universal "how good is my code" context. Measuring for measurement's sake is (almost) insane.

In order to really benefit from metrics they should be used as a part of wider QA plan with defined goals. Measure repeatedly and compare the results, not with some external magic values, but with each other, in order to see the direction the product/process is going to. Metrics don't tell so much about wether things are good or bad but more about wether something is better or worse.

It is not the easiest of tasks to set up a proper mesurement process. But in my opinnion if you don't do it the hard way, it is better not to do it at all.

Nemanja Trifunovic

Posts: 172
Nickname: ntrif
Registered: Jun, 2004

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 7:40 AM
Reply to this message Reply
> Guns don't kill people, people
> kill people

And frankly that sums it up, IMHO. Avoiding a potentially useful tool because it can be abused/misused is not a sane strategy.

David Halonen

Posts: 5
Nickname: dhalonen1
Registered: Oct, 2007

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 8:34 AM
Reply to this message Reply
Some metrics are temporal. If your team is handed a code base that contains 20% duplicated code, you may wish to measure a reduction in duplicated code until its irrelevant.

Same for the # of unit tests, class count, LOC, whatever...

If a metric remains useful over a long period of time, so be it. If not, just as well.

I would think that if a group had a history of unit tests, automated source analyzers, low bug counts, successful at meeting deadlines, AND worked w/ execs on this, it would be easier to challenge out-sourcing. Yes, you're paid big bucks, but does the competition have data that stacks up well with ours? Now the execs have to add in the cost of not having that history/work processes or having to re-create it themselves... This quickly becomes a high-risk proposition. I think most execs are looking for stability in their organizations, not wildcards.

The lack of metrics and the ability to equate them to our business value is our own fault.

Mike Petry

Posts: 34
Nickname: mikepetry
Registered: Apr, 2005

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 9:53 AM
Reply to this message Reply
There probably is truth in metrics and metrics should be a powerful tool, but in reality there are many factors influencing the metrics we gather.
When we want to evaluate a process using statistics we hope that measurable events are independent. I have already heard some discussion on the effects of design on code quality. Many other factors could be listed: maintenance vs green field, embedded vs classic application vs web-based application, language used, schedule constraints etc. If your shop supports one project or one type of project, you should get more benefit from metrics.
I think Joel's perspective is evident. He owns and manages a small shop and he can directly influence quality by hiring the people he wants and directing many key factors that effect quality. And nothing still beats the classic "management by walking around".
On the other end of the spectrum is management by metrics. Metrics from several varying projects are rolled up together and fed upstairs to managers who make key decisions. This is obviously ridiculous.

Mike Petry

Posts: 34
Nickname: mikepetry
Registered: Apr, 2005

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 10:08 AM
Reply to this message Reply
Here is a cynical thought:
Take all of your weakest programmers and put them in charge of metrics. All of a sudden your quality goes up.

Bill Pyne

Posts: 165
Nickname: billpyne
Registered: Jan, 2007

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 10:14 AM
Reply to this message Reply
> There probably is truth in metrics and metrics should be a
> powerful tool, but in reality there are many factors
> influencing the metrics we gather.
>
> When we want to evaluate a process using statistics we
> hope that measurable events are independent.

It's funny. I remember my first lecture in macroeconomics. The professor started the lecture by saying, "Two kinds of people use statistics - liars and politicians." After everyone had a laugh, he went on to say pretty much what you said.

Isaac Gouy

Posts: 527
Nickname: igouy
Registered: Jul, 2003

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 10:24 AM
Reply to this message Reply
You write as though killing software projects is a bad thing!

Fail-fast makes it safe to innovate.


"Project Termination Doesn’t Equal Project Failure"
http://www.cs.unc.edu/~welch/class/comp145/media/docs/Boehm_Term_NE_Fail.pdf

Merriodoc Brandybuck

Posts: 225
Nickname: brandybuck
Registered: Mar, 2003

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Oct 31, 2007 2:51 PM
Reply to this message Reply
I think the issue with software metrics is that software is a lot more than the sum of its parts. Judging software by any one metric or a handful of metrics would be like judging a book by word count or a movie by the length of the film. There is so much more to it than any one metric or handful of metrics could measure that I believe the best thought out metrics should be nothing more than very rough guidelines.

David Halonen

Posts: 5
Nickname: dhalonen1
Registered: Oct, 2007

Re: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Posted: Nov 1, 2007 6:01 AM
Reply to this message Reply
In his latest book, "Winning", Jack Welch states that business should be run like a small family store on the corner. That much process, focus and formality.

In many large, large companies, that sort of intimacy is replaced by bureaucracy. The upper crust is pretty much clueless as to the actual goings-on. So what is a poor schmuck to do?

I would offer that metrics are a useful tool to defend and grow a software group in such a domain.

I've worked in small companies and large. The problems & solutions are not identical. For example, can NASA deliver software for moon launch w/o metrics? What's the biggest team Joel has managed? 2 different universes.

Flat View: This topic has 50 replies on 4 pages [ « | 1  2  3  4 | » ]
Topic: Software Metrics Don't Kill Projects, Moronic Managers Kill Projects Previous Topic   Next Topic Topic: Thinking in Java 4e

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use