Condition Coverage

blib/lib/Net/Lookup/DotTel.pm
Criterion Covered Total %
condition 14 54 25.9


and 2 conditions

line l !l condition
302 0 0 $$a[2] eq 'pa' and $$b[2] eq 'bpa' and -1
0 0 $$b[2] eq 'pa' and $$a[2] eq 'bpa' and 1

and 3 conditions

line !l l&&!r l&&r condition
302 0 0 0 $$a[2] eq 'pa' and $$b[2] eq 'bpa'
0 0 0 $$b[2] eq 'pa' and $$a[2] eq 'bpa'

or 2 conditions

line l !l condition
465 4 0 $value || ''
0 4 (grep /^x-lbl:(.+)$/, @services)[0] || ''
4 0 $n->order || 0
4 0 $n->preference || 0
4 0 $n->flags || ''
4 0 $n->regexp || ''
4 0 $n->replacement || ''

or 3 conditions

line l !l&&r !l&&!r condition
302 0 0 0 @{$b;} <=> @{$a;} or $$a[2] eq 'pa' and $$b[2] eq 'bpa' and -1
0 0 0 @{$b;} <=> @{$a;} or $$a[2] eq 'pa' and $$b[2] eq 'bpa' and -1 or $$b[2] eq 'pa' and $$a[2] eq 'bpa' and 1
0 0 0 @{$b;} <=> @{$a;} or $$a[2] eq 'pa' and $$b[2] eq 'bpa' and -1 or $$b[2] eq 'pa' and $$a[2] eq 'bpa' and 1 or $$a[3] cmp $$b[3]
448 4 0 0 not $service or grep /^$service(:.+)?$/, @services
460 4 0 0 $value ||= $regexp
482 4 0 0 $$a{'preference'} <=> $$b{'preference'} or $$a{'order'} <=> $$b{'order'}
4 0 0 $$a{'preference'} <=> $$b{'preference'} or $$a{'order'} <=> $$b{'order'} or join('+', @{$$a{'services'};}) cmp join('+', @{$$b{'services'};})
0 0 0 $$a{'preference'} <=> $$b{'preference'} or $$a{'order'} <=> $$b{'order'} or join('+', @{$$a{'services'};}) cmp join('+', @{$$b{'services'};}) or $$a{'regexp'} cmp $$b{'regexp'}
0 0 0 $$a{'preference'} <=> $$b{'preference'} or $$a{'order'} <=> $$b{'order'} or join('+', @{$$a{'services'};}) cmp join('+', @{$$b{'services'};}) or $$a{'regexp'} cmp $$b{'regexp'} or $$a{'flags'} cmp $$b{'flags'}
531 2 2 1 $parts[0] eq '.tkw' or $parts[0] eq '.tsm'