Branch Coverage

blib/lib/CPAN/Testers/TailLog.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
15 0 4 ref $_[1] ? :
16 0 4 ref $_[0] ? :
18 0 4 if exists $self->{'cache_file'}
19 0 4 if exists $self->{'url'}
25 4 6 unless exists $_[0]{'cache_file'}
56 0 1001 if $done
61 1 1000 unless defined $handle
66 1 1000 unless $line =~ /\A\s*\[/
76 4 1 unless exists $_[0]{'url'}
112 1 4 unless exists $_[0]{'_ua'}
147 0 0 unless -e $dir and -d $dir and -r $dir
151 0 0 unless (-e $path)
157 0 0 if -e $path and not -d $path and -w $path
162 0 0 unless $_[0]{'url'} =~ qr"://"
164 0 0 if not $_[0]{'url'} =~ qr"\Ahttps?://"