Condition Coverage

blib/lib/Syntax/Highlight/Engine/Kate/Template.pm
Criterion Covered Total %
condition 15 18 83.3


and 3 conditions

line !l l&&!r l&&r condition
242 38 0 196 $line =~ /^\s*$/ and $string =~ /^[^\s]/
562 703 179676 40025 defined $attr and $attr ne $self->snippetAttribute
772 169812 130428 72262 $eng->lastcharDeliminator and $$text =~ /^([^$deliminators]+)/
893 942943 3330 9828 defined $pos and $pos > 0

or 3 conditions

line l !l&&r !l&&!r condition
17 0 228 0 ref $proto || $proto
409 38009 271948 256074 $self->linestart or $self->lastchar =~ /$deliminators/