Condition Coverage

blib/lib/Sport/Analytics/NHL/Report/ES.pm
Criterion Covered Total %
condition 22 44 50.0


and 3 conditions

line !l l&&!r l&&r condition
202 96 4 0 $header =~ /^M./ and $header ne 'MS'
100 0 0 $header =~ /^M./ and $header ne 'MS' and $header ne 'M%'
4 0 0 $header =~ /^M./ and $header ne 'MS' and $header ne 'M%' and $header ne 'MO'
0 0 0 $header =~ /^M./ and $header ne 'MS' and $header ne 'M%' and $header ne 'MO' and $header ne 'MG'
222 0 0 0 $player->{'name'} and not $player->{'name'} =~ /TOTALS/
0 0 0 $player->{'name'} and not $player->{'name'} =~ /TOTALS/ and not $player->{'name'} =~ /team penalty/i
243 4 0 188 $player->{'No.'} and $player->{'No.'} =~ /\S/
4 28 160 $player->{'No.'} and $player->{'No.'} =~ /\S/ and not $player->{'No.'} =~ /\D/
244 4 180 8 $player->{'No.'} and $player->{'No.'} =~ /TOTALS/
287 160 160 2864 $field ne 'name' and $field ne 'POS'

or 2 conditions

line l !l condition
137 0 0 $self->get_sub_tree(0, [$h, 0, 1], $header_row) || $self->get_sub_tree(0, [$h, 0, 0, 1], $header_row) || ''
184 68 4 $self->get_sub_tree(0, [$h, 0], $header_row) || ''
300 88 392 $player->{$field} ||= 0
308 0 912 $player->{$field} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
142 0 0 0 $self->get_sub_tree(0, [$h, 0, 2], $header_row) || $self->get_sub_tree(0, [$h, 0, 0, 2], $header_row)
283 3860 0 44 $player->{$field} ||= $field eq 'TOIAVG' ? '0:00' : 0