Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It depends on the language. In C it is not a branch because division by zero is undefined and not a path you consider. In Java you can argue that there are two branches. One branch that throws an exception and one that does not.


No coverage reporting library will attempt to tell you that kind of coverage. You are essentially in violent agreement with the op but turning it into an argument by using different words for the same concept.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: