Branch Coverage

blib/lib/Mail/Milter/Authentication/Tester/HandlerTester.pm
Criterion Covered Total %
branch 37 50 74.0


line true false branch
91 36 18 if exists $args->{$arg}
94 0 18 unless exists $self->{'prefix'}
95 0 5 if exists $self->{'zonefile'} and exists $self->{'zonedata'}
96 0 13 unless exists $self->{'zonefile'} or exists $self->{'zonedata'}
100 18 0 if (exists $args->{'handler_config'})
101 14 4 if ($protocol eq 'smtp') { }
115 5 13 if exists $self->{'zonefile'}
116 13 5 if exists $self->{'zonedata'}
140 8 27 if ($object->can("pre_loop_setup"))
143 35 0 if ($object->can("register_metrics"))
184 0 216 unless exists $self->{'snapshots'}{$name}
222 663 0 unless defined $original
263 6 178 if $returncode != 100
265 1 177 if $returncode != 100
267 1 176 if $returncode != 100
270 1 175 if $returncode != 100
282 0 1306 if $line eq ""
284 644 662 if ($line =~ /^\s/u) { }
288 487 175 if ($buffer)
293 1 486 if $returncode != 100
299 174 0 if ($buffer)
304 0 174 if $returncode != 100
308 0 174 if $returncode != 100
311 0 174 if $returncode != 100
314 0 174 if $returncode != 100