Branch Coverage

blib/lib/Job/Machine/DB.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
15 0 0 unless $args{'dbh'} or $args{'dsn'}
16 0 0 if ref $args{'queue'} and ref $args{'queue'} ne 'ARRAY'
18 0 0 if $args{'dbh'}
40 0 0 $args{'reply'} ? :
41 0 0 ref $queue ? :
51 0 0 $args{'reply'} ? :
52 0 0 ref $queue ? :
62 0 0 $args{'reply'} ? :
84 0 0 unless ($notifies)
96 0 0 ref $self->{'queue'} ? :
178 0 0 unless my $task = $self->select_first('sql', $sql, 'data', [$id])
203 0 0 if (ref $data eq 'HASH') { }
337 0 0 unless @$result
354 0 0 unless $after
371 0 0 unless ($sth->execute(@{$args{'data'};}))
374 0 0 if $args{'sql'}
387 0 0 unless ($sth->execute(@{$args{'data'};}))
390 0 0 if $args{'sql'}
404 0 0 unless ref $data->[$i]
447 0 0 if $_[0]{'dbh'}
452 0 0 unless $self->{'dbh_inherited'}
460 0 0 if $where_clause
467 0 0 unless ref $order eq 'HASH'
470 0 0 if $order_by