Subject: | Condition |
Hi Paul,
noticed a minor issue with Devel::Cover.
Consider this code
sub FRED { 1 }
sub joe
{
my $x = shift || FRED ;
}
joe();
joe(1);
When I send it through Devel::Cover it reports 67% condition coverage for the line
my $x = shift || FRED ;
It's reporting that the
A B Dec
-------
0 0 0
0 1 1
1 X 1
Not sure if this edge case can be detected easily.
cheers
Paul