Condition Coverage

blib/lib/WWW/Pastebin/PastebinCa/Retrieve.pm
Criterion Covered Total %
condition 39 48 81.2


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 2 defined $content and length $content
40 532 1028 2 $nav{'level'} == 1 and $t->is_start_tag('dt')
1558 0 2 $nav{'get_name'} == 1 and $t->is_text
1550 6 2 $t->is_start_tag('p') and defined $t->get_attr('id')
1556 0 2 $t->is_start_tag('p') and defined $t->get_attr('id') and $t->get_attr('id') eq 'des'
1554 0 2 $nav{'get_desc'} and $t->is_text
1550 2 2 $nav{'level'} == 2 and $t->is_start_tag('dd')
1550 0 2 $nav{'get_date'} and $t->is_text
1524 24 2 $nav{'level'} == 7 and $t->is_start_tag('span')
1544 0 4 $t->is_start_tag('textarea') and defined $t->get_attr('name')
1544 2 2 $t->is_start_tag('textarea') and defined $t->get_attr('name') and $t->get_attr('name') eq 'content'
1544 0 2 $nav{'get_paste'} and $t->is_text
1418 124 2 $nav{'get_lang'} == 1 and $t->is_start_tag('select')
1362 134 46 $nav{'get_lang'} == 2 and $t->is_start_tag('option')
1496 44 2 $nav{'get_lang'} == 2 and $t->is_start_tag('option') and $t->get_attr('selected')
1538 0 2 $nav{'get_lang'} == 3 and $t->is_text