blib/lib/Data/PatternCompare.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 49 | 79.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
67 | 9 | 0 | 2 | $class and $class eq 'Data::PatternCompare::Any' |
82 | 6 | 0 | 6 | defined $$val[0] && $$val[0] eq "empty \300\336" && $blessed eq 'Data::PatternCompare::Empty' |
101 | 6 | 0 | 1 | _is_any($$expected[$i]) and not exists $$got[$i] |
118 | 3 | 0 | 1 | _is_any($$expected{$key}) and not exists $$got{$key} |
133 | 2 | 1 | 15 | defined $expected and defined $got |
164 | 0 | 0 | 0 | $class eq blessed $got && $addr == refaddr $got |
335 | 2 | 1 | 13 | defined $expected and defined $got |
366 | 6 | 0 | 3 | $class eq $got_blessed && $addr == $got_addr |
line | l | !l | condition |
---|---|---|---|
58 | 0 | 5 | $params{'epsilon'} ||= 2.22044604925031e-16 |
80 | 7 | 5 | blessed($$val[1]) || '' |
88 | 6 | 0 | blessed($$val{"empty \300\336"}) || '' |
363 | 3 | 6 | blessed $got || '' |
364 | 5 | 4 | refaddr $got || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
134 | 1 | 1 | 1 | defined $expected or defined $got |
143 | 1 | 1 | 10 | isfloat $expected or isfloat $got |
264 | 1 | 1 | 20 | exists $$is_dupa{$addra} or exists $$is_dupb{$addrb} |
336 | 1 | 1 | 1 | defined $expected or defined $got |
345 | 1 | 1 | 8 | isfloat $expected or isfloat $got |