Branch Coverage

blib/lib/Syntax/Highlight/Engine/Kate.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
24 13 0 unless (defined $add)
26 2 11 unless (defined $language)
561 13 0 if ($language ne '')
579 67 121 if (@_)
589 3 0 if (defined $lang) { }
611 6 774 if ($file =~ /$reg/)
621 4 69 unless (exists $self->{'syntaxes'}{$req})
622 1 3 if (defined $insensitive and $insensitive) { }
625 1 73 if (lc $key eq lc $req)
633 0 1 unless ($matched)
649 2 116 if ($lang eq 'Off') { }
653 2 114 unless ($plug)