Condition Coverage

lib/ChordPro/lib/SVGPDF/Element.pm
Criterion Covered Total %
condition 0 88 0.0


and 3 conditions

line !l l&&!r l&&r condition
72 0 0 0 $x != 1 and $y != 1
181 0 0 0 lc $fill ne "none" and $fill ne "transparent"
199 0 0 0 $sda and $sda ne "none"
213 0 0 0 $style->{'stroke'} && $style->{'stroke'} ne 'none' && $style->{'stroke'} ne 'transparent' && $style->{'stroke-width'}
0 0 0 $style->{'fill'} and $style->{'fill'} ne "none"
0 0 0 $style->{'fill'} and $style->{'fill'} ne "none" and $style->{'fill'} ne "transparent"
220 0 0 0 $style->{'fill'} and $style->{'fill'} ne "none"
0 0 0 $style->{'fill'} and $style->{'fill'} ne "none" and $style->{'fill'} ne "transparent"
446 0 0 0 $msg and $self->root->verbose

or 2 conditions

line l !l condition
46 0 0 $y ||= 0
213 0 0 $style->{'stroke'} && $style->{'stroke'} ne 'none' && $style->{'stroke'} ne 'transparent' && $style->{'stroke-width'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018.

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 0 $updated_atts // $atts
47 0 0 0 $nooptimize or $x
0 0 0 $nooptimize or $x or $y
55 0 0 0 $nooptimize or $r
56 0 0 0 $x or $y
62 0 0 0 $x or $y
71 0 0 0 $y ||= $x
72 0 0 0 $nooptimize or $x != 1 and $y != 1
121 0 0 0 $style->{'font-size'} || $self->root->fontsize
255 0 0 0 $warned->{$name}++ or not $self->root->verbose
308 0 0 0 $2 eq "" or $2 eq "px"
316 0 0 0 $args{'width'} || $self->root->xoforms->[-1]{'diag'}
323 0 0 0 $args{'fontsize'} || $style->{'font-size'} || $self->root->fontsize
329 0 0 0 $args{'fontsize'} || $style->{'font-size'} || $self->root->fontsize
348 0 0 0 $atts // $self->atts
351 0 0 0 $atts{'href'} //= delete $atts{'xlink:href'}
400 0 0 0 $flags eq "w" or $param =~ /^(?:w(?:idth)|x)?$/iu
0 0 0 $flag eq "h" or $param =~ /^(?:h(?:eight)?|y)$/iu
436 0 0 0 not $self->root->verbose or $aw->{$tag}++