line |
l |
!l |
condition |
258
|
0 |
0 |
shift() || 0 |
319
|
0 |
0 |
shift() || {'stop_season', $Sport::Analytics::NHL::DB::CURRENT_SEASON, 'start_season', $Sport::Analytics::NHL::DB::CURRENT_SEASON} |
364
|
0 |
0 |
$player->{$h} ||= [] |
366
|
0 |
0 |
$player->{'games'} ||= [] |
367
|
0 |
0 |
$player->{'starts'} ||= [] |
379
|
0 |
0 |
$player_db->{'statuses'} ||= [] |
406
|
0 |
0 |
$player_db->{'teams'} ||= [] |
430
|
0 |
0 |
$player_db->{'injury_history'} ||= [] |
470
|
0 |
0 |
shift() || 0 |
486
|
0 |
0 |
$player_db->{$h} ||= [] |
495
|
0 |
0 |
$player_game->{'status'} ||= 'X' |
496
|
0 |
0 |
$player_game->{'start'} ||= 2 |
line |
l |
!l&&r |
!l&&!r |
condition |
233
|
0 |
0 |
0 |
shift() || $ENV{'HOCKEYDB_DBNAME'} || $Sport::Analytics::NHL::DB::MONGO_DB || $DEFAULT_DB |
236
|
0 |
0 |
0 |
$Sport::Analytics::NHL::DB::MONGO_HOST || $DEFAULT_HOST |
237
|
0 |
0 |
0 |
$Sport::Analytics::NHL::DB::MONGO_PORT || $DEFAULT_PORT |
243
|
0 |
0 |
0 |
$database || $DEFAULT_DB |
304
|
0 |
0 |
0 |
$_->{'stage'} == $Sport::Analytics::NHL::DB::REGULAR or $_->{'stage'} == $Sport::Analytics::NHL::DB::PLAYOFF |
380
|
0 |
0 |
0 |
not @{$player_db->{'statuses'};} or $player_db->{'statuses'}[-1]{'status'} ne $player_game->{'status'} |
|
0 |
0 |
0 |
not @{$player_db->{'statuses'};} or $player_db->{'statuses'}[-1]{'status'} ne $player_game->{'status'} or $player_db->{'statuses'}[-1]{'team'} ne $team |
407
|
0 |
0 |
0 |
not @{$player_db->{'teams'};} or $player_db->{'teams'}[-1]{'team'} ne $team |
431
|
0 |
0 |
0 |
not @{$player_db->{'injury_history'};} or $player_db->{'injury_history'}[-1]{'status'} ne $injury_status |
475
|
0 |
0 |
0 |
$players_c->find_one({'_id', $player->{'_id'}}) || &add_new_player($players_c, $player) |
539
|
0 |
0 |
0 |
$coaches_c->find_one({'name', $team->{'coach'}}) || &add_new_coach($coaches_c, $game, $team) |
608
|
0 |
0 |
0 |
$event->{'type'} eq 'GEND' or $event->{'type'} eq 'PSTR' |
|
0 |
0 |
0 |
$event->{'type'} eq 'GEND' or $event->{'type'} eq 'PSTR' or $event->{'type'} eq 'PEND' |
611
|
0 |
0 |
0 |
$event->{'type'} eq 'PEND' or $event->{'type'} eq 'PSTR' |