line |
true |
false |
branch |
109
|
0 |
6 |
unless $json |
113
|
0 |
6 |
unless $self->{'json'}{'id'} |
141
|
0 |
3 |
if ($Sport::Analytics::NHL::Report::Player::MISSING_PLAYER_INFO{$bio->{'id'}}) |
155
|
3 |
3 |
if ($phase->{'type'}{'displayName'} eq 'yearByYear') { } |
|
3 |
0 |
elsif ($phase->{'type'}{'displayName'} eq 'yearByYearPlayoffs') { } |
180
|
0 |
160 |
unless $season->{'season'} |
191
|
0 |
160 |
if ($position eq 'G') { } |
229
|
40 |
5 |
if (defined $self->{$field}) { } |
250
|
3 |
0 |
if defined $1 and defined $2 |
253
|
0 |
2 |
if ($self->{'draftyear'} =~ /^\s*(\S\S\S)\s+.*?(\d{4})/) |
259
|
0 |
0 |
if ($self->{'draftposition'} =~ /(\d+)\D+(\d+)/) |
266
|
25 |
15 |
if defined $self->{$field} and $self->{$field} =~ /^\-?\d*\.?\d+$/ |
284
|
746 |
2146 |
unless (defined $season->{$field}) |
291
|
0 |
2146 |
if $season->{$field} eq '-' |
292
|
0 |
2146 |
if $field =~ /[A-Z]/ |
295
|
0 |
160 |
if $season->{'ga'} and $season->{'ga'} == 871 |
296
|
0 |
160 |
if $season->{'ga'} and $season->{'ga'} == 1465 |
297
|
0 |
160 |
if $season->{'ga'} and $season->{'ga'} == 1380 |
298
|
0 |
160 |
if $season->{'gp'} and $season->{'gp'} == 119 |
299
|
0 |
160 |
if $season->{'gp'} and $season->{'gp'} == 487 |
300
|
0 |
160 |
if $season->{'so'} and $season->{'so'} == 149 |
301
|
160 |
0 |
if ($season->{'season'} =~ /(\d+)\-(\d+)/) { } |
306
|
101 |
59 |
if $season->{'league'} eq 'National Hockey League' and $season->{'start'} >= 1942 |
307
|
1 |
159 |
if ($season->{'team'} =~ /(.*?)\-(\S+)\s*$/ or $season->{'team'} =~ /(.*?)\-(\S+\s*Ten)$/ or $season->{'team'} =~ /(.*?)\-(\S+\s*Midget)$/ or $season->{'team'} =~ /(.*?)\-(\S+)\s*Italy\s*$/ or $season->{'team'} =~ /(.*?)\s+(U18-20 Elit)/ or $season->{'team'} =~ /(.*?)\-(\S+\s*Jr.)/ or $season->{'team'} =~ /(.*?)\-(\S+\s*Sr.)$/) { } |
320
|
101 |
59 |
if ($season->{'league'} eq 'NHL') |
323
|
101 |
0 |
if $season->{'end'} > ($season->{'career_end'} || 0) |
327
|
0 |
0 |
if ($season->{'team'} =~ /total/i and $season->{'gp'}) { } |