Branch Coverage

lib/Sanger/CGP/Vagrent/Data/ComplexIndel.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
36 230 1380 if ($k eq 'delseq') { }
230 1150 elsif ($k eq 'insseq') { }
47 0 230 unless defined $$self{'_minpos'} and defined $$self{'_maxpos'}
48 0 230 unless $$self{'_minpos'} <= $$self{'_maxpos'}
49 0 230 unless $$self{'_minpos'} > 0
51 0 230 unless defined $$self{'_delseq'}
52 0 230 unless length $$self{'_delseq'} > 0
53 0 230 unless $$self{'_delseq'} =~ /^[atcgn]+$/i
55 0 230 if length $$self{'_delseq'} != $$self{'_maxpos'} - $$self{'_minpos'} + 1
57 0 230 unless exists $$self{'_insseq'} and defined $$self{'_insseq'}
58 0 230 unless length $$self{'_insseq'} > 0
59 0 230 unless $$self{'_insseq'} =~ /^[atcgn]+$/i
75 0 0 if ($self->getMinPos == $self->getMaxPos) { }
79 0 0 if (length $self->getDeletedSequence <= 10) { }