Branch Coverage

blib/lib/Mail/DKIM/Canonicalization/Base.pm
Criterion Covered Total %
branch 8 18 44.4


line true false branch
26 1 0 unless ($self->{'output'} or $self->{'output_fh'} or $self->{'output_digest'} or $self->{'buffer'})
42 0 2777 if ($out_fh)
45 2771 6 if (my $digest = $self->{'output_digest'})
48 0 2777 if (my $out_obj = $self->{'output'})
51 6 2771 if (my $buffer = $self->{'buffer'})
56 0 2777 if (my $debug = $self->{'Debug_Canonicalization'})
57 0 0 if (UNIVERSAL::isa($debug, 'SCALAR')) { }
0 0 elsif (UNIVERSAL::isa($debug, 'GLOB')) { }
0 0 elsif (UNIVERSAL::isa($debug, 'IO::Handle')) { }