Devel::Cover report Branch and condition Coverage shows n/a in the report ??

195 Views Asked by At

I am generating the coverage for some .pm and mason file using apache by using Devel::Cover But for the mason file the coverage for branch and condition is showing n/a while for the same mason file statement coverage is coming 100%. Please Help.

1

There are 1 best solutions below

1
On

Are there any branches and conditions in your mason file? If not, you will see the n/a.

I presume you are seeing branches and conditions for the pm files, but also check that you haven't turned off branch and condition coverage. They are on by default.