yes, this is a click-bait question... π
obviously we can write poor code and still test it and get coverage...
insert example ...
But... we like to think of code coverage in a packaged food analogy:
Imagine you are at the "health food store" and you see tasty-sounding words on a new product: "Vegan, Raw, All-Natural Delicious, etc..." however, no ingredients are listed.
You ask the store assistant: "can you tell me what is in this...?"
she replies: "oh, just avocado, nuts and a dash of formaldehyde"
_Formalda ... WHAT?_ you exclaim as you prepare to leave the store!!
Yes, formaldehyde is a naturally occurring organic compound, which has been used by bad companies to extend the shelf life of "food" see: http://en.wikipedia.org/wiki/Formaldehyde#Contaminant_in_food
We (used to!) eat packaged foods all the time and trust the manufacturers to have our health and best interest at heart... but unless we know everything that goes into those products, and the precise process by which they are produced, we have no idea what we are consuming!