| line |
true |
false |
branch |
|
24
|
0 |
1 |
if (exists $o->{'type'}) { } |
|
|
0 |
1 |
elsif (defined $output and not exists $o->{'output_scalar'}) { } |
|
42
|
0 |
0 |
if defined $o->{'writer'} |
|
45
|
0 |
0 |
if defined $o->{'book'} |
|
54
|
0 |
0 |
unless -f $input and -s $input |
|
58
|
0 |
0 |
unless (defined $output) |
|
62
|
0 |
0 |
if $output eq $input |
|
76
|
0 |
0 |
if ($o->{'type'} =~ /\.epub$/) { } |
|
|
0 |
0 |
elsif ($o->{'type'} =~ /\.mobi$/) { } |
|
97
|
0 |
1 |
if ($o->{'type'} ne 'html' and not exists $o->{'output_scalar'}) { } |
|
110
|
1 |
0 |
unless ($o->{'output'}) |
|
114
|
1 |
0 |
exists $o->{'output_scalar'} ? : |
|
124
|
0 |
0 |
if (exists $o->{'min_item_num'} and $o->{'min_item_num'} > 1) { } |
|
|
0 |
0 |
elsif (exists $o->{'min_page_num'} and $o->{'min_page_num'} > 1) { } |
|
138
|
1 |
0 |
$o->{'with_toc'} ? : |
|
191
|
0 |
1 |
unless $tt->process(\$txt, $book_ref, $dst, {"binmode", ":utf8"}) |