Branch Coverage

blib/lib/FusionInventory/Agent/Task/ESX.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
19 0 0 unless ($self->{'target'}->isa('FusionInventory::Agent::Target::Server'))
34 0 0 unless ($vpbs->connect($params{'user'}, $params{'password'}))
48 0 0 if ($bootTime =~ /(\d{4})-(\d{1,2})-(\d{1,2})T(\d{1,2}):(\d{1,2}):(\d{1,2})/) { }
75 0 0 unless $self->{'vpbs'}
102 0 0 if ($controller->{'PCICLASS'} and $controller->{'PCICLASS'} eq '300')
115 0 0 if $network->{'IPADDRESS'}
182 0 0 unless $self->{'client'}
193 0 0 unless $globalRemoteConfig->{'schedule'}
194 0 0 unless ref $globalRemoteConfig->{'schedule'} eq 'ARRAY'
197 0 0 unless $job->{'task'} eq 'ESX'
200 0 0 unless ($self->{'esxRemote'})
213 0 0 unless $jobs
214 0 0 unless ref $jobs->{'jobs'} eq 'ARRAY'
234 0 0 unless ($self->connect('host', $job->{'host'}, 'user', $job->{'user'}, 'password', $job->{'password'}))