blib/lib/WWW/BashOrg.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 29 | 65.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 0 | 0 | 1 | length $num and $num =~ /^\d+$/ |
105 | 245 | 1 | 2 | $t->is_start_tag('p') || $t->is_start_tag('span') and defined $t->get_attr('class') |
246 | 1 | 1 | $t->is_start_tag('p') || $t->is_start_tag('span') and defined $t->get_attr('class') and $t->get_attr('class') eq 'qt' | |
112 | 243 | 3 | 2 | $get_quote and $t->is_text |
116 | 243 | 5 | 0 | $get_quote and $t->is_end_tag('p') || $t->is_end_tag('span') |
129 | 1 | 0 | 0 | $site ne 'bash' and $site ne 'qdb' |
line | l | !l | condition |
---|---|---|---|
29 | 0 | 1 | $args{'default_site'} ||= 'bash' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 3 | 0 | 245 | $t->is_start_tag('p') || $t->is_start_tag('span') |
116 | 1 | 0 | 4 | $t->is_end_tag('p') || $t->is_end_tag('span') |
128 | 0 | 1 | 0 | $site ||= $self->default_site |