Branch Coverage

Bio/SeqFeature/Computation.pm
Criterion Covered Total %
branch 34 68 50.0


line true false branch
121 1 2 if $program_name
122 1 2 if $program_date
123 1 2 if $program_version
124 1 2 if $database_name
125 1 2 if $database_date
126 0 3 if $database_version
127 1 2 if $computation_id
145 0 0 unless defined $score
160 0 3 unless (defined $score and defined $value)
165 3 0 unless (defined $self->{'_gsf_score_hash'}{$score})
188 1 0 if (defined $value) { }
190 1 0 if (ref($value) =~ /HASH/i) { }
218 0 1 unless (exists $self->{'_gsf_score_hash'}{$score})
258 0 0 unless (exists $self->{'_gsf_score_hash'}{$score})
280 2 1 if (defined $value)
305 1 0 if (defined $value)
327 1 0 if (defined $value)
350 1 0 if (defined $value)
371 1 0 if (defined $value)
393 1 0 if (defined $value)
416 0 0 if (defined $value)
439 1 0 if (defined $value)
475 0 0 if ($ssf_type eq '') { }
482 0 0 if (defined $self->{'gsf_sub_hash'}{$ssf_type}) { }
514 0 1 unless defined $var1
515 1 0 unless defined $var2
517 0 1 if $ssf_type =~ s/EXPAND//
519 0 1 unless ($feat->isa('Bio::SeqFeatureI'))
523 0 1 if ($expand eq 'EXPAND') { }
526 0 1 unless ($self->contains($feat))
531 0 1 if $ssf_type eq ''
533 1 0 unless (defined $self->{'gsf_sub_hash'}{$ssf_type})
557 0 0 if ($ssf_type) { }
558 0 0 if (defined $self->{'gsf_sub_hash'}{$ssf_type}) { }