Branch Coverage

lib/ChordPro/lib/SVGPDF/Image.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
13 0 0 if $atts->{'omit'}
21 0 0 unless ($w and $h)
29 0 0 if ($link =~ /^data:/u) { }
0 0 elsif ($link =~ /^.+\.(png|jpe?g|gif)$/iu and -s $link) { }
0 0 elsif ($link =~ /^.+\.(tiff?|p[bgp]m|x[bp]m)$/iu and -s $link) { }
32 0 0 if ($info->{'error'})
40 0 0 unless ($mimetype eq "image")
49 0 0 if ($info->{'error'})
55 0 0 if $format eq "jpg"
56 0 0 if $format =~ /^p[bgp]m$/u
57 0 0 if $format =~ /^x[bp]m$/u
58 0 0 if $format eq "tif"
63 0 0 if ($format eq 'tiff') { }
85 0 0 $1 =~ /tif/iu ? :
99 0 0 if $tf