Branch Coverage

blib/lib/EBook/MOBI/Mhtml2Mobi.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
90 0 0 if ($$self{'ref_to_debug_sub'})
102 0 3 if ($$self{'ref_to_debug_sub'})
164 3 0 if $$header{'length'} < 4096
184 0 3 if ($header_opts and ref $header_opts eq 'HASH')
185 0 0 if exists $$header_opts{'language'}
199 0 3 if (@{$$self{'picture_paths'};})
205 0 0 if $@
207 0 0 if ($$self{'ref_to_debug_sub'})
235 0 0 unless open my $IMG, $img_path
264 0 18 if ($line =~ /.*/g)
268 0 0 unless (-e $img_path and -r $img_path)
278 0 3 if (@err_img >= 1)