Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Lessons learned from getting to 100% with Devel::Cover

by stvn (Monsignor)
on Jul 30, 2004 at 15:36 UTC ( [id://378719]=note: print w/replies, xml ) Need Help??


in reply to Lessons learned from getting to 100% with Devel::Cover

Excellent Meditation!

Let me start out by saying I admire your drive to get 100%, it is not an easy thing to do. Personally I think that 100% is (in most cases) overrated, and >95% is acceptable in most cases, but you make a good argument.

Of the things you said, I think this:

even if everything is tested, it might still be wrong
and this:
fixing the remaining bugs as they arise is made ridiculously easy in most cases, because it is so well tested. Fixes that break existing behaviour are highlighted as test failures - without test cases you might never know
are two of the most important points.

Test/Code coverage is no silver bullet, as the How to Misuse Code Coverage article pointed out. But as your next point says, it is sure nice to have those tests when you are fixing bugs.

Again, excellent post :)

-stvn

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://378719]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found