in reply to Re^6: Lessons learned from getting to 100% with Devel::Cover
in thread Lessons learned from getting to 100% with Devel::Cover

EXPR logicop die;. Doesn't seem too complicated to me.

It doesn't need to be complicated for you to still test it.

Besides its less about testing a single line, and more about testing how that single line interacts with all the code that comes before and after that line and how they handles the circumstances which created the error condition.

-stvn
  • Comment on Re^7: Lessons learned from getting to 100% with Devel::Cover