Branch Coverage

blib/lib/Statocles/Plugin/LinkCheck.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
45 47 153 if ($page->DOES('Statocles::Page::Document'))
52 3 459 unless ($url)
57 39 423 unless $url
58 57 366 if $url =~ /^(?:[a-z][a-z0-9+.-]*):/i
59 50 316 if $url =~ m[^//]
60 30 286 unless ($url =~ m[^/])
79 22 87 if $link_url =~ m[/$]
80 88 21 if $page_paths{$link_url} or $page_paths{"$link_url/index.html"}
81 8 13 if grep {$link_url =~ /^$_/;} @{$self->ignore;}
89 3 7 if (@missing)
91 0 113 unless $Statocles::Plugin::LinkCheck::a->[1] cmp $Statocles::Plugin::LinkCheck::b->[1]
92 43 3 $m->[0] ? :