Branch Coverage

lib/BalanceOfPower/Utils.pm
Criterion Covered Total %
branch 5 44 11.3


line true false branch
16 607 1254 if ($i == 1) { }
29 1 3 if ($i == 4) { }
41 0 1 if $year =~ m[\d+/\d+]
52 0 0 if ($turn =~ m[(\d+)(/(\d+))?]) { }
55 0 0 $3 ? :
68 0 0 unless $from_y
70 0 0 unless $from_y
72 0 0 if $to_y < $from_y or $to_y == $from_y and $to_t < $from_t
81 0 0 if $to_add eq $to
82 0 0 if ($to_add_t < 4) { }
106 0 0 if $first eq $second
108 0 0 unless $first_y
110 0 0 unless $second_y
111 0 0 if $first_y == $second_y and $first_t == $second_t
113 0 0 if $first_t < 0 or $second_t < 0 or $first_t > 4 or $second_t > 4
117 0 0 if ($first_y > $second_y or $first_y == $second_y and $first_t > $second_t) { }
139 0 0 if ($mode eq 'print') { }
0 0 elsif ($mode eq 'html') { }
152 0 0 if ($mode eq 'print') { }
0 0 elsif ($mode eq 'html') { }
205 0 0 if ($mode eq 'print') { }
0 0 elsif ($mode eq 'html') { }