Branch Coverage

blib/lib/HTTPD/Bench/ApacheBench/Run.pm
Criterion Covered Total %
branch 15 52 28.8


line true false branch
16 0 4 if (ref $self ne 'HASH')
24 0 4 unless $$self{'order'}
38 0 0 unless ref $$self{$_} eq 'ARRAY'
40 0 0 unless ref $_
0 0 if grep {/\s$/ unless ref $_;} @{$$self{'urls'};}
52 0 0 unless ref $$self{'urls'} eq 'ARRAY'
56 0 0 if grep {ref $_;} @{$$self{'urls'};}
62 0 0 unless ref $$self{'cookies'} eq 'ARRAY'
68 0 0 if ref $$self{$param} ne 'ARRAY'
79 0 0 if $$self{'memory'} < 3 and grep {ref $_ eq 'CODE';} @{$$self{'postdata'};}
85 0 2 if $arg
91 0 2 if $arg
97 0 0 if defined $arg
103 0 0 if $arg
109 0 0 if defined $arg
115 1 1 if $arg
121 2 2 if $arg
127 0 4 if $arg
133 2 2 if $arg
139 1 0 if $arg
145 3 2 if $arg
151 1 0 if $arg
157 0 0 if $arg
164 0 0 if (ref $$opt{'postdata'} eq 'ARRAY') { }
175 0 0 unless ref $self eq 'HTTPD::Bench::ApacheBench::Run' and ref $$self{'urls'} eq 'ARRAY' and $$self{'repeat'}
182 0 0 unless defined $iter_no