Condition Coverage

blib/lib/Sub/SmartMatch.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
38 0 0 1 ref $value and ref $value eq 'ARRAY'
49 0 0 32 defined $name and length $name
70 0 0 11 ref $body and reftype $body eq 'CODE'
80 0 10 1 ref $case && ref $case eq 'Sub::SmartMatch::Exact'
83 2 1 7 !$exact && ref $case && ref $case eq 'ARRAY' && @$case
93 0 0 2 ref $body and reftype $body eq 'CODE'
158 3 0 2 not ref $case and $case ~~ 'default'