Branch Coverage

lib/WWW/Scraper/F1.pm
Criterion Covered Total %
branch 21 42 50.0


line true false branch
30 0 2 unless (defined $race_info)
48 0 2 $diff_days > 0 ? :
2 0 $diff->hours > 0 ? :
51 2 0 if ($now > $dt)
69 0 3 if $$options{'length'} < 1
72 0 3 unless (defined $championship_table)
94 0 5 if ($cache and -e $cache_name and not $testing) { }
97 0 0 if ($now > $$cache_content{'race_info'}{'time'}) { }
99 0 0 unless $web_content
110 0 5 unless $web_content
122 5 0 if ($test) { }
127 0 5 if (not $race_info_content) { }
135 5 0 if ($test) { }
140 0 5 unless ($championship_content)
157 5 0 if ($$web_content{'race_content'}) { }
160 5 10720 if ($line =~ /grand_prix\[0\]\.sessions/u)
185 5 0 if ($$web_content{'championship_content'}) { }
195 125 5 if (@columns)
210 10 0 unless $browser
212 0 10 if wantarray
214 0 10 unless $resp->is_success