Branch Coverage

blib/lib/LINQ/FieldSet/Assertion.pm
Criterion Covered Total %
branch 50 58 86.2


line true false branch
64 1 40 if ($self->seen_asterisk)
77 39 36 unless &$check($_)
97 41 164 if exists $field->params->{$key}
100 1 40 if (@found > 1)
108 1 39 if (@found == 0)
145 19 0 !ref($expected) ? :
1 19 $expected =~ /^[0-9]+(?:\.[0-9]+)$/ ? :
2 20 !defined($expected) ? :
0 22 $field->params->{'string'} ? :
0 22 $field->params->{'numeric'} ? :
150 1 21 unless my $template = $templates{"$type $cmp"}
157 2 19 if ($type eq 'null') { }
1 18 elsif ($field->params->{'nocase'}) { }
161 1 0 $] > 5.016 ? :
165 0 1 ref $expected ? :
175 0 18 ref $expected ? :
182 1 20 if ($field->params->{'nix'})
196 3 4 $field->params->{'string'} ? :
197 0 7 unless my $template = $templates{"$type $cmp"}
204 2 5 if ($field->params->{'nocase'}) { }
205 2 0 $] > 5.016 ? :
220 1 6 if ($field->params->{'nix'})
236 1 2 if ($field->params->{'nocase'}) { }
240 1 2 if $value eq lc $expected
249 1 6 if $value eq $expected
305 1 4 if ($field->params->{'nix'}) { }
328 1 1 if ($field->params->{'nix'}) { }
462 7 10 if &$left($_)
486 6 4 unless &$left($_)