Condition Coverage

blib/lib/Net/DRI/Protocol/RRP/Core/Domain.pm
Criterion Covered Total %
condition 7 34 20.5


and 3 conditions

line !l l&&!r l&&r condition
88 0 0 7 defined $domain and $domain
206 0 0 0 defined $rd && ref $rd && exists $$rd{'approve'} && $$rd{'approve'}
232 1 0 2 defined $nsadd and not $nsadd->is_empty
233 1 0 2 defined $nsdel and not $nsdel->is_empty
245 0 0 0 defined $rd and ref $rd eq 'HASH'
0 0 0 defined $rd and ref $rd eq 'HASH' and keys %$rd
256 0 0 0 ref $curexp and $curexp->can('year')
262 0 0 0 defined $period and defined $curexp

or 3 conditions

line l !l&&r !l&&!r condition
217 0 0 3 grep {not /^(?:ns|status)$/;} $todo->types or grep {not /^(?:add|del)$/;} $todo->types('ns')
0 0 3 grep {not /^(?:ns|status)$/;} $todo->types or grep {not /^(?:add|del)$/;} $todo->types('ns') or grep {not /^(?:add|del)$/;} $todo->types('status')

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
250 0 0 0 0 defined $curexp xor defined $period