Condition Coverage

blib/lib/WWW/phpBB.pm
Criterion Covered Total %
condition 0 273 0.0


and 3 conditions

line !l l&&!r l&&r condition
157 0 0 0 $$self{'mmech'}->success and $$self{'mmech'}->status == 200
160 0 0 0 $$self{'mmech'}->success and $$self{'mmech'}->status == 200
178 0 0 0 exists $$self{'forum_user'} and exists $$self{'forum_passwd'}
190 0 0 0 $$self{'mmech'}->success and $$self{'mmech'}->status == 200
198 0 0 0 $$self{'mmech'}->success and $$self{'mmech'}->status == 200
216 0 0 0 exists $$self{'forum_user'} and exists $$self{'forum_passwd'}
222 0 0 0 $$self{'mmech'}->success and $$self{'mmech'}->status == 200
230 0 0 0 $$self{'mmech'}->success and $$self{'mmech'}->status == 200
267 0 0 0 $token->is_text and $token->as_is =~ /\S/
279 0 0 0 $token->is_start_tag('a') and $token->get_attr('class') eq 'forumlink'
295 0 0 0 $token->is_text and $token->as_is =~ /\S/
299 0 0 0 $token->is_text and $token->as_is =~ /\S/
305 0 0 0 $token->is_text and $token->as_is =~ /\S/
309 0 0 0 $token->is_text and $token->as_is =~ /\S/
312 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /$$self{'topic_link_regex_p'}/
344 0 0 0 $mech->success and $mech->status == 200
347 0 0 0 $mech->success and $mech->status == 200
352 0 0 0 -@$pages <= $page_number and $page_number < @$pages
366 0 0 0 $mech->success and $mech->status == 200
369 0 0 0 $mech->success and $mech->status == 200
393 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /$$self{'topic_link_regex_t'}/
397 0 0 0 $token->is_text and $token->as_is =~ /\S/
402 0 0 0 $token->is_text and $token->as_is =~ /^(\d+)$/
410 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /viewprofile.*u=(\d+)/
415 0 0 0 not exists $row{'topic_poster'} and $token->is_text
0 0 0 not exists $row{'topic_poster'} and $token->is_text and $token->as_is =~ /\S/
430 0 0 0 $token->is_text and $token->as_is =~ /^(\d+)$/
433 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /$$self{'topic_link_regex_p'}/
446 0 0 0 $unique and not defined $page_number
477 0 0 0 $mech->success and $mech->status == 200
480 0 0 0 $mech->success and $mech->status == 200
485 0 0 0 -@$pages <= $page_number and $page_number < @$pages
496 0 0 0 $mech->success and $mech->status == 200
499 0 0 0 $mech->success and $mech->status == 200
506 0 0 0 $token->is_start_tag('table') and $token->get_attr('class') eq 'forumline'
525 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /viewprofile.*u=(\d+)(\D|$)/
529 0 0 0 $token->is_text and $token->as_is =~ /\S/
538 0 0 0 $token->is_start_tag('a') and $token->as_is =~ /mailto:([^"]+)\"/
549 0 0 0 $token->is_text and not $token->as_is =~ /^( )+$/
0 0 0 $token->is_text and not $token->as_is =~ /^( )+$/ and $token->as_is =~ /\S/
556 0 0 0 $token->is_text and $token->as_is =~ /\S/
562 0 0 0 $token->is_text and $token->as_is =~ /^(\d+)$/
568 0 0 0 $token->is_start_tag('a') and $token->get_attr('target') eq '_userwww'
589 0 0 0 $p_mech->success and $p_mech->status == 200
592 0 0 0 $p_mech->success and $p_mech->status == 200
600 0 0 0 $p_token->get_attr('class') =~ /row/ and $p_token->is_start_tag('td')
623 0 0 0 $p_token->is_text and $p_token->as_is =~ /^$$self{'profile_string_occupation'}:/i
630 0 0 0 $p_token->is_text and not $p_token->as_is =~ /^\s+$|^( )+$/
644 0 0 0 $p_token->is_text and $p_token->as_is =~ /^$$self{'profile_string_msn'}:/i
651 0 0 0 $p_token->is_start_tag('a') and $p_token->get_attr('href') =~ /target=(.+?)(&|$)/
658 0 0 0 $p_token->is_start_tag('a') and $p_token->get_attr('href') =~ /screenname=(.+?)(&|$)/
665 0 0 0 $p_token->is_start_tag('a') and $p_token->get_attr('href') =~ /icq\.com.*=(\d+?)(&|$)/
676 0 0 0 $$self{'db_insert'} and ++$rows >= $$self{'max_rows'}
725 0 0 0 $mech->success and $mech->status == 200
728 0 0 0 $mech->success and $mech->status == 200
733 0 0 0 -@$pages <= $page_number and $page_number < @$pages
745 0 0 0 $mech->success and $mech->status == 200
748 0 0 0 $mech->success and $mech->status == 200
752 0 0 0 defined $page_number and $page_number != -1
795 0 0 0 $token->is_start_tag('table') and $start_from == 0
811 0 0 0 $token->is_text and $token->as_is =~ /\S/
825 0 0 0 $token->is_text and $token->as_is =~ /\S/
0 0 0 $token->is_text and $token->as_is =~ /\S/ and not $token->as_is =~ / /
0 0 0 $token->is_text and $token->as_is =~ /\S/ and not $token->as_is =~ / / and not $token->as_is =~ /^\s+$/
859 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /$$self{'topic_link_regex_p'}/
873 0 0 0 $token->is_text and $token->as_is =~ /\S/
877 0 0 0 @{$$self{'posts'};} and $row{'post_time'} <= $$self{'posts'}[-1]{'post_time'}
901 0 0 0 $token->is_text and $token->as_is =~ /\S: (.*)$/
931 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /viewprofile.*u=(\d+)/
945 0 0 0 $$self{'db_insert'} and ++$rows == $$self{'max_rows'}
983 0 0 0 $$_{'user_id'} == $user_id and $user_id != 1
1059 0 0 0 $sth->fetch and $topic_title ne $$t{'topic_title'}
1140 0 0 0 $in_new and not $in_orig
1246 0 0 0 $$self{'alternative_page_number_regex_forum'} ne qr// and $type eq 'forum'
0 0 0 $$self{'alternative_page_number_regex_topic'} ne qr// and $type eq 'topic'
1327 0 0 0 $token->is_start_tag('ol') and $token->get_attr('type') eq '1'
0 0 0 $token->is_start_tag('ol') and $token->get_attr('type') eq 'a'
1354 0 0 0 $token->is_text and $token->as_is =~ /^(.*?) ?$$self{'quote_string'}:$/s
1463 0 0 0 $date_vars{'am_pm'} =~ /pm/i and $date_vars{'hour'} != 12
1465 0 0 0 $date_vars{'am_pm'} =~ /am/i and $date_vars{'hour'} == 12

or 3 conditions

line l !l&&r !l&&!r condition
263 0 0 0 $token->is_start_tag('a') or $token == 0
299 0 0 0 $token->is_text and $token->as_is =~ /\S/ or $token->is_end_tag('td')
312 0 0 0 $token->is_start_tag('a') and $token->get_attr('href') =~ /$$self{'topic_link_regex_p'}/ or $token->is_end_tag('tr')
376 0 0 0 not defined $token or $token->get_attr('class') eq 'forumline'
387 0 0 0 $token->is_start_tag('img') or $token->is_end_tag('td')
430 0 0 0 not defined $token or $token->is_text and $token->as_is =~ /^(\d+)$/
525 0 0 0 not defined $token or $token->is_start_tag('a') and $token->get_attr('href') =~ /viewprofile.*u=(\d+)(\D|$)/
630 0 0 0 $p_token->is_text and not $p_token->as_is =~ /^\s+$|^( )+$/ or $p_token->is_end_tag('tr')
651 0 0 0 $p_token->is_start_tag('a') and $p_token->get_attr('href') =~ /target=(.+?)(&|$)/ or $p_token->is_end_tag('tr')
658 0 0 0 $p_token->is_start_tag('a') and $p_token->get_attr('href') =~ /screenname=(.+?)(&|$)/ or $p_token->is_end_tag('tr')
665 0 0 0 $p_token->is_start_tag('a') and $p_token->get_attr('href') =~ /icq\.com.*=(\d+?)(&|$)/ or $p_token->is_end_tag('tr')