Branch Coverage

blib/lib/Regexp/Pattern/License.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
11 1 27 $@ ? :
15591 63111 485661 unless defined $_
15592 360837 224 if length $_
361061 124600 if (not ref $_) { }
13636 110964 elsif (ref $_ eq 'ARRAY') { }
110964 0 elsif (ref $_ eq 'HASH') { }
15600 28 268156 $opts{'label'} ? :
15605 28224 89711 $opts{'assign'} ? :
117935 150249 unless @pats
15607 98420 51829 @pats > 1 || $label ne ':' ? :
15611 41888 108361 if ($opts{'assign'})