Branch Coverage

lib/Sanger/CGP/Vagrent/Data/Annotation.pm
Criterion Covered Total %
branch 47 54 87.0


line true false branch
76 1700 23800 if ($k eq 'minpos') { }
1700 22100 elsif ($k eq 'minOffset') { }
1700 20400 elsif ($k eq 'maxpos') { }
1700 18700 elsif ($k eq 'maxOffset') { }
1700 17000 elsif ($k eq 'wt') { }
1700 15300 elsif ($k eq 'mt') { }
1700 13600 elsif ($k eq 'acc') { }
1700 11900 elsif ($k eq 'accversion') { }
1700 10200 elsif ($k eq 'seqlength') { }
1700 8500 elsif ($k eq 'db') { }
1700 6800 elsif ($k eq 'dbversion') { }
1700 5100 elsif ($k eq 'description') { }
1700 3400 elsif ($k eq 'context') { }
1700 1700 elsif ($k eq 'type') { }
1700 0 elsif ($k eq 'subtype') { }
103 1700 1700 if ($vars{'context'} eq $context)
108 1700 0 if (defined $good) { }
116 1700 6014 if ($vars{'type'} eq $type)
121 1700 0 if (defined $good) { }
129 1700 1134 if ($vars{'subtype'} eq $subtype)
134 1700 0 if (defined $good) { }
255 3024 0 if (defined $c)
256 1324 1700 if (defined $self->getClassifications) { }
257 1324 0 unless first sub { $_ eq $c; } , $self->getClassifications
267 8041 1700 if exists $$self{'_class'} and defined $$self{'_class'}
273 7843 0 if (defined $$self{'_class'})
274 1372 6471 if (first sub { $_ eq $class; } , @{$$self{'_class'};}) { }