Putting a dollar value on code quality

Posted by Chris Nelson on Stack Overflow See other posts from Stack Overflow or by Chris Nelson
Published on 2010-06-15T17:54:40Z Indexed on 2010/06/15 18:02 UTC
Read the original article Hit count: 237

Filed under:
|

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 it's a spaghetti-coded mess. Without being able to see the code ahead of time, we'd like to set some objective measure as an acceptance criteria like "If the XXX measure is below the price will be discounted YY%." What criteria can we or should we measure and what tool can we use to measure it?

© Stack Overflow or respective owner

Related posts about metrics

Related posts about code-quality