Branch Coverage

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


line true false branch
91 42 21 if exists $args->{$arg}
94 0 21 unless exists $self->{'prefix'}
95 0 8 if exists $self->{'zonefile'} and exists $self->{'zonedata'}
96 0 13 unless exists $self->{'zonefile'} or exists $self->{'zonedata'}
100 21 0 if (exists $args->{'handler_config'})
101 17 4 if ($protocol eq 'smtp') { }
115 8 13 if exists $self->{'zonefile'}
116 13 8 if exists $self->{'zonedata'}
140 11 33 if ($object->can("pre_loop_setup"))
143 44 0 if ($object->can("register_metrics"))
184 0 234 unless exists $self->{'snapshots'}{$name}
222 723 0 unless defined $original
263 6 187 if $returncode != 100
265 1 186 if $returncode != 100
267 1 185 if $returncode != 100
270 1 184 if $returncode != 100
282 0 1366 if $line eq ""
284 644 722 if ($line =~ /^\s/u) { }
288 538 184 if ($buffer)
293 1 537 if $returncode != 100
299 183 0 if ($buffer)
304 0 183 if $returncode != 100
308 0 183 if $returncode != 100
311 0 183 if $returncode != 100
314 0 183 if $returncode != 100