Branch Coverage

blib/lib/Playwright/Base.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
42 1 3 unless $i < @{$args{'args'};}
45 1 2 if ($type->{'name'} eq 'boolean') { }
1 1 elsif ($type->{'name'} eq 'Object') { }
47 0 1 $truthy ? :
52 0 1 if ref $type->{'properties'} eq "ARRAY"
54 1 2 unless exists $arg->{$prop}
56 1 1 unless $type->{'properties'}{$prop}{'type'}{'name'} eq "boolean"
57 1 0 $truthy ? :
71 0 2 if $args{'command'} =~ /^waitFor/u
75 0 2 if (ref $msg eq "ARRAY")
81 0 0 if ref $_ eq "HASH" and $_->{'_type'} and exists $Playwright::mapper{$_->{'_type'}}
88 1 1 if ref $msg eq "HASH" and $msg->{'_type'} and exists $Playwright::mapper{$msg->{'_type'}}