Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
57 1 6 1 $self->{'_marc_field'} ne "leader" and not $self->{'_marc_field'} =~ /^\d+$/ms
63 1 1 5 $self->{'_marc_field'} ne "leader" and int $self->{'_marc_field'} > 9
2 4 1 $self->{'_marc_field'} ne "leader" and int $self->{'_marc_field'} > 9 and not defined $self->{'_marc_subfield'}

or 3 conditions

line l !l&&r !l&&!r condition
40 1 1 10 not &getopts("fh", $self->{'_opts'}) or $self->{'_opts'}{'h'}
1 2 8 not &getopts("fh", $self->{'_opts'}) or $self->{'_opts'}{'h'} or @ARGV < 2