Condition Coverage

blib/lib/Net/BitTorrent/Torrent/Tracker.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
32 2 35 0 $$args{'Torrent'} and blessed($$args{'Torrent'})
0 35 0 $$args{'Torrent'} and blessed($$args{'Torrent'}) and $$args{'Torrent'}->isa('Net::BitTorrent::Torrent')

or 3 conditions

line l !l&&r !l&&!r condition
20 1 1 42 not $args or ref $args ne 'HASH'
25 2 1 39 not $$args{'URLs'} or ref $$args{'URLs'} ne 'ARRAY'
3 2 37 not $$args{'URLs'} or ref $$args{'URLs'} ne 'ARRAY' or not scalar @{$$args{'URLs'};}