Condition Coverage

blib/lib/Result/Simple.pm
Criterion Covered Total %
condition 14 27 51.8


and 3 conditions

line !l l&&!r l&&r condition
87 1 0 11 builtin::blessed($T) and $T->can("check")
92 1 0 8 builtin::blessed($E) and $E->can("check")
246 0 0 6 ref $_ && ref $_ eq 'ARRAY'
254 0 0 2 _is_callable($on_success) and _is_callable($on_failure)

or 2 conditions

line l !l condition
28 1 2 $ENV{'RESULT_SIMPLE_CHECK_ENABLED'} // 1
76 0 13 $opts{'caller_level'} || 0
315 4 0 builtin::reftype($code) || ''

or 3 conditions

line l !l&&r !l&&!r condition
77 0 13 0 $opts{'package'} || $caller[0]
120 1 0 0 not $E->check($err) or defined $data
128 1 0 2 not $T->check($data) or defined $err