Branch Coverage

blib/lib/Test/Workflow.pm
Criterion Covered Total %
branch 33 42 78.5


line true false branch
38 4 1281 if $meta->build_complete
43 776 505 if (&blessed($layer) and &blessed($layer)->isa('Test::Workflow::Layer'))
44 0 776 if $layer->finalized
108 1 134 unless ($instance)
110 0 1 if $caller->can('new')
124 48 708 if ("$sort" =~ /^sort/) { }
534 174 elsif ("$sort" =~ /^rand/) { }
0 174 elsif (ref $sort eq 'CODE') { }
0 174 elsif (not $sort =~ /^ord/) { }
138 1076 49 if $a->is_wrap == $b->is_wrap
139 13 36 if $a->is_wrap
157 20 313 if ($todo)
161 40 293 if (my $specific = $ENV{'FENNEC_TEST'})
164 0 40 if ($specific =~ /^\d+$/) { }
165 0 0 if $_->start_line <= $specific and $_->end_line >= $specific
168 24 16 if $_->name eq $specific
175 19 314 if (@cases) { }
210 10 188 if $todo
227 16 182 unless (@tests)
232 0 16 unless $ENV{'FENNEC_TEST'}
242 0 231 if @before_all or @after_all or @around_all or @control