Condition Coverage

lib/Workflow/Factory.pm
Criterion Covered Total %
condition 22 38 57.8


and 3 conditions

line !l l&&!r l&&r condition
24 2 0 93 defined $_[0] and $_[0] eq "FACTORY"
424 0 1 1 $args and %{$args;}
567 55 0 5 $config and %{$config;}
716 219 0 13 not defined $condition and $name =~ / \A ! /msx

or 2 conditions

line l !l condition
267 2 40 $workflow_config->{'observer'} || []
335 1 20 $wf_config->{'class'} || 'Workflow'
387 4 4 $wf_config->{'class'} || 'Workflow'
391 6 0 $wf_info->{'last_update'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
21 0 95 0 ref $class || $class
60 0 2 0 ref $proto || $proto
69 0 30 0 ref $proto || $proto
339 0 21 0 $wf_config->{'initial_state'} || $DEFAULT_INITIAL_STATE
340 0 21 0 $context || 'Workflow::Context'->new
400 2 4 0 $wf_info->{'context'} || 'Workflow::Context'->new