Condition Coverage

blib/lib/Exporter/Handy/Util.pm
Criterion Covered Total %
condition 23 70 32.8


and 3 conditions

line !l l&&!r l&&r condition
59 0 0 8 @_ && !ref($_[0])
75 4 0 4 $sig and not $pfx =~ /^\Q$sig\E/
86 0 0 8 not $nogroup and defined $group
0 2 6 not $nogroup and defined $group and $group
88 3 0 3 $sig and not $g =~ /^\Q$sig\E/
92 0 0 8 defined $_ and $_
0 4 4 defined $_ and $_ and not /^[:]/
111 0 0 0 _is_plain_scalarref($_) and $$_ =~ /[*]|ALL/i
129 0 0 0 exists $seen{$_} and $seen{$_} // 0

or 2 conditions

line l !l condition
23 3 3 $opts // {}
28 0 0 $opts // {}
61 0 8 delete $items{'%'} // {}
63 0 0 (($group // delete $opt{'group'}) // delete $opt{'name'}) // ""
67 0 4 (delete $opt{'sig'} // $1) // ""
68 0 8 delete $opt{'sep'} // "_"
69 0 8 delete $opt{'nogroup'} // 0
129 0 0 $seen{$_} // 0

or 3 conditions

line l !l&&r !l&&!r condition
63 8 0 0 $group // delete $opt{'group'}
0 0 0 ($group // delete $opt{'group'}) // delete $opt{'name'}
67 4 0 4 delete $opt{'sig'} // $1
71 0 6 2 delete $opt{'pfx'} // ($group ? "$group$sep" : "")
93 8 0 0 $item // ()
109 0 0 0 delete $opt{'key'} // ()
0 0 0 delete $opt{'keys'} // ()
133 0 0 0 delete $tags{$1} // ()
0 0 0 delete $tags{$2} // ()