Branch Coverage

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


line true false branch
98 18 9 if exists $args->{$arg}
101 0 9 unless exists $self->{'prefix'}
102 0 2 if exists $self->{'zonefile'} and exists $self->{'zonedata'}
103 0 7 unless exists $self->{'zonefile'} or exists $self->{'zonedata'}
107 9 0 if (exists $args->{'handler_config'})
108 5 4 if ($protocol eq 'smtp') { }
120 2 7 if exists $self->{'zonefile'}
121 7 2 if exists $self->{'zonedata'}
145 3 13 if ($object->can('pre_loop_setup'))
148 16 0 if ($object->can('register_metrics'))
190 0 146 unless exists $self->{'snapshots'}{$name}
227 553 0 unless defined $original
268 0 145 if $returncode != 100
270 0 145 if $returncode != 100
272 0 145 if $returncode != 100
275 0 145 if $returncode != 100
287 0 1167 if $line eq ''
289 616 551 if ($line =~ /^\s/) { }
293 406 145 if ($buffer)
298 0 406 if $returncode != 100
304 145 0 if ($buffer)
309 0 145 if $returncode != 100
313 0 145 if $returncode != 100
316 0 145 if $returncode != 100
319 0 145 if $returncode != 100