Branch Coverage

blib/lib/Mail/Box/Thread/Node.pm
Criterion Covered Total %
branch 42 58 72.4


line true false branch
35 135 15 if (my $message = $args->{'message'}) { }
15 0 elsif (my $msgid = $args->{'msgid'}) { }
55 187 15 unless not defined $msgs && @$msgs
67 10 494 unless (@$messages)
68 0 10 if wantarray
75 143 351 if wantarray
83 0 0 if $self->isDummy
93 119 2 unless @_
101 2 119 @_ ? :
107 0 306 if (wantarray) { }
119 0 201 if $walker->messageId eq $msgid
124 0 36 if $_->messageId eq $threadid
129 74 64 if ($how eq "REPLY" or not defined $quality)
135 55 9 if $quality eq "REPLY"
137 9 0 if ($how eq "REFERENCE" or $how eq "GUESS" and $quality ne "REFERENCE")
155 131 206 $self->{'MBTN_followUps'} ? :
178 1 118 if ($self->folded) { }
13 105 elsif ($message->isDummy) { }
184 2 11 $first ? :
185 6 7 if @follows == 1
200 46 66 if @follows
209 120 10 unless $self->isDummy
214 13 1 if not defined $earliest or defined $stamp and $stamp < $earliest
227 0 0 if $node->isDummy
229 0 0 if not $latest or $stamp > $latest
240 0 70 unless &$code($self)
255 0 0 if @msgs
266 49 5 unless $_[0]->isDummy
278 6 0 unless $node->isDummy