Branch Coverage

blib/lib/OBO/Core/SynonymTypeDef.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
37 7 17 if $_[1]
51 7 3 if $_[1]
65 6 4 if $_[1]
79 11 0 if ($_[1] and $_[2])
82 11 0 if $_[3]
86 14 0 defined $scope ? :
100 95 0 if ($_[1] and eval { do { $_[1]->isa('OBO::Core::SynonymTypeDef') } }) { }
102 0 95 unless defined $_[0]{'NAME'}
103 0 95 unless defined $_[1]{'NAME'}
105 0 95 unless defined $_[0]{'DESCRIPTION'}
106 0 95 unless defined $_[1]{'DESCRIPTION'}
109 90 5 if defined $_[0]{'SCOPE'} and defined $_[1]{'SCOPE'}