Condition Coverage

blib/lib/OBO/Core/Instance.pm
Criterion Covered Total %
condition 31 54 57.4


and 3 conditions

line !l l&&!r l&&r condition
130 9 2 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
131 8 0 3 $_[0]{'IS_ANONYMOUS'} && $_[0]{'IS_ANONYMOUS'} == 1
235 4 4 0 $synonym->scope eq 'EXACT' and $synonym->def->text eq $s_name
252 8 8 0 $_[1] and $_[2]
0 8 0 $_[1] and $_[2] and $_[3]
383 4 0 12 $_[1] && $_[0]{'INSTANCE_OF'} && $_[1]->id eq $_[0]{'INSTANCE_OF'}->head->id
509 9 2 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
510 8 0 3 $_[0]{'IS_OBSOLETE'} && $_[0]{'IS_OBSOLETE'} == 1
561 4 0 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
562 4 0 0 $_[0]{'BUILTIN'} && $_[0]{'BUILTIN'} == 1
576 0 0 13 $_[1] and eval { do { $_[1]->isa('OBO::Core::Instance') } }
577 0 0 13 defined $_[1] && $_[0]{'ID'} eq $_[1]{'ID'}

or 2 conditions

line l !l condition
75 3 1 $1 || 'NN'
89 1 1 $1 || 'X'
103 1 1 $1 || '0000000'

or 3 conditions

line l !l&&r !l&&!r condition
130 1 1 0 $_[1] == 1 || $_[1] == 0
235 3 0 8 $syn_found or $synonym->scope eq 'EXACT' and $synonym->def->text eq $s_name
509 1 1 0 $_[1] == 1 || $_[1] == 0
561 0 0 0 $_[1] == 1 || $_[1] == 0