Branch Coverage

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


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