Branch Coverage

blib/lib/Mail/Milter/Authentication/Client.pm
Criterion Covered Total %
branch 34 52 65.3


line true false branch
28 0 33 if ($type eq 'inet') { }
33 0 elsif ($type eq 'unix') { }
43 0 33 if ($config->{'protocol'} ne "milter")
64 0 0 unless ($self->{'mail_file'} or $self->{'mail_data'})
83 627 83 if ($action eq 'continue') { }
60 23 elsif ($action eq 'insert') { }
13 10 elsif ($action eq 'replace') { }
9 1 elsif ($action eq 'add') { }
1 0 elsif ($action eq 'reject') { }
109 1 0 if ($self->{'testing'}) { }
132 60 617 if ($i == $index)
153 62 214 if (lc $key eq lc $header) { }
154 13 49 if ($i == $index) { }
155 13 0 if ($value eq '') { }
191 33 0 if ($self->{'mail_file'}) { }
0 0 elsif ($self->{'mail_data'}) { }
207 0 1197 if ($dataline =~ /^\./u)
210 31 1166 if ($dataline eq "")
218 767 399 if ($header_line =~ /^\s/u) { }
222 366 33 if ($value)
224 366 0 if defined $hvalue
231 33 0 if ($value)
233 33 0 if defined $hvalue
310 0 31 if (length $body > $chunk_size) { }
335 0 455 unless defined $value
348 1 0 if $self->{'rejected'} and $self->{'testing'}