Condition Coverage

blib/lib/App/MARC/Filter.pm
Criterion Covered Total %
condition 15 15 100.0


and 3 conditions

line !l l&&!r l&&r condition
59 1 1 8 $self->{'_marc_field'} ne "leader" and $self->{'_marc_field'} ne "material_type"
2 1 7 $self->{'_marc_field'} ne "leader" and $self->{'_marc_field'} ne "material_type" and &none(sub {
85 14 1 1 defined $self->{'_opts'}{'n'} and int $self->{'_opts'}{'n'} == $self->{'_num_found'}

or 3 conditions

line l !l&&r !l&&!r condition
50 1 1 12 not &getopts("hn:o:rv", $self->{'_opts'}) or $self->{'_opts'}{'h'}
1 2 10 not &getopts("hn:o:rv", $self->{'_opts'}) or $self->{'_opts'}{'h'} or @ARGV < 3