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 8 90 unless $tr and ref $tr
159 90 0 unless ($is_scratch)
161 24 66 $class =~ /bold/ ? :
162 12 78 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 2 8 unless $tr and ref $tr
241 0 8 if (@{$tr->{'_content'};} == 4) { }
249 4 8 unless $td_table and ref $td_table
250 4 4 $d == $d_ref ? :
254 0 8 unless $official
262 8 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 6 2 if ($r) { }
310 2 4 if ($header =~ /Head Coaches/) { }
2 2 elsif ($header =~ /Scratches/) { }
2 0 elsif ($header =~ /Officials/) { }
329 0 12 unless $table
345 0 2 $self->{'old'} ? :