Condition Coverage

blib/lib/Test/Workflow/Block.pm
Criterion Covered Total %
condition 24 41 58.5


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 1286 $caller and ref $caller
0 0 1286 $caller and ref $caller and ref $caller eq 'ARRAY'
0 0 1286 $caller and ref $caller and ref $caller eq 'ARRAY' and @$caller
29 0 0 1286 $name and not ref $name
33 772 0 514 ref $args[0] and ref $args[0] eq 'CODE'
39 514 68 704 not $code and $ref eq 'CODE'
50 0 0 1286 $code and ref $code eq 'CODE'
84 41 569 0 $instance->can('FENNEC') && $instance->FENNEC->debug
133 0 172 424 $success and not $self->verbose

or 2 conditions

line l !l condition
38 704 582 ref $args[-1] || ''
110 596 0 eval { do { $self->code->(@_); 1 } } || $self->should_fail || 0
111 2 594 $@ || 'Error masked!'
135 172 0 $success || 0

or 3 conditions

line l !l&&r !l&&!r condition
48 16 16 0 $proto{'code'} || $proto{'method'} || $proto{'sub'}
1218 68 0 $code ||= $proto{'code'} || $proto{'method'} || $proto{'sub'}