Branch Coverage

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


line true false branch
42 2186 11915 if ($_[1])
46 2186 0 if ($possible_scopes->contains($_[1])) { }
65 13 17538 if $_[1]
79 15 8991 if $_[1]
95 2164 11996 if ($synonym and $dbxref_as_string)
129 3870 0 if ($_[1] and eval { do { $_[1]->isa('OBO::Core::Synonym') } }) { }
131 0 3870 unless defined $_[0]{'SCOPE'}
132 0 3870 unless defined $_[1]{'SCOPE'}
138 24 3846 if ($s1 or $s2)
139 5 19 if (defined $s1 and defined $s2) { }
152 0 2164 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'