Branch Coverage

blib/lib/Test2/Tools/HTTP/UA.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
19 25 15 unless -d $dir
27 0 30 if (my $error = $@)
42 5 7 if ($class eq __PACKAGE__)
47 0 5 if (ref $ua eq '' and defined $ua) { }
55 5 1 if (eval { do { $ua->isa($try) } })
62 5 0 if (defined $class) { }
102 7 8 if ($type eq 'class') { }
8 0 elsif ($type eq 'instance') { }