Branch Coverage

blib/lib/OBO/Core/Def.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
39 3588 34981 if ($_[1])
53 2201 21761 if $_[1]
69 1406 863 if ($dbxref_as_string)
95 2767 0 if ($target and eval { do { $target->isa('OBO::Core::Def') } }) { }
97 0 2767 unless (defined $$self{'TEXT'})
100 0 2767 unless (defined $$target{'TEXT'})
112 0 1406 unless caller eq 'OBO::Core::Def'
141 9 1519 if ($entry =~ /$r_db_acc$r_desc$r_mod?/) { }
1519 0 elsif ($entry =~ /$r_db_acc$r_desc?$r_mod?/) { }
145 1 8 if $4
149 0 1519 if $3
150 0 1519 if $4
157 9 1519 if defined $desc
158 1 1527 if defined $mod
164 0 3066 unless caller eq 'OBO::Core::Def'