Branch Coverage

blib/lib/Music/Image/Chord.pm
Criterion Covered Total %
branch 21 42 50.0


line true false branch
57 1 5 if (@_ > 0)
59 0 1 if ($_[0] =~ /\D/) { }
64 0 0 if (/^w/i) { }
0 0 elsif (/^h/i) { }
0 0 elsif (/^xmin/i) { }
0 0 elsif (/^xmax/i) { }
0 0 elsif (/^ymin/i) { }
0 0 elsif (/^ymax/i) { }
94 1 0 if (@_ > 0)
96 1 0 if ($_[0] =~ /\D/) { }
101 1 3 if (/^w/i) { }
1 2 elsif (/^h/i) { }
1 1 elsif (/^x/i) { }
1 0 elsif (/^y/i) { }
128 0 1 if (length $$self{'chord'} < 6)
137 2 4 if (/x/i) { }
1 3 elsif (/[o0]/i) { }
147 3 0 if $_ > 0 and $_ < 5
159 1 0 if $self->debug
170 1 0 if $self->crop_width > 0
337 1 0 if ($self->fret == 1)