Branch Coverage

blib/lib/Mail/Box/Thread/Node.pm
Criterion Covered Total %
branch 43 62 69.3


line true false branch
29 135 15 if (my $message = $args->{'message'}) { }
15 0 elsif (my $msgid = $args->{'msgid'}) { }
50 10 494 unless ($self->{'MBTN_messages'})
51 0 10 if wantarray
62 143 351 if wantarray
63 351 0 if @messages == 1
66 0 0 unless $_->isDeleted
76 0 0 if $self->isDummy
86 187 15 unless not defined $self->{'MBTN_messages'}
95 119 2 unless @_
104 119 2 @_ == 1 ? :
113 0 302 wantarray ? :
125 0 197 if $walker->messageId eq $msgid
130 0 45 if $_->messageId eq $threadid
135 77 61 if ($how eq "REPLY" or not defined $quality)
141 53 8 if $quality eq "REPLY"
143 8 0 if ($how eq "REFERENCE" or $how eq "GUESS" and $quality ne "REFERENCE")
161 140 197 $self->{'MBTN_followUps'} ? :
184 1 118 if ($self->folded) { }
13 105 elsif ($message->isDummy) { }
190 2 11 $first ? :
191 6 7 if @follows == 1
207 46 66 if @follows
217 120 10 unless $self->isDummy
224 12 2 if not defined $earliest or defined $stamp and $stamp < $earliest
238 0 0 unless ($node->isDummy)
240 0 0 if not $latest or $stamp > $latest
252 0 70 unless &$code($self)
268 0 0 if @msgs
279 49 5 unless (shift())->isDummy
292 6 0 unless $node->isDummy