Branch Coverage

Bio/Ontology/GOterm.pm
Criterion Covered Total %
branch 8 12 66.6


line true false branch
148 1 232 if $GO_id
200 3 166 if (@_)
293 0 1 if (defined $self->ontology) { }
326 0 3 unless ($value =~ /^(GO:)?\d{7}$/ or $value eq 'GO:0000000')
330 1 2 unless ($value =~ /^GO:/)
348 0 0 unless (ref $value[$i])