Branch Coverage

blib/lib/HiD/Server.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
18 13 0 unless $path eq '/'
20 0 13 if (-e -d $path and not $path =~ m[/$]u)
25 0 13 if $path and $path =~ m[/$]u
54 3 1 if $response->[0] == 200 and $alternate_status
67 4 5 if grep /^searching/u, keys %$self
76 3 2 if $custom_page and lc $custom_page ne lc $default_page
89 4 3 if ref $file eq 'ARRAY'