Condition Coverage

blib/lib/OBO/Core/IDspace.pm
Criterion Covered Total %
condition 14 27 51.8


and 3 conditions

line !l l&&!r l&&r condition
77 0 2 0 defined $_[0]{'LOCAL_IDSPACE'} and defined $_[0]{'URI'}
92 9 12 0 $_[1] and $_[2]
98 0 9 0 defined $_[0]{'LOCAL_IDSPACE'} and defined $_[0]{'URI'}
100 1 0 8 defined $_[0]{'DESCRIPTION'} and $_[0]{'DESCRIPTION'} ne ''
116 0 0 100 $_[1] and eval { do { $_[1]->isa('OBO::Core::IDspace') } }
118 0 100 0 defined $_[0]{'LOCAL_IDSPACE'} and defined $_[0]{'URI'}
119 0 100 0 defined $_[1]{'LOCAL_IDSPACE'} and defined $_[1]{'URI'}
120 2 70 28 defined $_[0]{'DESCRIPTION'} && defined $_[1]{'DESCRIPTION'} && $_[0]{'DESCRIPTION'} eq $_[1]{'DESCRIPTION'}
122 72 28 0 $result && ($_[0]{'LOCAL_IDSPACE'} eq $_[1]{'LOCAL_IDSPACE'} && $_[0]{'URI'} eq $_[1]{'URI'})