Condition Coverage

blib/lib/Mojo/Transmission.pm
Criterion Covered Total %
condition 17 27 62.9


and 3 conditions

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

or 2 conditions

line l !l condition
9 0 4 $ENV{'TRANSMISSION_DEBUG'} || 0
23 1 2 $args->{'url'} || ''
26 2 0 $_ // ''
31 1 0 $args->{'hash'} // ''
32 0 1 $args->{'dn'} // ''
104 10 0 $tx->res->code // 0
122 13 0 $tx->res->code // 0
132 0 23 $self->{'session_id'} || ''
136 23 0 $_[0]->res->json || {'error', $_[0]->res->error}

or 3 conditions

line l !l&&r !l&&!r condition
137 0 4 19 $res->{'error'} ||= $res->{'result'}
138 19 0 4 not $res->{'result'} or $res->{'result'} ne 'success'