Condition Coverage

blib/lib/Class/StateMachine/Declarative/Builder.pm
Criterion Covered Total %
condition 6 78 7.6


and 3 conditions

line !l l&&!r l&&r condition
70 0 0 0 $debug and $debug & 16
217 0 1 0 not defined $jump || defined $$state{'enter'} and @$ss
249 0 0 0 $debug and $debug & 32
256 0 0 0 $debug and $debug & 32
279 1 0 0 $debug and $debug & 16
281 1 0 0 $parent and $parent_name ne '__any__'
294 0 1 0 not defined $$state{'enter'} and $name ne '__any__'
298 0 0 0 $debug and $debug & 32
304 0 0 0 $debug and $debug & 64
308 0 0 0 $debug and $debug & 64
326 0 0 0 $debug and $debug & 32
335 0 0 0 $debug and $debug & 32
340 0 0 0 $debug and $debug & 64
351 0 0 0 $debug and $debug & 64
357 0 0 0 $debug and $debug & 32
366 0 0 0 $debug and $debug & 64
380 0 0 0 $debug and $debug & 64
386 0 0 0 $debug and $debug & 32

or 2 conditions

line l !l condition
210 0 0 $transitions_rev{$target_abs} ||= []
279 0 0 $parent_name // ''
398 0 1 $name //= ''

or 3 conditions

line l !l&&r !l&&!r condition
50 0 0 0 shift() // $self->_bad_def($parent, 'undef is not valid as a state name')
180 0 0 0 $$top{$_} //= $$any{$_}
189 0 0 0 $$state{'advance'} // $event
195 0 0 0 $$current_state{'transitions'}{$event} //= $$next_state{'full_name'}
217 0 0 1 defined $jump || defined $$state{'enter'}
219 0 0 0 $jump //= $$main{'full_name'}