Branch Coverage

blib/lib/Sport/Analytics/NHL/Report/RO.pm
Criterion Covered Total %
branch 25 60 41.6


line true false branch
111 0 0 if $is_scratch
113 0 0 $is_scratch ? :
115 0 0 unless ref $tr
121 0 0 if (ref $td) { }
125 0 0 if ($field ne 'status')
132 0 0 unless $player->{'name'}
152 16 180 unless $tr and ref $tr
159 180 0 unless ($is_scratch)
161 48 132 $class =~ /bold/ ? :
162 24 156 if ($player->{'name'} =~ /\((\w)\)/) { }
209 0 0 unless ref $tr
211 0 0 if ($type =~ /referee/i) { }
222 0 0 if (@{$self->{'officials'}{$type};} == 1)
238 4 16 unless $tr and ref $tr
241 0 16 if (@{$tr->{'_content'};} == 4) { }
249 8 16 unless $td_table and ref $td_table
250 8 8 $d == $d_ref ? :
254 0 16 unless $official
262 16 0 unless @{$officials->{$type};} == 2
278 0 0 @{$self->{'head'};} == 2 ? :
281 0 0 if ($row->tag eq 'table' or $row->tag eq 'tbody')
282 0 0 if ($r[0] == 3) { }
0 0 elsif ($r[0] == 5) { }
0 0 elsif ($r[0] == 7) { }
308 12 4 if ($r) { }
310 4 8 if ($header =~ /Head Coaches/) { }
4 4 elsif ($header =~ /Scratches/) { }
4 0 elsif ($header =~ /Officials/) { }
329 0 24 unless $table
345 0 4 $self->{'old'} ? :