Branch Coverage

blib/lib/LBMA/Statistics/GoldFixing/Daily.pm
Criterion Covered Total %
branch 11 36 30.5


line true false branch
64 2 7 unless $$self{'year'}
65 1 6 unless $$self{'day_pattern'}
121 0 0 if defined @$fixings[0]
122 0 0 if defined @$fixings[1]
123 0 0 if defined @$fixings[2]
124 0 0 if ($year >= 1999) { }
127 0 0 if defined @$fixings[3]
133 0 0 wantarray ? :
169 0 0 unless my $browser = 'WWW::Mechanize'->new('stack_depth', 10, 'autocheck', 1)
176 0 0 unless $browser->get($url)
185 0 0 if (scalar @$fixings)
187 0 0 if ($year >= 1999) { }
203 0 0 wantarray ? :
218 0 2 unless my $te = 'HTML::TableExtract'->new
219 0 2 unless $te->parse($content)
222 2 233 unless defined @$row[0]
227 231 2 unless @$row[0] =~ /$day_pattern/
232 2 0 wantarray ? :