Condition Coverage

blib/lib/WWW/Pastebin/Sprunge/Create.pm
Criterion Covered Total %
condition 2 13 15.3


and 2 conditions

line l !l condition
47 0 0 carp('Undefined paste content') and return

and 3 conditions

line !l l&&!r l&&r condition
60 0 0 0 $args{'file'} and not -e $args{'sprunge'}
98 0 0 0 defined $type and $type eq 'net'

or 2 conditions

line l !l condition
29 0 1 $args{'timeout'} ||= 30

or 3 conditions

line l !l&&r !l&&!r condition
30 0 1 0 $args{'ua'} ||= 'LWP::UserAgent'->new('timeout', $args{'timeout'}, 'agent', 'WWW::Pastebin::Sprunge (+http://p3rl.org/WWW::Pastebin::Sprunge)')