Branch Coverage

blib/lib/UML/State.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
201 1 3 if ($cols < @$row)
247 7 5 unless ($node eq '')
275 0 1 unless (defined $head_x)
281 1 0 if ($direction eq 'N') { }
0 0 elsif ($direction eq 'W') { }
0 0 elsif ($direction eq 'S') { }
309 0 2 unless (defined $$self{'boxes'}[$col][$row]{'left'})
334 0 11 unless (defined $head_x and defined $tail_x)
341 2 9 if ($bez) { }
0 9 elsif ($tail_desc eq $head_desc) { }
343 1 1 if ($bez =~ /Counter/i) { }
428 0 0 if ($direction eq 'N') { }
0 0 elsif ($direction eq 'S') { }
0 0 elsif ($direction eq 'W') { }
446 0 23 unless defined $$boxes[$col][$row]
447 4 19 if ($side eq 'N') { }
6 13 elsif ($side eq 'W') { }
6 7 elsif ($side eq 'S') { }
483 6 6 if (not defined $$widths[$i] or $$widths[$i] < $width_guess)