Condition Coverage

blib/lib/OBO/Core/RelationshipType.pm
Criterion Covered Total %
condition 83 135 61.4


and 3 conditions

line !l l&&!r l&&r condition
91 167 10 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
92 174 0 3 $_[0]{'IS_ANONYMOUS'} && $_[0]{'IS_ANONYMOUS'} == 1
154 36 0 2 $_[1] and $dbxref_as_string
259 3 0 2 $s_type_name and $synonym_type_name
3 1 1 $s_type_name and $synonym_type_name and $s_type_name eq $synonym_type_name
278 3 22 0 $synonym->scope eq 'EXACT' and $synonym->def->text eq $rel_type_name
297 17 25 0 $_[1] and $_[2]
0 25 0 $_[1] and $_[2] and $_[3]
436 162 8 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
437 170 0 0 $_[0]{'IS_CYCLIC'} && $_[0]{'IS_CYCLIC'} == 1
450 162 32 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
451 138 0 56 $_[0]{'IS_REFLEXIVE'} && $_[0]{'IS_REFLEXIVE'} == 1
464 191 10 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
465 195 0 6 $_[0]{'IS_SYMMETRIC'} && $_[0]{'IS_SYMMETRIC'} == 1
478 162 21 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
479 152 0 31 $_[0]{'IS_ANTI_SYMMETRIC'} && $_[0]{'IS_ANTI_SYMMETRIC'} == 1
492 193 55 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
493 119 0 129 $_[0]{'IS_TRANSITIVE'} && $_[0]{'IS_TRANSITIVE'} == 1
506 191 8 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
507 199 0 0 $_[0]{'IS_METADATA_TAG'} && $_[0]{'IS_METADATA_TAG'} == 1
520 190 9 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
521 198 0 1 $_[0]{'IS_CLASS_LEVEL'} && $_[0]{'IS_CLASS_LEVEL'} == 1
572 165 10 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
573 171 0 4 $_[0]{'IS_FUNCTIONAL'} && $_[0]{'IS_FUNCTIONAL'} == 1
586 165 10 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
587 171 0 4 $_[0]{'IS_INVERSE_FUNCTIONAL'} && $_[0]{'IS_INVERSE_FUNCTIONAL'} == 1
706 161 8 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
707 169 0 0 $_[0]{'IS_OBSOLETE'} && $_[0]{'IS_OBSOLETE'} == 1
758 162 13 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
759 164 0 11 $_[0]{'BUILTIN'} && $_[0]{'BUILTIN'} == 1
774 0 0 8 $_[1] and eval { do { $_[1]->isa('OBO::Core::RelationshipType') } }

or 3 conditions

line l !l&&r !l&&!r condition
91 1 9 0 $_[1] == 1 || $_[1] == 0
258 5 0 2 $synonym_type_name or $s_type_name
278 3 0 25 $syn_found or $synonym->scope eq 'EXACT' and $synonym->def->text eq $rel_type_name
436 0 8 0 $_[1] == 1 || $_[1] == 0
450 24 8 0 $_[1] == 1 || $_[1] == 0
464 2 8 0 $_[1] == 1 || $_[1] == 0
478 13 8 0 $_[1] == 1 || $_[1] == 0
492 47 8 0 $_[1] == 1 || $_[1] == 0
506 0 8 0 $_[1] == 1 || $_[1] == 0
520 1 8 0 $_[1] == 1 || $_[1] == 0
572 2 8 0 $_[1] == 1 || $_[1] == 0
586 2 8 0 $_[1] == 1 || $_[1] == 0
706 0 8 0 $_[1] == 1 || $_[1] == 0
758 5 8 0 $_[1] == 1 || $_[1] == 0