Condition Coverage

blib/lib/RDF/Trine/Parser/Turtle.pm
Criterion Covered Total %
condition 45 54 83.3


and 3 conditions

line !l l&&!r l&&r condition
116 0 0 0 $pclass and $pclass->can('new')
146 0 0 24 defined $token_ref and ref $token_ref
368 1 2163 21 $t and $t->type == 7
382 640 0 2177 $self->{'canonicalize'} and &blessed($obj)
640 1589 588 $self->{'canonicalize'} and &blessed($obj) and $obj->isa('RDF::Trine::Node::Literal')

or 3 conditions

line l !l&&r !l&&!r condition
209 242 3 794 $type == 24 or $type == 26
7 4 783 $type == 23 or $type == 25
258 678 40 21 $type == 12 || $type == 11 || $type == 13
326 242 1896 70 $type == 12 or $type == 11
2138 52 18 $type == 12 or $type == 11 or $type == 9
342 8 1389 292 $t->type == 12 or $t->type == 11
1397 0 292 $t->type == 12 or $t->type == 11 or $t->type == 9
399 20 8 2 $type == 12 || $type == 11 || $type == 21 || $type == 19 || $type == 22 || $type == 20 || $type == 13 || $type == 16 || $type == 15 || $type == 14 || $type == 10
446 726 26 1734 $type == 21 or $type == 19
752 20 1714 $type == 21 or $type == 19 or $type == 22
46 9 1705 $type == 21 or $type == 19 or $type == 22 or $type == 20
454 29 7 0 $t->type == 12 or $t->type == 11
473 1705 2977 0 shift() || $t->type