Branch Coverage

Bio/Tools/SeqWords.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
144 0 0 if (not defined $seqobj and @args and ref $args[0])
149 0 3 unless ($seqobj->isa('Bio::PrimarySeqI'))
184 0 3 if (ref $seqobj) { }
186 0 0 unless ($seqobj->isa('Bio::PrimarySeqI'))
195 3 0 unless (defined $seqobj)
199 0 3 if ($word_length eq '' or $word_length =~ /[a-z]/i) { }
0 3 elsif ($word_length < 1 or $word_length - int($word_length) > 0) { }
209 0 3 if ($word_length > length $seqstring)
240 0 2 if (ref $seqobj) { }
242 0 0 unless ($seqobj->isa('Bio::PrimarySeqI'))
251 2 0 unless (defined $seqobj)
256 0 2 if ($word_length > length $seqstring)
276 3 2 if ($type eq 'non-overlap') { }
2 0 elsif ($type eq 'overlap') { }