Condition Coverage

lib/PDF/Burst.pm
Criterion Covered Total %
condition 8 41 19.5


and 2 conditions

line l !l condition
34 0 2 warn "Cant make sense of path segments for '${_path}'" and return
39 0 0 $PDF::Burst::errstr = "argument $_abs_loc abs loc not on disk" and return
47 0 0 warn "groupname '${groupname}' makes no sense." and return
51 0 0 $PDF::Burst::errstr = "$abs not pdf?" and return
77 0 0 $PDF::Burst::errstr = "CAM_PDF: could not open $abs" and return
90 0 0 $PDF::Burst::errstr = "CAM_PDF: cant copy $abs to $abs_page, $!" and return
121 0 0 $PDF::Burst::errstr = "CAM_PDF: could not save? !-f $abs_page" and return
137 0 1 $PDF::Burst::errstr = "$_abs not on disk? cant resolve with Cwd::abs_path" and warn "$_abs not on disk" and return
142 0 1 $PDF::Burst::errstr = "Path $abs not on disk." and warn "path $abs not on disk" and return
147 0 0 $PDF::Burst::errstr = "cant match abs loc and filename into '${abs}'" and return
213 0 1 $PDF::Burst::errstr = q[pdftk: Can't find which pdftk.] and return
225 0 0 $PDF::Burst::errstr = "pdftk: fails: '@{args}'" and return
231 0 0 $PDF::Burst::errstr = "pdftk: can't open $abs_loc, $!" and return
299 0 0 warn "Cannot open '${doc_dat}' for reading, $!" and return
304 0 0 warn "Cant make out line '${line}' into key val pair" and next
311 0 0 warn "had nothing in '${doc_dat}'?" and return

and 3 conditions

line !l l&&!r l&&r condition
137 0 0 1 $PDF::Burst::errstr = "$_abs not on disk? cant resolve with Cwd::abs_path" and warn "$_abs not on disk"
142 0 0 1 $PDF::Burst::errstr = "Path $abs not on disk." and warn "path $abs not on disk"

or 3 conditions

line l !l&&r !l&&!r condition
46 2 8 0 $groupname ||= $filename_only