Condition Coverage

yapp/astma2-fact.yp
Criterion Covered Total %
condition 26 39 66.6


and 3 conditions

line !l l&&!r l&&r condition
783 16 0 371 $$refINPUT =~ s/^([A-Za-z][.A-Za-z0-9_-]*)//o and $aux = $1
16 51 320 $$refINPUT =~ s/^([A-Za-z][.A-Za-z0-9_-]*)//o and $aux = $1 and not $$refINPUT =~ m[^:[\w/]]
832 34 1 2 $p and $store->is_a($p, $store->tids(\'http://psi.tm.bond.edu.au/astma/2.0/#ontology'))

or 2 conditions

line l !l condition
24 10 1 scalar @returns == 1 or die "ambiguous 'return' characteristics for '${ted}'"
27 10 0 $$return[1] eq 'http://www.w3.org/2001/XMLSchema#string' or die "'return' characteristic of '${ted}' is no string"
109 1 0 'IO::File'->new($_[1]) || die("unable to open pipe '$_[1]'")
115 1 0 get($_[1]) || die("unable to load '$_[1] with LWP'\n")
745 2 2 $3 || 0
2 2 $4 || 0
754 0 8 undef $$parser{'USER'}{'value'} or return 'VALUE', 'TM::Literal'->new($1)
757 0 23 undef $$parser{'USER'}{'value'} or return 'VALUE', 'TM::Literal'->new($1, $3)
760 0 0 undef $$parser{'USER'}{'value'} or return 'VALUE', 'TM::Literal'->new($1, 'TM::Literal'->DECIMAL)
763 0 1 undef $$parser{'USER'}{'value'} or return 'VALUE', 'TM::Literal'->new($1, 'TM::Literal'->INTEGER)
766 0 11 undef $$parser{'USER'}{'value'} or return 'VALUE', 'TM::Literal'->new($1, 'TM::Literal'->URI)
769 0 48 undef $$parser{'USER'}{'value'} or return 'VALUE', 'TM::Literal'->new($1)

or 3 conditions

line l !l&&r !l&&!r condition
43 82 1 0 delete $options{'store'} || 'TM'->new
281 2 5 0 $_[0]{'USER'}{'ctx'}[0] ||= $_[0]{'USER'}{'store'}->internalize(sprintf('uuid-%010d', $TM::toplet_ctr++))