3 ms·
But "unit tests per line" is a good metric. Why? Because programmers (well, at least I) hate writing unit tests. If you have a high unit-tests-per-line ratio
by nostrademons 17y ago
But "unit tests per line" is a good metric. Why? Because programmers (well, at least I) hate writing unit tests. If you have a high unit-tests-per-line ratio, then writing one fewer line of code will let you avoid writing several lines of unit tests.
The easiest way to bump your unit-tests-per-line metric is to delete lines of code. That's a positive thing, in my book.