Branch Coverage

blib/lib/Test2/Tools/DOM/Check.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
28 17 17 ref $got eq 'Mojo::DOM58' ? :
30 17 17 if ($self->{'dom'}->type eq "root")
38 17 0 if (my $top = $self->{'dom'}->children->first)
50 0 50 unless my $method = $dom->can($name)
56 50 0 if ($ok) { }
66 14 36 if (@$args and $name eq 'attr') { }
10 26 elsif ($name eq 'at') { }
68 3 11 if $check->name =~ /^(?:TRUE|FALSE)$/u
69 3 11 if $check->name =~ /EXIST/u
73 2 8 if $check->name =~ /EXIST/u