blib/lib/Exporter/Handy/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 72 | 31.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
76 | 0 | 0 | 0 | ref $_ eq "SCALAR" and $$_ =~ /[*]|ALL/i |
84 | 0 | 0 | 0 | exists $seen{$_} and $seen{$_} // 0 |
104 | 0 | 0 | 8 | @_ && !ref($_[0]) |
120 | 4 | 0 | 4 | $sig and not $pfx =~ /^\Q$sig\E/ |
131 | 0 | 0 | 8 | not $nogroup and defined $group |
0 | 2 | 6 | not $nogroup and defined $group and $group | |
133 | 3 | 0 | 3 | $sig and not $g =~ /^\Q$sig\E/ |
137 | 0 | 0 | 8 | defined $_ and $_ |
0 | 4 | 4 | defined $_ and $_ and not /^[:]/ |
line | l | !l | condition |
---|---|---|---|
24 | 0 | 0 | $opts // {} |
29 | 3 | 3 | $opts // {} |
34 | 0 | 0 | $opts // {} |
84 | 0 | 0 | $seen{$_} // 0 |
106 | 0 | 8 | delete $items{'%'} // {} |
108 | 0 | 0 | (($group // delete $opt{'group'}) // delete $opt{'name'}) // "" |
112 | 0 | 4 | (delete $opt{'sig'} // $1) // "" |
113 | 0 | 8 | delete $opt{'sep'} // "_" |
114 | 0 | 8 | delete $opt{'nogroup'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 0 | 0 | 0 | delete $tags{'-key'} // () |
0 | 0 | 0 | delete $tags{'-keys'} // () | |
88 | 0 | 0 | 0 | delete $tags{$1} // () |
0 | 0 | 0 | delete $tags{$2} // () | |
108 | 8 | 0 | 0 | $group // delete $opt{'group'} |
0 | 0 | 0 | ($group // delete $opt{'group'}) // delete $opt{'name'} | |
112 | 4 | 0 | 4 | delete $opt{'sig'} // $1 |
116 | 0 | 6 | 2 | delete $opt{'pfx'} // ($group ? "$group$sep" : "") |
138 | 8 | 0 | 0 | $item // () |