in reply to Re^2: Devel::Cover for myfile.pl with different command-line input arguments
in thread Devel::Cover for myfile.pl with different command-line input arguments

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.

  • Comment on Re^3: Devel::Cover for myfile.pl with different command-line input arguments

Replies are listed 'Best First'.
Re^4: Devel::Cover for myfile.pl with different command-line input arguments
by tito80 (Novice) on Aug 26, 2016 at 23:16 UTC
    Thanks. This helped.