Branch Coverage

blib/lib/Test/Workflow/Block.pm
Criterion Covered Total %
branch 24 30 80.0


line true false branch
27 0 1286 unless $caller and ref $caller and ref $caller eq 'ARRAY' and @$caller
29 0 1286 unless $name and not ref $name
33 514 772 if ref $args[0] and ref $args[0] eq 'CODE'
39 704 582 if (not $code and $ref eq 'CODE')
43 140 564 if $args[-1] =~ /^(code|method|sub)$/
50 0 1286 unless $code and ref $code eq 'CODE'
56 1092 194 unless $start_line == $end_line
58 194 1092 $start_line == $end_line ? :
86 4 606 if $self->skip
91 0 606 if ($debug)
107 30 576 if $self->todo
114 30 566 if $self->todo
117 0 596 if ($debug)
133 424 172 if $success and not $self->verbose
136 0 172 unless $success