Branch Coverage

blib/lib/WWW/BashOrg.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
25 1 0 unless defined $args{'ua'}
45 0 1 unless (length $num and $num =~ /^\d+$/)
50 1 0 $site eq 'bash' ? :
51 0 1 unless ($res->is_success)
57 0 1 unless (defined $quote)
72 0 0 unless $$self{'cache' . $site}
0 0 unless (@{[] unless $$self{'cache' . $site};})
73 0 0 $site eq 'bash' ? :
79 0 0 unless ($res->is_success)
87 0 0 unless (@{$$self{'cache' . $site};})
105 1 2 if ($t->is_start_tag('p') || $t->is_start_tag('span') and defined $t->get_attr('class') and $t->get_attr('class') eq 'qt')
112 2 246 if ($get_quote and $t->is_text)
116 1 4 if ($get_quote and $t->is_end_tag('p') || $t->is_end_tag('span'))
129 0 1 if $site ne 'bash' and $site ne 'qdb'