Condition Coverage

blib/lib/Workflow/Factory.pm
Criterion Covered Total %
condition 27 42 64.2


and 3 conditions

line !l l&&!r l&&r condition
27 3 0 124 defined $_[0] and $_[0] eq "FACTORY"
323 26 2 0 $context and not builtin::blessed($context)
381 6 2 0 $wf_info->{'context'} and builtin::blessed($wf_info->{'context'})
427 0 1 1 $args and %{$args;}
548 38 0 5 $config and %{$config;}
708 141 0 9 not defined $condition and $name =~ / \A ! /msux

or 2 conditions

line l !l condition
229 17 35 $workflow_config->{'history_class'} ||= "Workflow::History"
280 1 3 $self->{'_workflow_observers'}{$wf_type} ||= []
317 2 26 $wf_config->{'class'} || 'Workflow'
368 3 6 $wf_config->{'class'} || 'Workflow'
372 8 0 $wf_info->{'last_update'} ||= ""
386 2 6 $wf_info->{'context'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
25 0 127 0 ref $class || $class
62 0 2 0 ref $proto || $proto
71 0 36 0 ref $proto || $proto
321 0 28 0 $wf_config->{'initial_state'} || $DEFAULT_INITIAL_STATE