<a href="http://codeoffsets.com/" rel="nofollow">http://codeoffsets.com/</a><p>Also, I think that the idea is not that stupid. Bad code have many (business also) consequences and I can imagine a savvy company that punishes teams for poorly written code with similar mechanism.<p>For instance, let's say that team has $100k bonus budget for a year. Every poorly written SLOC means $1, or $10, less in a budget because the company has to spend this money on QA or customer service.<p>Of course, what's really complicated is how to measure poorly written code (cyclomatic complexity, length of methods etc. basic metrics?), and how to adjust it to the deadlines.