Branch Coverage

lib/Sanger/CGP/Vagrent/Data/AnnotationGroup.pm
Criterion Covered Total %
branch 25 48 52.0


line true false branch
52 818 2454 if ($k eq 'label') { }
818 1636 elsif ($k eq 'accession') { }
818 818 elsif ($k eq 'type') { }
818 0 elsif ($k eq 'ccds') { }
59 818 222 if ($vars{'type'} eq $type)
64 818 0 if (defined $good) { }
77 0 1700 unless (defined $a)
81 0 1700 unless ($a->isa('Sanger::CGP::Vagrent::Data::Annotation'))
85 882 818 if (exists $$self{'_anno'} and defined $$self{'_anno'} and scalar @{$$self{'_anno'};} > 0) { }
88 0 1323 if ($ca->getContext eq $a->getContext)
94 882 0 if ($good)
104 818 0 if (defined $$self{'_anno'}) { }
114 3400 3400 if $a->getContext eq $ctx
138 2215 0 if (defined $c)
139 1397 818 if (defined $self->getClassifications) { }
140 1397 0 unless first sub { $_ eq $c; } , $self->getClassifications
150 5248 818 if exists $$self{'_class'} and defined $$self{'_class'}
156 0 0 if (exists $$self{'_class'} and defined $$self{'_class'})
157 0 0 if (first sub { $_ eq $class; } , @{$$self{'_class'};}) { }
168 0 0 unless ($marker->isa('Sanger::CGP::Vagrent::Bookmarkers::AbstractBookmarker'))
179 0 0 if (defined $marker) { }
180 0 0 unless ($marker->isa('Sanger::CGP::Vagrent::Bookmarkers::AbstractBookmarker'))
186 0 0 if (exists $$self{'_bookmarks'} and exists $$self{'_bookmarks'}{ref $marker} and $$self{'_bookmarks'}{ref $marker} == 1)
190 0 0 if (exists $$self{'_bookmarks'} and defined $$self{'_bookmarks'})