Branch Coverage

blib/lib/Regexp/Pattern/License.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
11 27 0 $@ ? :
15548 0 27 if $CAN_RE2
15589 60860 468325 unless defined $_
15590 347959 216 if length $_
348175 120150 if (not ref $_) { }
13149 107001 elsif (ref $_ eq 'ARRAY') { }
107001 0 elsif (ref $_ eq 'HASH') { }
15598 27 258618 $opts{'label'} ? :
15603 27216 86510 $opts{'assign'} ? :
113726 144919 unless @pats
15605 94905 50014 @pats > 1 || $label ne ':' ? :
15609 40392 104527 if ($opts{'assign'})