Branch Coverage

blib/lib/Mail/Box/Thread/Manager.pm
Criterion Covered Total %
branch 34 62 54.8


line true false branch
27 0 3 unless $self->{'MBTM_manager'} = $args->{'manager'}
34 0 3 $_ eq 'EVER' ? :
39 0 3 $_ eq 'ALL' ? :
53 0 3 unless ref $folder and $folder->isa("Mail::Box")
57 0 3 if exists $self->{'MBTM_folders'}{$name}
61 90 45 unless $msg->head->isDelayed
73 0 3 unless ref $folder and $folder->isa("Mail::Box")
77 0 3 unless exists $self->{'MBTM_folders'}{$name}
103 0 10 if $node->isDummy
108 4 0 unless @missing
120 0 0 if (@now_missing != @missing)
122 0 0 unless @now_missing
137 1 1 unless ($parent->isDummy)
146 0 1 $message->isDummy ? :
151 0 1 unless $_->scanForMessages($thread->messageId, $parent->messageId, $timespan, $self->{'MBTM_window'})
198 3 0 unless $self->{'MBTM_cleanup_needed'}
205 0 0 if $_->isDummy
213 0 0 if $real
232 0 45 unless exists $self->{'MBTM_folders'}{$folder->name}
240 0 0 unless exists $self->{'MBTM_folders'}{$folder->name}
252 0 135 if ($node) { }
270 5 3 unless $self->{'MBTM_delayed'}
286 0 135 unless my $head = $message->head
289 54 81 if (my $irt = $head->get("in-reply-to"))
297 54 81 if (my $refs = $head->get("references"))
307 54 81 if ($replies)
308 54 0 if $node->follows($replies, "REPLY")
317 54 81 if (@refs)
318 54 0 unless $refs[-1] eq $node
322 84 0 if $to->follows($from, "REFERENCE")
337 1 134 unless my $node = $self->{'MBTM_ids'}{$msgid}