Condition Coverage

blib/lib/Result/Trait.pm
Criterion Covered Total %
condition 23 63 36.5


and 3 conditions

line !l l&&!r l&&r condition
87 1 0 16 &Scalar::Util::blessed($_[0]) and $_[0]->can("DOES")
98 0 0 9 &Scalar::Util::blessed($_[0]) and $_[0]->can("check")
109 1 0 2 &Scalar::Util::blessed($_[0]) and $_[0]->can("DOES")
163 0 0 4 @_ == 2 and __IS_RESULT__($res)
209 0 0 3 @_ == 2 and __IS_CODE__($op)
343 0 0 2 @_ == 2 and __IS_CODE__($f)
374 0 0 2 @_ == 2 and __IS_CODE__($f)
452 0 0 2 @_ == 2 and __IS_CODE__($op)
480 0 0 2 @_ == 2 and __IS_CODE__($op)
530 0 0 2 @_ >= 1 and __IS_CODE__($f)
555 0 0 2 @_ == 3 and __IS_CODE__($default)
0 0 2 @_ == 3 and __IS_CODE__($default) and __IS_CODE__($f)
608 0 0 4 exists $d{'ok'} and exists $d{'err'}
681 0 0 4 @_ == 2 and __IS_RESULT__($res)
723 0 0 8 @_ == 2 and __IS_CODE__($op)
763 0 0 5 @_ == 2 and __IS_TYPE__($type)
801 0 0 2 @_ >= 1 and __IS_TYPE__($type)
831 0 0 2 @_ == 3 and __IS_TYPE__($type)
0 0 2 @_ == 3 and __IS_TYPE__($type) and __IS_CODE__($op)
932 0 0 2 @_ == 2 and __IS_CODE__($op)

or 3 conditions

line l !l&&r !l&&!r condition
622 2 0 0 $d{"err_$err_kind"} // $d{'err'}