Branch Coverage

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


line true false branch
41 0 1300 unless $self->{'name'}
44 0 121 if $self->{'flat'} and $self->{'iso'} || $self->{'async'}
59 1174 216 unless $self->{'scaffold'}
62 0 216 if defined $self->{'flat'} and not $self->{'flat'}
68 0 864 if $self->{$attr}
90 0 663 unless $filter
91 0 663 if $self->{'is_root'}
92 62 601 if $self->{'scaffold'}
94 398 203 if (my $name = $filter->{'name'})
96 398 0 unless (ref $name)
100 0 398 if (ref $name eq 'Regexp') { }
0 398 elsif ($name =~ m[^/]) { }
105 0 0 unless my $pattern = eval "qr$name"
110 351 47 unless $ok
114 0 250 if (my $file = $filter->{'file'})
115 0 0 unless $self->file eq $file
119 203 47 if (my $line = $filter->{'line'})
122 0 203 unless $lines and @$lines
128 172 31 unless $min <= $line and $max >= $line