Condition Coverage

blib/lib/Consul.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
110 0 0 4 $#_ % 2 == 1 && ref $_[$#_] eq 'CODE'

or 2 conditions

line l !l condition
90 4 0 delete $res->{'headers'} || {}
114 0 4 delete $args{'cb'} || sub { @r = @_; }
120 0 4 $args{'_valid_cb'} || sub { int $resp->status / 100 == 2; }
123 4 0 $resp->content || '[no content]'

or 3 conditions

line l !l&&r !l&&!r condition
115 2 2 0 delete $args{'error_cb'} || $self->error_cb