Line Coverage in Unit Tests
The novice says, "I do not strive for 100% line coverage in tests; I only write tests for the code that is important."
The master says, "If the code is not important, why is it there at all? I will strive to test every line I write; if a line is not important, it should be removed."
(See also The Way of Testivus.)
Are you stuck with a legacy PHP application?
You should buy my book
because it gives you a step-by-step guide to improving you
codebase, all while keeping it running the whole time.