Condition Coverage

blib/lib/RDF/Lazy/Literal.pm
Criterion Covered Total %
condition 17 25 68.0


and 3 conditions

line !l l&&!r l&&r condition
31 13 0 16 &blessed($literal) and $literal->isa('RDF::Trine::Node::Literal')
45 11 19 0 @_ and $lang
51 8 1 4 $xxx =~ s/-$// and index($lang, $xxx) == 0
61 10 0 2 @_ and $type
65 0 1 2 $t->is_resource and $t->str eq $type->str

or 2 conditions

line l !l condition
18 28 1 shift() // ''
47 17 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
17 29 0 0 shift() || 'RDF::Lazy'->new
51 4 0 13 $xxx eq "$lang" or $xxx =~ s/-$// and index($lang, $xxx) == 0