Branch Coverage

blib/lib/Alien/BWIPP.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
42 3 22953 if ($line =~ /\A% Barcode Writer in Pure PostScript - Version/)
46 258 22698 if ($line =~ /\A %[ ]--BEGIN[ ](?<type>(?:RENDERER|ENCODER|RESOURCE))[ ](?<name>\w+)--/msx) { }
1554 21144 elsif ($line =~ /\A % [ ] -- (?<feature_name>\w+) :? [ ]? (?<feature_value>.*?) (?:--)? \n \z/msx) { }
47 258 0 if $Alien::BWIPP::LAST_PAREN_MATCH{'type'}
48 258 0 if $Alien::BWIPP::LAST_PAREN_MATCH{'name'}
54 1272 282 unless ($Alien::BWIPP::LAST_PAREN_MATCH{'feature_name'} =~ /^(?:BEGIN|END)$/)
60 21138 6 if $block_name
79 243 243 if (exists $chunks{'ENCODER'}{$encoder}{$dependency_type})
82 1038 2184 if (exists $chunks{$resource_type}{$dependency}{'post_script_source_code'})
95 0 1458 if ref $attribute_value
96 243 1215 if 'post_script_source_code' eq $attribute_name