Branch Coverage

blib/lib/CPAN/Testers/WWW/Statistics/Graphs.pm
Criterion Covered Total %
branch 20 62 32.2


line true false branch
126 0 0 unless defined $hash{'parent'}
172 0 0 unless $url
183 0 0 if ($@ or not $res->is_success) { }
0 0 elsif ($res->header('Content-Type') =~ /html/) { }
197 0 0 if ($r eq $latest)
211 0 0 unless my $fh = 'IO::File'->new(">$file")
212 0 0 if $file =~ /\.png$/
233 0 0 unless @data
237 0 0 if ($type eq 'index') { }
0 0 elsif ($type eq 'month') { }
243 0 0 $month % 2 == 1 ? :
244 0 0 $year != $yr ? :
250 0 0 $day == 1 || $day % 7 == 0 ? :
258 0 0 if $max < $data
311 0 0 unless my $fh = 'IO::File'->new($file)
316 0 0 unless $_
317 0 0 if /^#/ or /^$/
319 0 0 if $values[0] < $fdate or $values[0] > $tdate
327 0 54 if length $hexnum < 1
328 24 30 if length $hexnum < 2
336 1 7 if $max <= $lmt
341 5 2 if ($max < 100000)
346 4 1 if $max <= $lmt1
347 0 1 if $max <= $lmt2
348 1 0 if $max <= $lmt3
351 0 2 $num % 2 ? :
367 1 7 $pc0 <= $x5 ? :
0 8 $pc0 <= $x2 ? :
0 8 $pc0 <= $x1 ? :
371 11 4 $r < 1000000 ? :
26 15 $r < 1000 ? :