| line |
true |
false |
branch |
|
260
|
0 |
0 |
if not $reapply and $collection->count |
|
263
|
0 |
0 |
ref $index_map eq 'ARRAY' ? : |
|
267
|
0 |
0 |
ref $index_map eq 'ARRAY' ? : |
|
288
|
0 |
0 |
$team_db ? : |
|
296
|
0 |
0 |
unless @games |
|
304
|
0 |
0 |
if ($_->{'stage'} == $Sport::Analytics::NHL::DB::REGULAR or $_->{'stage'} == $Sport::Analytics::NHL::DB::PLAYOFF) { } |
|
309
|
0 |
0 |
ref $_ && ref $_ eq 'ARRAY' ? : |
|
344
|
0 |
0 |
if ($location_db) { } |
|
345
|
0 |
0 |
if ($location_db->{'capacity'} < $location->{'capacity'}) |
|
380
|
0 |
0 |
if (not @{$player_db->{'statuses'};} or $player_db->{'statuses'}[-1]{'status'} ne $player_game->{'status'} or $player_db->{'statuses'}[-1]{'team'} ne $team) { } |
|
394
|
0 |
0 |
if $player_db->{'statuses'}[-1]{'end'} < $game->{'start_ts'} |
|
396
|
0 |
0 |
if $player_db->{'statuses'}[-1]{'start'} > $game->{'start_ts'} |
|
407
|
0 |
0 |
if (not @{$player_db->{'teams'};} or $player_db->{'teams'}[-1]{'team'} ne $team) { } |
|
417
|
0 |
0 |
if $player_db->{'teams'}[-1]{'end'} < $game->{'start_ts'} |
|
419
|
0 |
0 |
if $player_db->{'teams'}[-1]{'start'} > $game->{'start_ts'} |
|
431
|
0 |
0 |
if (not @{$player_db->{'injury_history'};} or $player_db->{'injury_history'}[-1]{'status'} ne $injury_status) { } |
|
442
|
0 |
0 |
if $player_db->{'injury_history'}[-1]{'end'} < $game->{'start_ts'} |
|
444
|
0 |
0 |
if $player_db->{'injury_history'}[-1]{'start'} > $game->{'start_ts'} |
|
476
|
0 |
0 |
if (&firstval(sub {
$game->{'_id'} == $_;
}
, @{$player_db->{'games'};} > -1)) |
|
477
|
0 |
0 |
if ($force) { } |
|
488
|
0 |
0 |
$game->{'teams'}[0]{'name'} eq $team_name ? : |
|
494
|
0 |
0 |
if defined $player_game->{'start'} and $player_game->{'start'} == 1 |
|
537
|
0 |
0 |
if ref $team->{'coach'} |
|
542
|
0 |
0 |
if $coach_db->{'name'} eq 'UNKNOWN COACH' |
|
544
|
0 |
0 |
if grep {$game->{'_id'} == $_;} @{$$coach_db{'games'};} |
|
547
|
0 |
0 |
if ($coach_db->{'team'} eq $team->{'name'}) { } |
|
557
|
0 |
0 |
if $coach_db->{'start'} > $game->{'start_ts'} |
|
559
|
0 |
0 |
if $coach_db->{'end'} < $game->{'start_ts'} |
|
575
|
0 |
0 |
if ref $name |
|
581
|
0 |
0 |
unless ($entry) |
|
595
|
0 |
0 |
if ($event->{'type'} eq 'STOP') |
|
608
|
0 |
0 |
if $event->{'type'} eq 'GEND' or $event->{'type'} eq 'PSTR' or $event->{'type'} eq 'PEND' |
|
611
|
0 |
0 |
if $event->{'type'} eq 'PEND' or $event->{'type'} eq 'PSTR' |
|
613
|
0 |
0 |
if (exists $event->{'coordinates'}{'x'}) |
|
627
|
0 |
0 |
if $event_db |
|
631
|
0 |
0 |
if exists $event->{$field} |
|
658
|
0 |
0 |
unless ($collections{$_event->{'type'}}) |
|
670
|
0 |
0 |
if ($coach->{'name'} ne 'UNKNOWN COACH') |
|
709
|
0 |
0 |
if ref $player->{$stat} |