Branch Coverage

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


line true false branch
61 1 40 if ($self->seen_asterisk)
74 39 36 unless &$check($_)
94 41 164 if exists $field->params->{$key}
97 1 40 if (@found > 1)
105 1 39 if (@found == 0)
142 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'} ? :
147 1 21 unless my $template = $templates{"$type $cmp"}
154 2 19 if ($type eq 'null') { }
1 18 elsif ($field->params->{'nocase'}) { }
158 1 0 $] > 5.016 ? :
162 0 1 ref $expected ? :
172 0 18 ref $expected ? :
179 1 20 if ($field->params->{'nix'})
193 3 4 $field->params->{'string'} ? :
194 0 7 unless my $template = $templates{"$type $cmp"}
201 2 5 if ($field->params->{'nocase'}) { }
202 2 0 $] > 5.016 ? :
217 1 6 if ($field->params->{'nix'})
233 1 2 if ($field->params->{'nocase'}) { }
237 1 2 if $value eq lc $expected
246 1 6 if $value eq $expected
302 1 4 if ($field->params->{'nix'}) { }
325 1 1 if ($field->params->{'nix'}) { }
454 7 10 if &$left($_)
478 6 4 unless &$left($_)