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 48 2 0 $header =~ /^M./ and $header ne 'MS'
50 0 0 $header =~ /^M./ and $header ne 'MS' and $header ne 'M%'
2 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 2 0 94 $player->{'No.'} and $player->{'No.'} =~ /\S/
2 14 80 $player->{'No.'} and $player->{'No.'} =~ /\S/ and not $player->{'No.'} =~ /\D/
244 2 90 4 $player->{'No.'} and $player->{'No.'} =~ /TOTALS/
287 80 80 1432 $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 34 2 $self->get_sub_tree(0, [$h, 0], $header_row) || ''
300 44 196 $player->{$field} ||= 0
308 0 456 $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 1930 0 22 $player->{$field} ||= $field eq 'TOIAVG' ? '0:00' : 0