Condition Coverage

blib/lib/EBook/Ishmael/EBook/Mobi.pm
Criterion Covered Total %
condition 16 41 39.0


and 3 conditions

line !l l&&!r l&&r condition
50 24 0 11 $type eq $TYPE and $creator eq $CREATOR
93 0 0 0 $len <= 8 and not $term
852 0 0 20 $self->{'_length'} >= 227 and $self->{'_version'} >= 5
889 0 20 0 defined $self->{'_coverrec'} and not grep({$self->{'_coverrec'} == $_->[0];} @{$$self{"_images"};})
936 10 0 0 $decode and $self->{'_codepage'} == 1252

or 2 conditions

line l !l condition
478 0 280 shift() // 8
749 20 0 shift() // 1
926 0 10 $param{'decode'} // 0
927 5 5 $param{'clean'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
375 0 0 40 $header->{'code'} == 65002 or $ocnt != 0
0 0 40 $header->{'code'} == 65002 or $ocnt != 0 or $oentries > 0
804 0 20 0 $self->{'_compression'} == 1 or $self->{'_compression'} == 2
20 0 0 $self->{'_compression'} == 1 or $self->{'_compression'} == 2 or $self->{'_compression'} == 17480
829 0 20 0 $self->{'_codepage'} == 1252 or $self->{'_codepage'} == 65001
898 20 0 0 not defined $self->{'Metadata'}->created or $self->{'_pdb'}->cdate > $self->{'Metadata'}->created