blib/lib/Statocles/Plugin/Highlight.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
35 | 0 | 1 | unless eval { do { require Syntax::Highlight::Engine::Kate; 1 } } |
147 | 1 | 5 | if (ref $text eq 'CODE') |
157 | 2 | 4 | if ($page) |
160 | 2 | 0 | unless (grep {$_->href eq $style_url;} $page->links('stylesheet')) |
171 | 6 | 448 | if (lc $lang eq lc $type) |
176 | 0 | 6 | unless ($found_lang) |