Branch Coverage

blib/lib/JSAN/Transport.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
126 6 0 unless -e $path
127 0 6 unless -d $path
128 0 6 unless -w $path
131 0 6 unless $$self{'mirror'} = 'URI::ToDisk'->new($path, $uri)
232 0 3 unless -d $dir
236 1 2 if (&LWP::Simple::is_success($rc)) { }
2 0 elsif ($rc == 404) { }
274 12 14 if ($self->_path_stable($path) and -f $location->path)
280 5 9 unless -d $dir
284 13 1 if (&LWP::Simple::is_success($rc)) { }
1 0 elsif ($rc == 304) { }
0 0 elsif ($rc == 404) { }
316 0 86 unless my $path = shift()
330 19 7 if ($path =~ m[^dist/])
340 1 6 if ($$self{'index_synced'})