It unfortunately seems that there are many more ways to get software development metrics “wrong” than there are ways to get them “right,” so be forewarned that much of my advice here will be about what not to do rather than what to do. Nonetheless, here are a baker’s dozen worth of tips on how to avoid the worst metrics pitfalls and produce constructive numbers.