Branch Coverage

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


line true false branch
30 0 0 unless exists $$self{'master_cgi'}
33 0 0 unless exists $$self{'start_title'}
35 0 0 unless exists $$self{'tmp_dir'}
37 0 0 unless exists $$self{'view_file'}
39 0 0 unless exists $$self{'tmp_log'}
41 0 0 unless exists $$self{'tmp_log'}
44 0 0 unless exists $$self{'url_list'}
47 0 0 unless exists $$self{'commentary'}
64 0 0 if (not param()) { }
76 0 0 if ($$self{'url_list'})
86 0 0 if ($$self{'commentary'})
97 0 0 if (substr($current_http_dir, -1, 1) ne '/')
109 0 0 if (not open(VIEWFILE, ">$$self{'view_file'}")) { }
114 0 0 if ($item =~ /^\s*last\s*$/)
118 0 0 if (-e $$self{'tmp_log'})
130 0 0 if ($$self{'log_file'})
153 0 0 if (not $res->is_success) { }
159 0 0 if ($$self{'log_file'})
160 0 0 unless open LOG, ">>$$self{'tmp_log'}"
179 0 0 if (lc $tag eq 'html')
183 0 0 unless $$self{'inside'}
189 0 0 if (defined $dirpref)
190 0 0 unless substr($dirpref, -1, 1) eq '/'
194 0 0 if (defined $$attr{'src'})
199 0 0 unless ($$attr{'src'} =~ m[^(?:ht|f)tp://]i)
200 0 0 if (substr($$attr{'src'}, 0, 1) eq '/') { }
211 0 0 if (defined $$attr{'href'})
212 0 0 unless ($$attr{'href'} =~ m[^(ht|f)tp://]i)
213 0 0 if (substr($$attr{'href'}, 0, 1) eq '/') { }
222 0 0 if ($tag eq 'a')
223 0 0 if ($$attr{'href'})
225 0 0 if ($$self{'which'} eq 'master') { }
237 0 0 unless grep(($_ eq 'color'), @$attrseq)
248 0 0 if ($tag eq 'body' and $$self{'which'} eq 'master')
263 0 0 unless $$self{'inside'}
271 0 0 unless $$self{'inside'}
277 0 0 unless $$self{'inside'}
280 0 0 if (lc $tag eq 'html')
283 0 0 if (lc $tag eq 'body' and $$self{'which'} eq 'master')
301 0 0 if (lc $which eq 'viewer') { }
320 0 0 unless $p{'view_file'}
323 0 0 unless $p{'log_file'}
369 0 0 if (open ITEM, $p{'view_file'})
372 0 0 if ($line == 1)
376 0 0 if ($prev_surf_id eq $surf_id) { }
389 0 0 if ($item =~ /^$SlideShow::last_marker$/)
399 0 0 if ($p{'log_file'})
420 0 0 if $line > 1
425 0 0 if ($count >= $TIMEOUT)