If you test coverage with the first condition and then generate a report it should show the if was covered. If you test coverage with the second condition and then generate a report it should show that the else was covered. If you test coverage of both conditions and then generate the report (as I described in my previous reply) then it should show both the if and the else have been covered.
In reply to Re^3: Devel::Cover for myfile.pl with different command-line input arguments
by Mr. Muskrat
in thread Devel::Cover for myfile.pl with different command-line input arguments
by tito80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |