Branch Coverage

blib/lib/EBook/MOBI.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
72 0 0 if ($$self{'ref_to_debug_sub'})
82 0 15 if ($$self{'ref_to_debug_sub'})
109 1 6 unless ($self->_encoding_to_codepage($encoding))
125 2 8 if ($encoding =~ /iso-8859-1|ascii/i) { }
7 1 elsif ($encoding =~ /utf-*8/i) { }
162 0 12 if $@
165 0 12 if ($$self{'ref_to_debug_sub'})
168 5 7 if ($driver_opt)
186 2 3 if $label
197 5 13 if (exists $$self{'toc_set'} and $$self{'toc_set'}) { }
213 0 15 unless ($arg)
224 0 3 if $$self{'ref_to_debug_sub'}
241 0 5 if (exists $$self{'toc_done'} and $$self{'toc_done'}) { }
255 10 57 if ($line =~ m[^

(.*)

$])
281 10 127 if ($line =~ m[^

(.*)

$]) { }
5 122 elsif ($line =~ /$/) { }