Condition Coverage

blib/lib/OBO/Core/Term.pm
Criterion Covered Total %
condition 42 66 63.6


and 3 conditions

line !l l&&!r l&&r condition
132 2744 12 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
133 2748 0 8 $_[0]{'IS_ANONYMOUS'} && $_[0]{'IS_ANONYMOUS'} == 1
181 536 0 8 defined $_[1] and defined $dbxref_as_string
293 3 0 3 $s_type_name and $synonym_type_name
3 2 1 $s_type_name and $synonym_type_name and $s_type_name eq $synonym_type_name
312 471 1647 0 $synonym->scope eq 'EXACT' and $synonym->def->text eq $term_name
331 16 2119 0 $_[1] and $_[2]
0 2119 0 $_[1] and $_[2] and $_[3]
453 0 4 8 defined $_[1] && $_[0]{'CLASS_OF'}->contains($_[1])
587 3390 31 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
588 3378 0 43 $_[0]{'IS_OBSOLETE'} && $_[0]{'IS_OBSOLETE'} == 1
639 2738 8 0 defined $_[1] and $_[1] == 1 || $_[1] == 0
640 2746 0 0 $_[0]{'BUILTIN'} && $_[0]{'BUILTIN'} == 1
653 0 0 34 $_[1] and eval { do { $_[1]->isa('OBO::Core::Term') } }
654 0 0 34 defined $_[1] && $_[0]{'ID'} eq $_[1]{'ID'}

or 2 conditions

line l !l condition
77 9 1 $1 || 'NN'
91 1 1 $1 || 'X'
105 1 1 $1 || '0000000'

or 3 conditions

line l !l&&r !l&&!r condition
132 3 9 0 $_[1] == 1 || $_[1] == 0
292 6 0 3 $synonym_type_name or $s_type_name
312 4 0 2118 $syn_found or $synonym->scope eq 'EXACT' and $synonym->def->text eq $term_name
587 22 9 0 $_[1] == 1 || $_[1] == 0
639 0 8 0 $_[1] == 1 || $_[1] == 0