Branch Coverage

blib/lib/Helios/JobType.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
54 0 0 defined $_[1] ? :
111 0 0 if @_
134 0 0 if ($params{'obj'}) { }
188 0 0 unless ($params{'jobtypeid'} or $params{'name'})
194 0 0 if ($jobtypeid) { }
204 0 0 unless (eval { do { $drvr = 'Helios::ObjectDriver'->getDriver('config', $config); if ($jobtypeid) { $obj = $drvr->lookup('TheSchwartz::FuncMap', $jobtypeid); } else { my $itr = $drvr->search('TheSchwartz::FuncMap', {'funcname', $name}); $obj = $itr->next; } ; 1 } })
209 0 0 if (defined $obj) { }
246 0 0 unless ($name)
255 0 0 unless (eval { do { my $drvr = $self->getDriver('config', $config); $obj = 'TheSchwartz::FuncMap'->new('funcname', $name); $drvr->insert($obj); 1 } })
288 0 0 unless ($self->{'_obj'} and $jobtypeid)
297 0 0 unless (eval { do { $drvr = $self->getDriver; $drvr->remove($self->{'_obj'}); 1 } })