Condition Coverage

blib/lib/Mail/IMAPClient/Thread.pm
Criterion Covered Total %
condition 34 75 45.3


and 3 conditions

line !l l&&!r l&&r condition
93 0 0 134 $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and do { $_tok = '('; 1 }
0 68 66 $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
68 0 66 $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 }
150 0 0 66 $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and do { $_tok = ')'; 1 }
0 0 66 $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
0 0 66 $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 }
219 66 0 0 not defined $return and defined $score
461 104 0 0 not defined $return and defined $score
553 0 84 86 $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\d+)/
597 0 86 0 not defined $return and defined $score
689 0 0 2 $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:^\* THREAD )/i
785 2 0 0 not defined $return and defined $score

or 2 conditions

line l !l condition
31 134 0 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
178 66 0 $item{'threadmember(s)'} || undef
250 170 0 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
492 170 0 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
628 0 2 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
744 2 0 $item{'thread(s?)'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 134 $_matched or $commit
207 66 0 68 $_matched or defined $score
287 0 0 170 $_matched or $commit
368 86 0 84 $_matched or $commit
449 104 0 66 $_matched or defined $score
529 0 0 170 $_matched or $commit
585 86 0 84 $_matched or defined $score
665 0 0 2 $_matched or $commit
773 2 0 0 $_matched or defined $score