Condition Coverage

lib/HTML/Object/DOM/NodeIteratorShared.pm
Criterion Covered Total %
condition 43 86 50.0


and 3 conditions

line !l l&&!r l&&r condition
62 4 0 0 not defined $filterDef and !exists $opts->{'acceptNode'} || ref $opts->{'acceptNode'} ne 'CODE'
63 4 0 0 exists $opts->{'acceptNode'} and ref $opts->{'acceptNode'} eq "CODE"
208 68 17 13 $type == 1 and not $whattoshow & 1
85 0 0 $type == 2 and not $whattoshow & 2
62 6 17 $type == 3 and not $whattoshow & 4
68 0 0 $type == 4 and not $whattoshow & 8
68 0 0 $type == 7 and not $whattoshow & 64
64 1 3 $type == 8 and not $whattoshow & 128
65 0 0 $type == 9 and not $whattoshow & 256
65 0 0 $type == 10 and not $whattoshow & 512
65 0 0 $type == 11 and not $whattoshow & 1024
65 0 0 $type == 12 and not $whattoshow & 2048
24 0 41 $type == 13 and not $whattoshow & 4096

or 2 conditions

line l !l condition
203 191 0 shift @_ || (return)

or 3 conditions

line l !l&&r !l&&!r condition
62 0 0 0 !exists $opts->{'acceptNode'} || ref $opts->{'acceptNode'} ne 'CODE'
138 0 0 69 not defined $rv or $rv == 2
0 34 35 not defined $rv or $rv == 2 or $rv == 3
184 0 0 44 not defined $rv or $rv == 2
0 30 14 not defined $rv or $rv == 2 or $rv == 3
208 13 0 85 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2
0 17 68 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4
17 0 68 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8
0 0 68 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64
0 3 65 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64 or $type == 8 and not $whattoshow & 128
3 0 65 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64 or $type == 8 and not $whattoshow & 128 or $type == 9 and not $whattoshow & 256
0 0 65 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64 or $type == 8 and not $whattoshow & 128 or $type == 9 and not $whattoshow & 256 or $type == 10 and not $whattoshow & 512
0 0 65 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64 or $type == 8 and not $whattoshow & 128 or $type == 9 and not $whattoshow & 256 or $type == 10 and not $whattoshow & 512 or $type == 11 and not $whattoshow & 1024
0 0 65 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64 or $type == 8 and not $whattoshow & 128 or $type == 9 and not $whattoshow & 256 or $type == 10 and not $whattoshow & 512 or $type == 11 and not $whattoshow & 1024 or $type == 12 and not $whattoshow & 2048
0 64 1 $type == 1 and not $whattoshow & 1 or $type == 2 and not $whattoshow & 2 or $type == 3 and not $whattoshow & 4 or $type == 4 and not $whattoshow & 8 or $type == 7 and not $whattoshow & 64 or $type == 8 and not $whattoshow & 128 or $type == 9 and not $whattoshow & 256 or $type == 10 and not $whattoshow & 512 or $type == 11 and not $whattoshow & 1024 or $type == 12 and not $whattoshow & 2048 or $type == 13 and not $whattoshow & 4096