Branch Coverage

blib/lib/OBO/Core/Synonym.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
42 2192 11942 if ($_[1])
46 2192 0 if ($possible_scopes->contains($_[1])) { }
65 13 17568 if $_[1]
79 15 9018 if $_[1]
95 2170 12038 if ($synonym and $dbxref_as_string)
129 3885 0 if ($_[1] and eval { do { $_[1]->isa('OBO::Core::Synonym') } }) { }
131 0 3885 unless defined $_[0]{'SCOPE'}
132 0 3885 unless defined $_[1]{'SCOPE'}
138 24 3861 if ($s1 or $s2)
139 5 19 if (defined $s1 and defined $s2) { }
152 0 2170 unless caller eq 'OBO::Core::Synonym'
181 8 270 if ($entry =~ /$r_db_acc$r_desc$r_mod?/) { }
270 0 elsif ($entry =~ /$r_db_acc$r_desc?$r_mod?/) { }
185 1 7 if $4
189 0 270 if $3
190 0 270 if $4
197 8 270 if defined $desc
198 1 277 if defined $mod
204 0 565 unless caller eq 'OBO::Core::Synonym'