Condition Coverage

blib/lib/Params/Smart.pm
Criterion Covered Total %
condition 47 62 75.8


and 3 conditions

line !l l&&!r l&&r condition
43 54 0 0 defined $def and $def =~ /$Params::Smart::RE{'quoted'}{-'keep'}/
134 28 37 6 $last and $$info{'required'}
65 6 0 $last and $$info{'required'} and not $$last{'required'}
137 67 4 0 $$info{'name_only'} and $$info{'slurp'}
140 28 43 0 $last and $$info{'_parsed'} != $$last{'_parsed'}
225 9 20 41 $named and $i < @_
232 0 20 40 $named and $i < @_
257 0 1 1 $named and keys %unknown
276 0 16 4 $named and keys %unknown
16 2 2 $named and keys %unknown and keys %vals
0 16 2 $named and keys %unknown
317 4 16 0 $name eq $$info{'name'} and defined $$info{'default'}
320 53 21 0 $$info{'required'} and not exists $vals{$name}

or 2 conditions

line l !l condition
38 36 18 $1 || ''
59 20 34 !($mod =~ /\?/) || 0
4 50 $mod =~ /\+/ || 0
2 52 $mod =~ /\*/ || 0
107 2 2 $$info{'name_only'} ||= 1
177 4 0 shift() || 0
181 4 0 (caller 2)[3] || ''

or 3 conditions

line l !l&&r !l&&!r condition
86 0 2 71 $$self{'dynamic'} ||= $$self{'lock'}
87 4 2 67 $$info{'name_only'} ||= $$self{'dynamic'}
165 1 26 0 $Memoization{$key} ||= 'Params::Smart'->new(@_)