Condition Coverage

blib/lib/Test/Stream/Workflow.pm
Criterion Covered Total %
condition 39 47 82.9


and 3 conditions

line !l l&&!r l&&r condition
76 1 1 34 @BUILD and $should_be
2 1 33 @BUILD and $should_be and $BUILD[-1] == $should_be
92 1 1 211 @VARS and $should_be
2 1 210 @VARS and $should_be and $VARS[-1] == $should_be
108 4 1 11 ref $_[0] and &reftype($_[0]) eq 'CODE'
267 4 74 32 $it->type and $it->type eq 'group'

or 2 conditions

line l !l condition
71 33 1 $_[0] || die('Nothing to push')
84 210 1 shift() || {}
123 170 3 'Test::Stream::Workflow::Meta'->get($caller) || (return)
135 0 299 $params{'caller'} || [caller $params{'level'}]
237 6 1 $current->modify || (return)
292 4 326 &reftype($callback) || ''
297 327 1 &reftype($stashes) || ''

or 3 conditions

line l !l&&r !l&&!r condition
195 292 0 0 $info->{'start_line'} || $caller->[2]
292 0 0 $info->{'end_line'} || $caller->[2]
289 331 1 0 $params{'callback'} || croak(q['callback' is a required argument])
290 330 1 0 $params{'stashes'} || croak(q['stashes' is a required argument])
314 258 0 4 $name || $caller->[3]