Branch Coverage

blib/lib/HTTP/Tiny/FileProtocol.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
24 3 4 unless @_ == 2 or @_ == 3 and ref $args eq 'HASH'
27 2 7 unless ($url =~ m[\Afile://])
41 2 5 if (not $st) { }
1 4 elsif (not $st->cando(256)) { }
76 3 3 unless @_ == 3 or @_ == 4 and ref $args eq 'HASH'
79 2 3 unless ($url =~ m[\Afile://])
84 1 2 unless $response->{'success'}
101 4 6 !$success ? :