Branch Coverage

blib/lib/DTL/Fast/Expression/Operator/Binary/Eq.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
17 12 145 if (not defined $arg1 and defined $arg2 or not defined $arg2 and defined $arg1) { }
2 143 elsif (not defined $arg1 || defined $arg2) { }
93 50 elsif (&looks_like_number($arg1) and &looks_like_number($arg2)) { }
0 50 elsif ($arg1_type eq 'ARRAY' and $arg2_type eq 'ARRAY') { }
0 50 elsif ($arg1_type eq 'HASH' and $arg2_type eq 'HASH') { }
0 50 elsif (UNIVERSAL::can($arg1, 'equal')) { }
0 50 elsif (UNIVERSAL::can($arg2, 'equal')) { }
34 0 0 if (scalar @$arg1 == scalar @$arg2)
39 0 0 unless (dispatch($self, $arg1->[$i], $arg2->[$i]))
52 0 0 if (dispatch($self, \@keys1, \@keys2))
57 0 0 unless (dispatch($self, $arg1->{$key}, $arg2->{$key}))