Branch Coverage

lib/BalanceOfPower/Role/Reporter.pm
Criterion Covered Total %
branch 7 54 12.9


line true false branch
36 988 964 unless (ref $event eq 'HASH')
43 1802 150 $self->current_year ? :
45 0 1952 unless $self->events
68 0 0 if (exists $out{$tag}) { }
111 480 162 if ($self->events and exists $self->events->{$year}) { }
126 0 0 if ($self->events and exists $self->events->{$year}) { }
129 0 0 if (exists $events{$tag}) { }
149 0 0 unless ($y)
151 0 0 $self->current_year ? :
153 0 0 if ($y =~ /^\d\d\d\d$/) { }
0 0 elsif ($y =~ m[^\d\d\d\d/\d+$]) { }
0 0 elsif ($y eq 'START') { }
196 0 0 if $a eq $b
197 0 0 if $a eq 'START'
198 0 0 if $b eq 'START'
199 0 0 if $a gt $b
200 0 0 if $b gt $a
205 0 0 if ($range == -1) { }
212 0 0 if $start < 0
232 0 0 if (defined $e->{'values'} and @{$e->{'values'};})
234 0 0 defined $_ ? :
237 0 0 if (defined $e->{'involved'} and @{$e->{'involved'};})
239 0 0 defined $_ ? :
257 0 0 if ($l =~ /### (.*)$/) { }
266 0 0 if (@elements == 1) { }
276 0 0 if $elements[2]
278 0 0 if $elements[3]