Branch Coverage

blib/lib/Test/ExpectAndCheck.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
105 10 0 unless defined $file
117 0 8 if (not defined $v) { }
0 8 elsif (&blessed($v) and $v->isa('Test::Deep::Ignore')) { }
2 6 elsif ($v =~ /^-?[0-9]+$/) { }
6 0 elsif ($v =~ /^[\x20-\x7E]*\z/) { }
131 0 0 if ($v =~ /[^\n\x20-\x7E]/) { }
155 2 8 unless ($e = &first(sub { not $_->_called; } , @{$$self{"expectations"};}) and $e->_consume($method, @args))
157 1 1 if $e
158 1 1 unless $e
190 1 10 if not $count
266 0 9 unless $method eq $self->[0]
270 1 8 unless ($ok)
286 1 9 if defined $self->[7]
292 1 2 if defined $self->[6]
293 1 1 unless $self->[5]
294 0 1 if wantarray
329 2 10 if $method eq "DESTROY"