Branch Coverage

examples/simple_scan
Criterion Covered Total %
branch 34 48 70.8


line true false branch
17 9 0 unless $run or $generate
28 13 83 if /^#/
31 22 61 if /^\s*$/
38 2 59 if (/^%%cache/)
45 2 57 if (/^%%nocache/)
54 0 57 if (/^%%xx:/)
55 0 0 if (/^%%xx: (([a-z1-9]{2,}(\s+|$))+)/) { }
68 4 53 if (/%%agent: (.*)/)
71 0 4 unless (grep {/$agent/;} @aliases)
81 0 53 if (@countries) { }
86 0 0 unless (/>xx
107 8 1 if (defined $number_of_tests) { }
110 0 8 if $generate
111 8 0 if $run
112 0 8 if $@
115 0 1 if $warn
141 26 27 if defined $which
144 26 27 if defined $url
147 22 4 $which eq 'Y' ? :
26 27 if defined $regex and defined $which
151 51 2 unless defined $switches
154 0 26 unless (defined $url and defined $regex and defined $which)
156 0 27 if $warn
160 22 4 $which eq 'Y' ? :