Branch Coverage

blib/lib/Net/DownloadMirror.pm
Criterion Covered Total %
branch 12 62 19.3


line true false branch
13 5 1 if (-f $_[1]) { }
48 0 0 unless $self->Connect
50 0 0 if ($$self{'_debug'})
56 0 0 if ($$self{'_debug'})
62 0 0 if ($$self{'_debug'})
68 0 0 if ($$self{'_debug'})
73 0 0 if ($$self{'_delete'} eq 'enable')
76 0 0 if ($$self{'_debug'})
82 0 0 if ($$self{'_debug'})
90 0 0 if ($$self{'_debug'})
102 1 0 unless $self->IsConnection
107 0 0 unless $$self{'_current_modified'}{$rf} = $$self{'_connection'}->mdtm($rf)
108 0 0 if (defined $$self{'_last_modified'}{$rf}) { }
110 0 0 if $$self{'_last_modified'}{$rf} eq $$self{'_current_modified'}{$rf}
119 0 0 if $changed
126 0 0 unless $self->IsConnection
130 0 0 unless $mt = $$self{'_connection'}->mdtm($_)
131 0 0 unless $mt =~ /^\d+$/
141 1 0 unless @$ra_rf and $self->IsConnection
147 0 0 unless $$self{'_connection'}->get($rf, $lf)
159 1 0 unless @$ra_rd
165 0 0 unless -d $ld
173 1 0 unless $$self{'_delete'} eq 'enable' and @$ra_lf
178 0 0 unless -f $lf
179 0 0 unless unlink $lf
181 0 0 if defined $$self{'_last_modified'}{$rf}
191 1 0 unless $$self{'_delete'} eq 'enable' and @$ra_ld
194 0 0 unless -d $ld
206 1 2 if (defined $$self{'_last_modified'}{$key} and $$self{'_last_modified'}{$key} =~ /^\d+$/)
214 3 0 if ($$self{'_debug'})
220 6 3 defined $$self{'_last_modified'}{$_} ? :