Branch Coverage

blib/lib/SlideShow.pm
Criterion Covered Total %
branch 0 98 0.0


line true false branch
26 0 0 unless exists $$self{'master_cgi'}
29 0 0 unless exists $$self{'start_title'}
31 0 0 unless exists $$self{'tmp_dir'}
33 0 0 unless exists $$self{'view_file'}
35 0 0 unless exists $$self{'tmp_log'}
37 0 0 unless exists $$self{'tmp_log'}
40 0 0 unless exists $$self{'url_list'}
43 0 0 unless exists $$self{'commentary'}
61 0 0 if (not param()) { }
73 0 0 if ($$self{'url_list'})
83 0 0 if ($$self{'commentary'})
94 0 0 if (substr($current_http_dir, -1, 1) ne '/')
106 0 0 if (not open(VIEWFILE, ">$$self{'view_file'}")) { }
111 0 0 if ($item =~ /^\s*last\s*$/)
115 0 0 if (-e $$self{'tmp_log'})
127 0 0 if ($$self{'log_file'})
150 0 0 if (not $res->is_success) { }
156 0 0 if ($$self{'log_file'})
157 0 0 unless open LOG, ">>$$self{'tmp_log'}"
176 0 0 if (lc $tag eq 'html')
180 0 0 unless $$self{'inside'}
186 0 0 if (defined $dirpref)
187 0 0 unless substr($dirpref, -1, 1) eq '/'
191 0 0 if (defined $$attr{'src'})
196 0 0 unless ($$attr{'src'} =~ m[^(?:ht|f)tp://]i)
197 0 0 if (substr($$attr{'src'}, 0, 1) eq '/') { }
208 0 0 if (defined $$attr{'href'})
209 0 0 unless ($$attr{'href'} =~ m[^(ht|f)tp://]i)
210 0 0 if (substr($$attr{'href'}, 0, 1) eq '/') { }
219 0 0 if ($tag eq 'a')
220 0 0 if ($$attr{'href'})
222 0 0 if ($$self{'which'} eq 'master') { }
234 0 0 unless grep(($_ eq 'color'), @$attrseq)
245 0 0 if ($tag eq 'body' and $$self{'which'} eq 'master')
260 0 0 unless $$self{'inside'}
268 0 0 unless $$self{'inside'}
274 0 0 unless $$self{'inside'}
277 0 0 if (lc $tag eq 'html')
280 0 0 if (lc $tag eq 'body' and $$self{'which'} eq 'master')
298 0 0 if (lc $which eq 'viewer') { }
317 0 0 unless $p{'view_file'}
320 0 0 unless $p{'log_file'}
366 0 0 if (open ITEM, $p{'view_file'})
369 0 0 if ($line == 1)
373 0 0 if ($prev_surf_id eq $surf_id) { }
386 0 0 if ($item =~ /^$SlideShow::last_marker$/)
396 0 0 if ($p{'log_file'})
417 0 0 if $line > 1
422 0 0 if ($count >= $TIMEOUT)