Branch Coverage

blib/lib/Mail/IMAPClient/Thread.pm
Criterion Covered Total %
branch 100 212 47.1


line true false branch
35 0 134 if defined $main::RD_TRACE
54 134 0 defined $_[4] ? :
56 134 0 $#arg & 1 ? :
71 0 134 if defined $main::RD_TRACE
84 0 134 if defined $main::RD_TRACE
93 3 131 if $lastsep = $1
68 66 unless ($text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and do { $_tok = '('; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 })
98 68 0 if defined $lastsep
101 0 68 if defined $main::RD_TRACE
106 0 66 if defined $main::RD_TRACE
113 0 66 if defined $main::RD_TRACE
120 0 66 unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Mail::IMAPClient::Thread::threadmember, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef)))
122 0 0 if defined $main::RD_TRACE
129 0 66 if defined $main::RD_TRACE
141 0 66 if defined $main::RD_TRACE
150 0 66 if $lastsep = $1
0 66 unless ($text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and do { $_tok = ')'; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 })
155 0 0 if defined $lastsep
158 0 0 if defined $main::RD_TRACE
163 0 66 if defined $main::RD_TRACE
170 0 66 if defined $main::RD_TRACE
177 0 66 $_noactions ? :
180 0 66 unless (defined $_tok)
182 0 0 if defined $main::RD_TRACE
186 0 66 if defined $main::RD_TRACE
194 0 66 if defined $main::RD_TRACE
207 68 66 unless ($_matched or defined $score)
212 0 68 if defined $main::RD_TRACE
219 0 66 if (not defined $return and defined $score)
221 0 0 if defined $main::RD_TRACE
228 0 66 unless defined $return
229 0 66 if (defined $main::RD_TRACE)
254 0 170 if defined $main::RD_TRACE
273 170 0 defined $_[4] ? :
275 170 0 $#arg & 1 ? :
290 0 170 if defined $main::RD_TRACE
303 0 170 if defined $main::RD_TRACE
310 84 86 unless (defined($_tok = NUMBER($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
313 0 84 if defined $main::RD_TRACE
321 0 86 if defined $main::RD_TRACE
333 0 86 if defined $main::RD_TRACE
340 0 86 $_noactions ? :
341 0 86 unless (defined $_tok)
343 0 0 if defined $main::RD_TRACE
347 0 86 if defined $main::RD_TRACE
355 0 86 if defined $main::RD_TRACE
371 0 84 if defined $main::RD_TRACE
384 0 84 if defined $main::RD_TRACE
391 66 18 unless (defined($_tok = thread($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
394 0 66 if defined $main::RD_TRACE
402 0 18 if defined $main::RD_TRACE
414 0 18 if defined $main::RD_TRACE
421 0 18 $_noactions ? :
422 0 18 unless (defined $_tok)
424 0 0 if defined $main::RD_TRACE
428 0 18 if defined $main::RD_TRACE
436 0 18 if defined $main::RD_TRACE
449 66 104 unless ($_matched or defined $score)
454 0 66 if defined $main::RD_TRACE
461 0 104 if (not defined $return and defined $score)
463 0 0 if defined $main::RD_TRACE
470 0 104 unless defined $return
471 0 104 if (defined $main::RD_TRACE)
496 0 170 if defined $main::RD_TRACE
515 170 0 defined $_[4] ? :
517 170 0 $#arg & 1 ? :
532 0 170 if defined $main::RD_TRACE
545 0 170 if defined $main::RD_TRACE
553 25 145 if $lastsep = $1
84 86 unless ($text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\d+)/)
555 84 0 if defined $lastsep
557 0 84 if defined $main::RD_TRACE
565 0 86 if defined $main::RD_TRACE
572 0 86 if defined $main::RD_TRACE
585 84 86 unless ($_matched or defined $score)
590 0 84 if defined $main::RD_TRACE
597 0 86 if (not defined $return and defined $score)
599 0 0 if defined $main::RD_TRACE
606 86 0 unless defined $return
607 0 86 if (defined $main::RD_TRACE)
632 0 2 if defined $main::RD_TRACE
651 2 0 defined $_[4] ? :
653 2 0 $#arg & 1 ? :
668 0 2 if defined $main::RD_TRACE
681 0 2 if defined $main::RD_TRACE
689 0 2 if $lastsep = $1
0 2 unless ($text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:^\* THREAD )/i)
691 0 0 if defined $lastsep
693 0 0 if defined $main::RD_TRACE
701 0 2 if defined $main::RD_TRACE
708 0 2 if defined $main::RD_TRACE
715 0 2 unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Mail::IMAPClient::Thread::thread, 0, 100000000, $_noactions, $expectation, sub { \@arg; } , undef)))
717 0 0 if defined $main::RD_TRACE
724 0 2 if defined $main::RD_TRACE
736 0 2 if defined $main::RD_TRACE
743 0 2 $_noactions ? :
746 0 2 unless (defined $_tok)
748 0 0 if defined $main::RD_TRACE
752 0 2 if defined $main::RD_TRACE
760 0 2 if defined $main::RD_TRACE
773 0 2 unless ($_matched or defined $score)
778 0 0 if defined $main::RD_TRACE
785 0 2 if (not defined $return and defined $score)
787 0 0 if defined $main::RD_TRACE
794 0 2 unless defined $return
795 0 2 if (defined $main::RD_TRACE)