Condition Coverage

blib/lib/Exporter/Handy/Util.pm
Criterion Covered Total %
condition 23 72 31.9


and 3 conditions

line !l l&&!r l&&r condition
66 0 0 0 _is_plain_scalarref($_) and $$_ =~ /[*]|ALL/i
85 0 0 0 exists $seen{$_} and $seen{$_} // 0
105 0 0 8 @_ && !ref($_[0])
121 4 0 4 $sig and not $pfx =~ /^\Q$sig\E/
132 0 0 8 not $nogroup and defined $group
0 2 6 not $nogroup and defined $group and $group
134 3 0 3 $sig and not $g =~ /^\Q$sig\E/
138 0 0 8 defined $_ and $_
0 4 4 defined $_ and $_ and not /^[:]/

or 2 conditions

line l !l condition
24 0 0 $opts // {}
29 3 3 $opts // {}
34 0 0 $opts // {}
85 0 0 $seen{$_} // 0
107 0 8 delete $items{'%'} // {}
109 0 0 (($group // delete $opt{'group'}) // delete $opt{'name'}) // ""
113 0 4 (delete $opt{'sig'} // $1) // ""
114 0 8 delete $opt{'sep'} // "_"
115 0 8 delete $opt{'nogroup'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
64 0 0 0 delete $opt{'key'} // ()
0 0 0 delete $opt{'keys'} // ()
89 0 0 0 delete $tags{$1} // ()
0 0 0 delete $tags{$2} // ()
109 8 0 0 $group // delete $opt{'group'}
0 0 0 ($group // delete $opt{'group'}) // delete $opt{'name'}
113 4 0 4 delete $opt{'sig'} // $1
117 0 6 2 delete $opt{'pfx'} // ($group ? "$group$sep" : "")
139 8 0 0 $item // ()