Condition Coverage

blib/lib/Sub/Install.pm
Criterion Covered Total %
condition 6 11 54.5


and 3 conditions

line !l l&&!r l&&r condition
84 7 0 0 &Scalar::Util::blessed($_[0]) and overload::Method($_[0], '&{}') ? $_[0] : undef

or 2 conditions

line l !l condition
84 26 7 &Scalar::Util::reftype($_[0]) || ''

or 3 conditions

line l !l&&r !l&&!r condition
104 24 1 1 $$arg{'as'} ||= _name_of_code($$arg{'code'})
158 0 0 0 $$arg{'default'} || $warn