Branch Coverage

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


line true false branch
11 1 26 $@ ? :
15476 61403 465598 unless defined $_
15477 344287 999 if length $_
345286 120312 if (not ref $_) { }
13149 107163 elsif (ref $_ eq 'ARRAY') { }
107163 0 elsif (ref $_ eq 'HASH') { }
15485 54 259998 $opts{'label'} ? :
15490 27351 88376 $opts{'assign'} ? :
115727 144325 unless @pats
15492 93528 50797 @pats > 1 || $label ne ':' ? :
15496 40392 103933 if ($opts{'assign'})