Branch Coverage

blib/lib/Test/Varnish.pm
Criterion Covered Total %
branch 4 32 12.5


line true false branch
20 0 5 if ($self->verbose)
28 0 0 unless $name =~ /^X\-Varnish/
41 1 4 if (defined $main_header and $main_header =~ /^ \s* \d+ \s+ \d+ \s* $/mx)
67 0 0 unless (defined $is_cached)
83 0 0 unless (defined $is_cached)
96 0 0 if (not $args or ref $args ne 'HASH')
101 0 0 unless ($$args{'url'})
108 0 0 unless ($res)
124 0 0 unless ($url)
137 0 0 unless ($host)
139 0 0 unless ($url_obj)
151 0 0 if ($headers)
153 0 0 if ($name eq 'Cookie') { }
180 0 0 defined $cookie_header && $cookie_header ne '' ? :
206 0 5 if (@_)
207 0 0 shift @_ ? :