Branch Coverage

blib/lib/Email/Reply.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
26 1 2 if $reply->{'attach'}
28 3 0 if $reply->{'quote'} or $reply->{'top_post'}
29 3 0 if $reply->{'body'}
30 1 2 $reply->{'message'} ? :
47 3 3 if (defined $v and $v ne '')
52 0 3 unless defined $addr_to_parse
56 0 3 unless defined $_
57 0 3 unless @parsed
58 0 3 if @parsed != 1
66 0 3 exists $args{'quote'} ? :
83 0 3 unless $self->{'to'}->name
87 2 1 unless $subject =~ /\bRe:/i
94 2 1 unless @refs
96 2 1 if $msg_id
97 2 1 if @refs
99 1 2 if ($self->{'all'})
104 1 0 unless ($self->{'self'})
107 1 0 if @addrs
125 1 4 if length $self->{'quoted'}
126 1 3 if $part->parts > 1
127 0 3 if $part->content_type and not $part->content_type =~ m[\btext/plain\b]
132 1 2 if not $self->{'keep_sig'} and $body =~ /$crlf--\s*$crlf/o
156 0 3 unless length $self->{'quoted'}
158 1 2 if $self->{'top_post'}