| line |
true |
false |
branch |
|
32
|
2 |
0 |
unless $self->{'planned'} |
|
39
|
0 |
3 |
if (not $not and $got ne $want and $want =~ /\n/ and !defined($self->getv('Diff')) || $self->getv('Diff') and not $ENV{'TESTML_NO_DIFF'} and eval {
do {
require Text::Diff
}
}) { } |
|
|
0 |
3 |
elsif ($not) { } |
|
46
|
0 |
0 |
$label ? : |
|
60
|
0 |
0 |
$label ? : |
|
63
|
3 |
0 |
$label ? : |
|
71
|
0 |
7 |
if ($not) { } |
|
84
|
0 |
0 |
$not ? : |
|
|
0 |
0 |
if ($not ? $index == -1 : $index != -1) { } |
|
89
|
0 |
0 |
$not ? : |
|
99
|
0 |
0 |
if ref $str |
|
100
|
0 |
0 |
if ($str eq $want) |
|
112
|
8 |
2 |
if $self->{'checked'} |
|
115
|
0 |
2 |
if (my $plan = $self->{'vars'}{'Plan'}) |
|
128
|
0 |
10 |
unless defined $label |
|
129
|
10 |
0 |
if $label |
|
136
|
0 |
0 |
unless defined $label |
|
137
|
0 |
0 |
if $label |
|
144
|
0 |
0 |
if ($ok) { } |
|
155
|
3 |
0 |
if ($ok) { } |
|
171
|
0 |
0 |
if ($ok) { } |
|
186
|
7 |
0 |
if ($got =~ /$want/) { } |
|
196
|
0 |
0 |
if (not $got =~ /$want/) { } |
|
218
|
0 |
0 |
if ($label) { } |
|
225
|
0 |
0 |
unless (ref $got) |
|
230
|
0 |
0 |
unless (ref $want) |