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
98 0 84 86 $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\d+)/
142 0 86 0 not defined $return and defined $score
234 0 0 2 $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:^\* THREAD )/i
330 2 0 0 not defined $return and defined $score
423 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 }
480 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 }
549 66 0 0 not defined $return and defined $score
791 104 0 0 not defined $return and defined $score

or 2 conditions

line l !l condition
37 170 0 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
173 0 2 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
289 2 0 $item{'thread(s?)'} || undef
361 134 0 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
508 66 0 $item{'threadmember(s)'} || undef
580 170 0 $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0

or 3 conditions

line l !l&&r !l&&!r condition
74 0 0 170 $_matched or $commit
130 86 0 84 $_matched or defined $score
210 0 0 2 $_matched or $commit
318 2 0 0 $_matched or defined $score
398 0 0 134 $_matched or $commit
537 66 0 68 $_matched or defined $score
617 0 0 170 $_matched or $commit
698 86 0 84 $_matched or $commit
779 104 0 66 $_matched or defined $score