Branch Coverage

blib/lib/Net/FTP/Path/Iter.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
50 1 0 if (@_ % 2) { }
62 0 1 unless defined(my $host = delete $attr{'Host'})
65 0 1 unless defined(my $user = delete $attr{'user'})
68 0 1 unless defined(my $password = delete $attr{'password'})
70 0 1 unless $self->{'server'} = "Net::FTP"->new($host, %attr)
73 0 1 unless $self->{'server'}->login($user, $password)