Condition Coverage

blib/lib/Workflow/Condition.pm
Criterion Covered Total %
condition 18 22 81.8


and 3 conditions

line !l l&&!r l&&r condition
47 28 84 20 $Workflow::Condition::CACHE_RESULTS and exists $wf->{'_condition_result_cache'}{$condition_name}
69 2 0 0 not $Workflow::Condition::STRICT_BOOLEANS and $result

or 2 conditions

line l !l condition
45 115 17 $wf->{'_condition_result_cache'} || {}
53 8 12 $cache_value || ''

or 3 conditions

line l !l&&r !l&&!r condition
63 50 62 0 $condition //= $wf->_factory->get_condition($condition_name, $wf->type)
69 55 3 2 $Workflow::Condition::STRICT_BOOLEANS || $result
51 2 58 ref $result eq "Workflow::Condition::IsFalse" or not $Workflow::Condition::STRICT_BOOLEANS || $result
56 0 2 ref $result eq "Workflow::Condition::IsTrue" or not $Workflow::Condition::STRICT_BOOLEANS and $result