| line |
true |
false |
branch |
|
153
|
19 |
0 |
unless defined $file |
|
195
|
5 |
0 |
unless defined $file |
|
207
|
0 |
63 |
if (not defined $v) { } |
|
|
0 |
63 |
elsif (builtin::blessed($v) and $v->isa('Test::Deep::Ignore')) { } |
|
|
6 |
57 |
elsif (builtin::blessed($v) and $v->isa('Test::ExpectAndCheck::_NamedArgsChecker')) { } |
|
|
18 |
39 |
elsif ($v =~ /^-?[0-9]+$/u) { } |
|
|
12 |
27 |
elsif ($autoquote and $v =~ /^[[:alpha:]_][[:alnum:]_]*$/u) { } |
|
|
27 |
0 |
elsif ($v =~ /^[\x20-\x7E]*\z/u) { } |
|
208
|
0 |
0 |
if $autoquote |
|
231
|
0 |
0 |
if ($v =~ /[^\n\r\x20-\x7E]/u) { } |
|
256
|
15 |
14 |
if $e = &first(sub {
not $_->_called;
}
, @{$$self{"expectations"};}) and $e->_consume($method, @$args) |
|
260
|
10 |
4 |
if (my $wh = &first(sub {
$_->_consume($method, @$args);
}
, @{$$self{"whenever"}{$method};})) |
|
265
|
3 |
1 |
if $e |
|
266
|
1 |
3 |
unless $e |
|
295
|
6 |
19 |
if not $count |
|
306
|
7 |
2 |
unless @$whenevers |
|
371
|
0 |
4 |
unless ref $got eq "ARRAY" |
|
375
|
1 |
7 |
unless Test::Deep::descend(shift @got, $exp1) |
|
389
|
0 |
3 |
unless ref $got eq "ARRAY" |
|
415
|
4 |
20 |
if (@$args and (ref $args->[-1] // '') eq 'Test::ExpectAndCheck::_NamedArgsChecker') { } |
|
568
|
0 |
30 |
unless $method eq $self->{'method'} |
|
571
|
5 |
25 |
unless ($ok) |
|
576
|
0 |
25 |
if $Test::ExpectAndCheck::VERBOSE |
|
590
|
3 |
16 |
if defined $self->{'diag'} |
|
598
|
3 |
22 |
if (my $also = $self->{'also'}) |
|
603
|
22 |
3 |
if $self->{'gen_return'} |
|
604
|
0 |
24 |
if wantarray |
|
630
|
1 |
4 |
$params{'isa'} ? : |
|
640
|
2 |
0 |
if (my $isa = $self->[1]) |
|
653
|
5 |
29 |
if $method eq "DESTROY" |