Condition Coverage

blib/lib/Socialtext/Resting/DefaultRester.pm
Criterion Covered Total %
condition 6 17 35.2


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 1 not $second_try and -w $file
0 1 0 not $second_try and -w $file and $pw
1 0 0 not $second_try and -w $file and $pw and not $pw =~ /^CRYPTED_/
122 1 0 0 $opts{'password'} and $opts{'password'} =~ /^CRYPTED_(.+)/

or 2 conditions

line l !l condition
84 0 1 delete $opts{'class'} || 'Socialtext::Resting'

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 1 delete $args{'rester-config'} || $CONFIG_FILE