Branch Coverage

blib/lib/Test/ExpectAndCheck.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
105 14 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 12 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 14 if not $count
310 0 13 unless $method eq $self->[0]
314 1 12 unless ($ok)
330 1 13 if defined $self->[7]
337 3 9 if (my $also = $self->[8])
341 1 11 if defined $self->[6]
342 1 10 unless $self->[5]
343 0 10 if wantarray
378 2 14 if $method eq "DESTROY"