Condition Coverage

blib/lib/WWW/BookBot.pm
Criterion Covered Total %
condition 20 51 39.2


and 3 conditions

line !l l&&!r l&&r condition
247 2190 408 2208 $meet_left == 0 and not /^\\/
375 12 0 6 $filetype eq 'result' and $$self{'result_no_crlf'}
386 33 0 9 $filetype eq 'result' and $$self{'result_no_crlf'}
726 0 0 0 $trunk_floor < $trunk_ceil and $bytes_received >= $trunk_refresh_now + $get_trunk_fresh_size
732 0 0 0 $expected_length > 0 and $trunk_ceil >= $screen_limit_trunk
753 0 0 0 $res->is_success and $$self{'get_save_file'}
1020 0 0 0 $$self{'get_skip_zip'} and $$pargs{'url'} =~ /(?:$$self{'patterns'}{'postfix_zip'})$/i
1022 0 0 0 $$self{'get_skip_media'} and $$pargs{'url'} =~ /(?:$$self{'patterns'}{'postfix_media'})$/i
1133 6 0 0 $$self{'patterns'}{'TOC_exists'} ne '' and not $str =~ /$$self{'patterns'}{'TOC_exists'}/so
1157 3 0 3 $$pargs{'level'} == 0 and $$pargs{'data_len'} > 0
1170 3 0 3 $$pargs{'level'} == 0 and $$pargs{'data_len'} > 0

or 3 conditions

line l !l&&r !l&&!r condition
38 0 0 21 ref $_[0] || $_[0]
127 0 0 21 $$self{'get_from_file'} or $$self{'get_save_file'}
375 6 0 12 $filetype eq 'result' and $$self{'result_no_crlf'} or $filetype eq 'debug'
386 9 0 33 $filetype eq 'result' and $$self{'result_no_crlf'} or $filetype eq 'debug'
552 3 0 24 $proxy_name eq 'No' or $proxy_name eq ''
667 0 0 0 $res->is_success or $res->code == 404