Branch Coverage

blib/lib/Test2/Tools/DOM/Check.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
21 3 3 ref $call eq 'CODE' ? :
1 6 ref $call eq 'ARRAY' ? :
33 21 24 ref $got eq 'Mojo::DOM58' ? :
35 24 21 if ($self->{'dom'}->type eq "root")
43 23 1 if (my $top = $self->{'dom'}->children->first)
54 32 34 if ref $method eq "ARRAY"
58 3 63 ref $method eq 'CODE' ? :
62 1 65 unless $method
68 1 63 $context eq 'hash' ? :
1 64 $context eq 'list' ? :
73 64 1 if ($ok) { }
83 16 48 if (@args and $name eq 'attr') { }
10 38 elsif ($name eq 'at') { }
85 3 13 if $check->name =~ /^(?:TRUE|FALSE)$/u
86 3 13 if $check->name =~ /EXIST/u
90 2 8 if $check->name =~ /EXIST/u