line |
!l |
l&&!r |
l&&r |
condition |
224
|
0 |
0 |
15 |
$self->{'json'}{'gameData'}{'status'}{'abstractGameState'} and $self->{'json'}{'gameData'}{'status'}{'abstractGameState'} eq 'Final' |
298
|
245 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}} and $Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}}{$player} |
|
0 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}} and $Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}}{$player} and $Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}}{$player} == -1 |
330
|
245 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}} and $Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}}{$ld_player->{'person'}{'id'}} |
|
245 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}} and $Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}}{$ld_player->{'person'}{'id'}} and ref $Sport::Analytics::NHL::Report::BS::BROKEN_PLAYERS{'BS'}{$self->{'_id'}}{$ld_player->{'person'}{'id'}} |
383
|
12 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::MISSING_PLAYERS{$self->{'_id'}} and @{$Sport::Analytics::NHL::Report::BS::MISSING_PLAYERS{$self->{'_id'}}[$t];} |
450
|
100 |
0 |
0 |
$event->{'penalty'} =~ /bench/i and not $event->{'penalty'} =~ /leaving/i |
523
|
0 |
1616 |
0 |
$Sport::Analytics::NHL::Report::BS::BROKEN_EVENTS{'BS'}{$event->{'game_id'}} and my $evx = $Sport::Analytics::NHL::Report::BS::BROKEN_EVENTS{'BS'}{$event->{'game_id'}}{$ld_event->{'about'}{'eventIdx'}} |
537
|
1516 |
95 |
5 |
$event->{'type'} eq 'PENL' and $event->{'description'} =~ /served by/i |
|
1611 |
5 |
0 |
$event->{'type'} eq 'PENL' and $event->{'description'} =~ /served by/i and not $event->{'servedby'} |
568
|
1590 |
0 |
26 |
$event->{'type'} eq 'GOAL' and not $event->{'en'} |
|
1590 |
26 |
0 |
$event->{'type'} eq 'GOAL' and not $event->{'en'} and not $event->{'player2'} |
595
|
1651 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::BROKEN_EVENTS{'BS'}{$self->{'_id'}}{$ld_event->{'about'}{'eventIdx'}} and $Sport::Analytics::NHL::Report::BS::BROKEN_EVENTS{'BS'}{$self->{'_id'}}{$ld_event->{'about'}{'eventIdx'}} eq '-1' |
620
|
1616 |
0 |
0 |
$Sport::Analytics::NHL::Report::BS::SPECIAL_EVENTS{$self->{'_id'}} and $Sport::Analytics::NHL::Report::BS::SPECIAL_EVENTS{$self->{'_id'}}{$ld_event->{'about'}{'eventIdx'}} |
line |
l |
!l |
condition |
283
|
20 |
2 |
$official->{'official'}{'id'} || 0 |
328
|
12 |
0 |
$ld_player->{'stats'}{'goalieStats'} || {} |
337
|
0 |
12 |
$player->{'penaltyMinutes'} || 0 |
448
|
80 |
20 |
$ld_event->{'result'}{'penaltySeverity'} || '' |
476
|
25 |
1 |
$ld_event->{'result'}{'secondaryType'} || '' |
498
|
160 |
0 |
$1 || '' |
510
|
315 |
0 |
$ld_event->{'result'}{'secondaryType'} || '' |
616
|
26 |
1590 |
$ld_event->{'result'}{'strength'}{'code'} || '' |
|
0 |
1616 |
$ld_event->{'about'}{'eventCode'} || '' |
648
|
21 |
14 |
$self->{'resolve_cache'}{$self->{'teams'}[$t]{'name'}}{'names'} ||= [] |
line |
l |
!l&&r |
!l&&!r |
condition |
316
|
208 |
12 |
25 |
$ld_player->{'stats'}{'skaterStats'} or $ld_player->{'stats'}{'goalieStats'} |
337
|
0 |
0 |
12 |
$player->{'pim'} ||= $player->{'penaltyMinutes'} || 0 |
368
|
12 |
0 |
0 |
$ldb_team->{'team'}{'triCode'} || $json->{'gameData'}{'teams'}{$team_key}{'abbreviation'} |
374
|
0 |
245 |
0 |
$self->set_broken_player($ld_player->{'person'}{'id'}) || $self->set_player($ld_player) |
426
|
0 |
0 |
18 |
$self->{'ot'} ||= $ld_period->{'periodType'} eq 'OVERTIME' ? 1 : 0 |
454
|
5 |
0 |
95 |
$event->{'penalty'} =~ /too many/i or $event->{'description'} =~ /^\s+against/i |
455
|
0 |
5 |
0 |
$event->{'servedby'} ||= $event->{'player1'} |
545
|
0 |
0 |
0 |
$event->{'description'} =~ /\b(illegal|official|proceed|dress|refusal|objects|misconduct|ineligible|conduct|bench|coach|delay|abus|leaving)/i && !($event->{'description'} =~ /leaves.*bench/i) || $event->{'severity'} =~ /BENCH/ || $event->{'description'} =~ /minor served by/i |
616
|
1336 |
0 |
0 |
$ld_event->{'team'}{'triCode'} || $ld_event->{'team'}{'name'} |
640
|
296 |
0 |
0 |
$player->{'number'} ||= $unknown_number++ |