lib/Workflow/Factory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 38 | 57.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 2 | 0 | 93 | defined $_[0] and $_[0] eq "FACTORY" |
426 | 0 | 1 | 1 | $args and %{$args;} |
573 | 55 | 0 | 5 | $config and %{$config;} |
730 | 219 | 0 | 13 | not defined $condition and $name =~ / \A ! /msx |
line | l | !l | condition |
---|---|---|---|
267 | 2 | 40 | $workflow_config->{'observer'} || [] |
337 | 1 | 20 | $wf_config->{'class'} || 'Workflow' |
389 | 4 | 4 | $wf_config->{'class'} || 'Workflow' |
393 | 6 | 0 | $wf_info->{'last_update'} ||= "" |
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 |
341 | 0 | 21 | 0 | $wf_config->{'initial_state'} || $DEFAULT_INITIAL_STATE |
342 | 0 | 21 | 0 | $context || 'Workflow::Context'->new |
402 | 2 | 4 | 0 | $wf_info->{'context'} || 'Workflow::Context'->new |