Condition Coverage

blib/lib/Data/iRealPro/Output/Imager.pm
Criterion Covered Total %
condition 0 145 0.0


and 3 conditions

line !l l&&!r l&&r condition
81 0 0 0 $options->{'scale'} and $options->{'scale'} =~ /^[\d.]+$/
142 0 0 0 $plname and @{$u->{'playlist'}{'songs'};} > 1
143 0 0 0 $self->{'output'} and not $self->{'output'} =~ /\%\d*[dt]/
0 0 0 $self->{'output'} and not $self->{'output'} =~ /\%\d*[dt]/ and not $self->{'output'} =~ /\.pdf$/i
187 0 0 0 $outtype eq 'pdf' and @{$u->{'playlist'}{'songs'};} > 1
421 0 0 0 $cells->[-1] and keys %{$$cells[-1];} == 1
484 0 0 0 ($i + 1) % $numcols and $i < @$cells - 1
0 0 0 ($i + 1) % $numcols and $i < @$cells - 1 and $$cells[$i + 1]->lbar
0 0 0 ($i + 1) % $numcols and $i < @$cells - 1 and $$cells[$i + 1]->lbar and $$cells[$i + 1]->lbar eq 'repeatLeft'
500 0 0 0 $t1 == 12 and $t2 == 8
599 0 0 0 $c eq 'repeat2Bars' and not $cell->rbar
615 0 0 0 $pb > 1 and $$cells[$pb - 1]->rbar
622 0 0 0 $nb + 1 < @$cells and $$cells[$nb + 1]->lbar
649 0 0 0 $nb + 1 < @$cells and $$cells[$nb + 1]->lbar
720 0 0 0 $cell->flags and $cell->flags & 1
761 0 0 0 $self->{'im'} and $self->{'crop'}
0 0 0 $self->{'im'} and $self->{'crop'} and $low
767 0 0 0 $self->{'npp'} and $self->{'im'}->getheight > 2480
841 0 0 0 $root eq 'N' and $c[0] eq 'C'
1304 0 0 0 $self->{'npp_strict'} and $img =~ /rehearsal_mark|root_nc|root_xx/

or 2 conditions

line l !l condition
78 0 0 $self->{'npp'} ||= 0
155 0 0 $self->{'output'} ||= '__new__.pdf'
940 0 0 $plname || 'Table of Contents'
1011 0 0 $lcr ||= 'l'
1036 0 0 $lcr ||= 'c'
1043 0 0 $lcr ||= 'r'
1095 0 0 $size ||= 20
1221 0 0 $bar ||= 'bar'
1223 0 0 $im_bar ||= {'barlineSingle', $self->getimg('single_barline')->scale('scalefactor', 2), 'barlineDouble', $self->getimg('double_barline')->scale('scalefactor', 2), 'barlineFinal', $self->getimg('double_barline_close')->scale('scalefactor', 2), 'repeatLeft', $self->getimg('repeat_barline_open'), 'repeatRight', $self->getimg('repeat_barline_close')}
1346 0 0 $quality || ''
0 0 $bass || ''

or 3 conditions

line l !l&&r !l&&!r condition
38 0 0 0 $self->{'resdir'} ||= App::Packager::GetResourcePath()
43 0 0 0 $ENV{'FONTDIR'} || $self->{'resdir'} . '/fonts'
152 0 0 0 $self->{'output'} ||= "$t.pdf"
358 0 0 0 $self->{'pdf'} or $self->{'im'}
511 0 0 0 $t1 > 10 or $t2 > 10
599 0 0 0 $c eq 'repeat1Bar' or $c eq 'repeat2Bars' and not $cell->rbar
615 0 0 0 $cells->[$pb]->lbar or $pb > 1 and $$cells[$pb - 1]->rbar
622 0 0 0 $cells->[$nb]->rbar or $nb + 1 < @$cells and $$cells[$nb + 1]->lbar
649 0 0 0 $cells->[$nb]->rbar or $nb + 1 < @$cells and $$cells[$nb + 1]->lbar
825 0 0 0 $font ||= $self->{'chordfont'}
826 0 0 0 $size ||= $self->{'chordsize'}
1008 0 0 0 $size ||= $self->{'musicsize'}
1009 0 0 0 $font ||= $self->{'textfont'}
1010 0 0 0 $col ||= $black
1050 0 0 0 $size ||= $self->{'musicsize'}
1060 0 0 0 $size ||= $self->{'musicsize'}
1070 0 0 0 $col ||= $black
1108 0 0 0 $ENV{'FONTDIR'} or $App::Packager::PACKAGED
1113 0 0 0 $fontcache{$ff} ||= 'Imager::Font'->new('file', $ff)
1237 0 0 0 $bar eq 'repeatLeft' or $bar eq 'repeatRight'
1324 0 0 0 $red ||= $img =~ /^ (?: .*rehearsal_mark_. | repeat_barline_(?:open|close) | time_signature_.. | ending_.* | coda | fermata | segno ) $/x