Condition Coverage

blib/lib/Libravatar/URL.pm
Criterion Covered Total %
condition 28 54 51.8


and 3 conditions

line !l l&&!r l&&r condition
192 1 0 2 $port and not $https
1 1 1 $port and not $https and $port != 80
1 1 0 $port and $https
2 0 0 $port and $https and $port != 443
203 1 0 3 defined $target and $target =~ /^[0-9a-zA-Z\-.]+$/
206 1 0 2 defined $port and $port =~ /^[0-9]{1,5}$/
230 15 0 0 $packet and $packet->answer
253 1 18 0 exists $args{'email'} and exists $args{'openid'} || exists $args{'id'}
19 0 0 exists $args{'openid'} and exists $args{'email'} || exists $args{'id'}
18 1 0 exists $args{'id'} and exists $args{'email'} || exists $args{'openid'}

or 3 conditions

line l !l&&r !l&&!r condition
192 1 0 2 $port and not $https and $port != 80 or $port and $https and $port != 443
250 18 0 1 exists $args{'email'} or exists $args{'openid'}
18 1 0 exists $args{'email'} or exists $args{'openid'} or exists $args{'id'}
253 0 0 18 exists $args{'openid'} || exists $args{'id'}
0 0 0 exists $args{'email'} || exists $args{'id'}
0 0 19 exists $args{'email'} and exists $args{'openid'} || exists $args{'id'} or exists $args{'openid'} and exists $args{'email'} || exists $args{'id'}
0 0 1 exists $args{'email'} || exists $args{'openid'}
0 0 19 exists $args{'email'} and exists $args{'openid'} || exists $args{'id'} or exists $args{'openid'} and exists $args{'email'} || exists $args{'id'} or exists $args{'id'} and exists $args{'email'} || exists $args{'openid'}