Branch Coverage

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


line true false branch
18 40 15 unless -d $dir
26 0 30 if (my $error = $@)
41 5 7 if ($class eq 'Test2::Tools::HTTP::UA')
46 0 5 if (ref $ua eq '' and defined $ua) { }
54 5 1 if (eval { do { $ua->isa($try) } })
61 5 0 if (defined $class) { }
101 7 8 if ($type eq 'class') { }
8 0 elsif ($type eq 'instance') { }