Branch Coverage

blib/lib/Test2/Workflow/Task.pm
Criterion Covered Total %
branch 23 38 60.5


line true false branch
43 0 1308 unless $self->{'name'}
46 0 123 if $self->{'flat'} and $self->{'iso'} || $self->{'async'}
61 1181 217 unless $self->{'scaffold'}
64 0 217 if defined $self->{'flat'} and not $self->{'flat'}
70 0 868 if $self->{$attr}
94 0 663 unless $filter
95 0 663 if $self->{'is_root'}
96 62 601 if $self->{'scaffold'}
98 398 203 if (my $name = $filter->{'name'})
100 398 0 unless (ref $name)
104 0 398 if (ref $name eq 'Regexp') { }
0 398 elsif ($name =~ m[^/]) { }
109 0 0 unless my $pattern = eval "qr$name"
114 351 47 unless $ok
118 0 250 if (my $file = $filter->{'file'})
119 0 0 unless $self->file eq $file
123 203 47 if (my $line = $filter->{'line'})
126 0 203 unless $lines and @$lines
132 172 31 unless $min <= $line and $max >= $line