Branch Coverage

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


line true false branch
39 3595 35059 if ($_[1])
53 2207 21810 if $_[1]
69 1407 863 if ($dbxref_as_string)
95 2777 0 if ($target and eval { do { $target->isa('OBO::Core::Def') } }) { }
97 0 2777 unless (defined $self->{'TEXT'})
100 0 2777 unless (defined $target->{'TEXT'})
112 0 1407 unless caller eq 'OBO::Core::Def'
141 9 1524 if ($entry =~ /$r_db_acc$r_desc$r_mod?/) { }
1524 0 elsif ($entry =~ /$r_db_acc$r_desc?$r_mod?/) { }
145 1 8 if $4
149 0 1524 if $3
150 0 1524 if $4
157 9 1524 if defined $desc
158 1 1532 if defined $mod
164 0 3076 unless caller eq 'OBO::Core::Def'