Condition Coverage

blib/lib/FASTX/Reader.pm
Criterion Covered Total %
condition 26 45 57.7


and 3 conditions

line !l l&&!r l&&r condition
42 2 0 31 defined $self->{'filename'} and $self->{'filename'} ne '{{STDIN}}'
92 37 0 0 defined $self->{'status'} and $self->{'status'} == 0
162 4 3 0 defined $self->{'status'} and $self->{'status'} == 0
182 1 0 5 substr($header, 0, 1) eq '@' and substr($check, 0, 1) eq '+'
187 1 0 4 $seq =~ /^[ACGTNacgtn]+$/u and length $seq == length $qual
220 2 14 0 defined $self->{'status'} and $self->{'status'} == 0
240 0 0 14 substr($header, 0, 1) eq '@' and substr($check, 0, 1) eq '+'
245 0 0 14 $seq =~ /^[ACGTNacgtn]+$/u and length $seq == length $qual

or 3 conditions

line l !l&&r !l&&!r condition
19 1 0 1 $args->{'loadseqs'} eq 'name' or $args->{'loadseqs'} eq 'names'
1 0 0 $args->{'loadseqs'} eq 'seq' or $args->{'loadseqs'} eq 'seqs'
1 0 0 $args->{'loadseqs'} eq 'seq' or $args->{'loadseqs'} eq 'seqs' or $args->{'loadseqs'} == 1
102 5 22 1 substr($_, 0, 1) eq '>' or substr($_, 0, 1) eq '@'
124 8 0 75 $c eq '>' or $c eq '@'
8 22 53 $c eq '>' or $c eq '@' or $c eq '+'
328 4 0 0 "$filename" || confess("Unable to read $filename\n$!\n")