Condition Coverage

blib/lib/Net/Connection/Match/PTR.pm
Criterion Covered Total %
condition 18 36 50.0


and 3 conditions

line !l l&&!r l&&r condition
115 2 1 0 defined $args{'ptrs'} and not defined $args{'ptrs'}[0]
0 0 0 defined $args{'lptrs'} and not defined $args{'lptrs'}[0]
3 0 0 defined $args{'ptrs'} and not defined $args{'ptrs'}[0] and (defined $args{'lptrs'} and not defined $args{'lptrs'}[0])
0 0 0 defined $args{'fptrs'} and not defined $args{'fptrs'}[0]
0 0 0 defined $args{'ptrs'} and not defined $args{'ptrs'}[0] and (defined $args{'lptrs'} and not defined $args{'lptrs'}[0]) and (defined $args{'fptrs'} and not defined $args{'fptrs'}[0])
217 0 0 0 defined $answer->{'answer'}[0] and ref $answer->{'answer'}[0] eq 'Net::DNS::RR::PTR'
232 0 0 0 defined $answer->{'answer'}[0] and ref $answer->{'answer'}[0] eq 'Net::DNS::RR::PTR'

or 3 conditions

line l !l&&r !l&&!r condition
108 1 1 2 defined $args{'ptrs'} or defined $args{'fptrs'}
1 1 1 defined $args{'ptrs'} or defined $args{'fptrs'} or defined $args{'lptrs'}
240 1 1 4 defined $self->{'ptrs'}{$l_ptr} or defined $self->{'ptrs'}{$f_ptr}
2 1 3 defined $self->{'ptrs'}{$l_ptr} or defined $self->{'ptrs'}{$f_ptr} or defined $self->{'lptrs'}{$l_ptr}
2 1 2 defined $self->{'ptrs'}{$l_ptr} or defined $self->{'ptrs'}{$f_ptr} or defined $self->{'lptrs'}{$l_ptr} or defined $self->{'fptrs'}{$f_ptr}