Condition Coverage

blib/lib/Mojo/Transmission.pm
Criterion Covered Total %
condition 14 27 51.8


and 3 conditions

line !l l&&!r l&&r condition
134 1 1 7 defined $_[0] && $_[0] >= 0 && $_[0] <= @TR_STATUS

or 2 conditions

line l !l condition
9 0 3 $ENV{'MOJO_TRANSMISSION_DEBUG'} || 0
22 1 2 $args->{'url'} || ''
25 2 0 $_ // ''
30 1 0 $args->{'hash'} // ''
31 0 1 $args->{'dn'} // ''
94 0 0 $tx->res->code // 0
113 12 0 $tx->res->code // 0
123 0 12 $self->{'session_id'} || ''
127 12 0 $_[0]->res->json || {'error', $_[0]->res->error}

or 3 conditions

line l !l&&r !l&&!r condition
128 0 0 12 $res->{'error'} ||= $res->{'result'}
129 12 0 0 not $res->{'result'} or $res->{'result'} ne 'success'