| 1 | # | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | # This parser was generated with | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | # Parse::RecDescent version 1.967015 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 4 | # | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 6 | package Mail::IMAPClient::Thread; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 7 | 1 | ▶ | use Parse::RecDescent; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 | 1 | { my $ERRORS; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 9 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 11 | package Parse::RecDescent::Mail::IMAPClient::Thread; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 12 | 1 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 13 | 1 | ▶ | use vars qw($skip $AUTOLOAD ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 14 | 1 | @Parse::RecDescent::Mail::IMAPClient::Thread::ISA = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 15 | 1 | $skip = '\\s*'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 19 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 20 | 0 | ▶ | local $SIG{__WARN__} = sub {0}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=0.4
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 21 | # PRETEND TO BE IN Parse::RecDescent NAMESPACE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 22 | *Parse::RecDescent::Mail::IMAPClient::Thread::AUTOLOAD = sub | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=2.2
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 24 | 1 | ▶ | no strict 'refs'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 26 | 0 | ${"AUTOLOAD"} =~ s/^Parse::RecDescent::Mail::IMAPClient::Thread/Parse::RecDescent/; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 27 | 0 | goto &{${"AUTOLOAD"}}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 28 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 29 | 1 | } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 30 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 31 | 1 | push @Parse::RecDescent::Mail::IMAPClient::Thread::ISA, 'Parse::RecDescent'; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 32 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 33 | sub Parse::RecDescent::Mail::IMAPClient::Thread::NUMBER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34 | 170 | ▶ | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
NUMBER: called CC=24 SCAR=34.3
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35 | 170 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36 | 1 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 37 | 170 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 38 | 170 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 39 | 170 | my $thisrule = $thisparser->{"rules"}{"NUMBER"}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 40 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 41 | 170 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [NUMBER]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 42 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 43 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 45 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 48 | 170 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 49 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 50 | 170 | my $score; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 51 | my $score_return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52 | 170 | my $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 53 | 170 | my $return = undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54 | 170 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 55 | 170 | my $commit=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 56 | 170 | my @item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 57 | 170 | my %item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 58 | 170 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 59 | 170 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 60 | 170 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 61 | 170 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 62 | 170 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63 | 170 | my $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 65 | 170 | my $current_match; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 66 | 170 | my $expectation = new Parse::RecDescent::Expectation(q{/\\d+/}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 67 | 170 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 69 | 170 | my $thisline; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 70 | 170 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 71 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 72 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 73 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 74 | 170 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 75 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 77 | 170 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/\\d+/]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 78 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 79 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 80 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 81 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 82 | 170 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | 170 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | 170 | my $_savetext; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 85 | 170 | @item = (q{NUMBER}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 86 | 170 | %item = (__RULE__ => q{NUMBER}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 87 | 170 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 88 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | 170 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/\\d+/]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 91 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 92 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 93 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | 170 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | 170 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 96 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 98 | 170 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:\d+)/) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\d+)/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\d+)/
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:\d+)/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:\d+)/
Truth table100%2/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 99 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 100 | 84 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 101 | 84 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | 84 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 104 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | 84 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 107 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | 86 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | 86 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | 86 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 111 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 112 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 113 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 114 | 86 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 115 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 116 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 117 | 86 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/\\d+/]<<}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 118 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 119 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 120 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 121 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 122 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 123 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 124 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 125 | 86 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 126 | 86 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 127 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 128 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 129 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 130 | 170 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 131 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 132 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | 84 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 135 | 84 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 136 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 137 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 138 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 139 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 140 | 84 | return undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 141 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 142 | 86 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 143 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 144 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 145 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 146 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 147 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 148 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 149 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 150 | 86 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 151 | 86 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 152 | 86 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 153 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 154 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 155 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 156 | q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 157 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 158 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 159 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 160 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 161 | , q{NUMBER}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 162 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 163 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 164 | 86 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 165 | 86 | return $return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 166 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 167 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 168 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 169 | sub Parse::RecDescent::Mail::IMAPClient::Thread::start | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 170 | 2 | ▶ | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
start: called CC=34 SCAR=45.2
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 171 | 2 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 172 | 1 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 173 | 2 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 174 | 2 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 175 | 2 | my $thisrule = $thisparser->{"rules"}{"start"}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 176 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 177 | 2 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [start]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 178 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 179 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 180 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 181 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 182 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 183 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 184 | 2 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 185 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 186 | 2 | my $score; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 187 | my $score_return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 188 | 2 | my $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 189 | 2 | my $return = undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 190 | 2 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 191 | 2 | my $commit=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 192 | 2 | my @item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 193 | 2 | my %item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 194 | 2 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 195 | 2 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 196 | 2 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 197 | 2 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 198 | 2 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 199 | 2 | my $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 200 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 201 | 2 | my $current_match; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 202 | 2 | my $expectation = new Parse::RecDescent::Expectation(q{/^\\* THREAD /i}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 203 | 2 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 204 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 205 | 2 | my $thisline; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 206 | 2 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 207 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 208 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 209 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 210 | 2 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 211 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 212 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 213 | 2 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/^\\* THREAD /i thread]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 214 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 215 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 216 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 217 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 218 | 2 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 219 | 2 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 220 | 2 | my $_savetext; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 221 | 2 | @item = (q{start}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 222 | 2 | %item = (__RULE__ => q{start}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 223 | 2 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 224 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 225 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 226 | 2 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/^\\* THREAD /i]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 227 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 228 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 229 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 230 | 2 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 231 | 2 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 232 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 233 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 234 | 2 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:^\* THREAD )/i) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:^\* THREAD )/i
($lastsep = $1) && ''
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:^\* THREAD )/i
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:^\* THREAD )/i
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:^\* THREAD )/i
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 235 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 236 | 0 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 237 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 238 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 239 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 240 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 241 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 242 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 243 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 244 | 2 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 245 | 2 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 246 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 247 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 248 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 249 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 250 | 2 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 251 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 252 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 253 | 2 | ▶ | Parse::RecDescent::_trace(q{Trying repeated subrule: [thread]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 254 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 255 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 256 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 257 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 258 | 2 | $expectation->is(q{thread})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 259 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 260 | 2 | ▶ | unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Mail::IMAPClient::Thread::thread, 0, 100000000, $_noactions,$expectation,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 261 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 262 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [thread]>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 263 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 264 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 265 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 266 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 267 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 268 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 269 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched repeated subrule: [thread]<< (} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 270 | . @$_tok . q{ times)}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 271 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 272 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 273 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 274 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 275 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 276 | 2 | $item{q{thread(s?)}} = $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 277 | 2 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 278 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 279 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 280 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 281 | 2 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 282 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 283 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 284 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 285 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 286 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 287 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 288 | 2 | ▶ | $_tok = ($_noactions) ? 0 : do { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 289 | 2 | ▶ | $return=$item{'thread(s?)'}||undef; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$item{'thread(s?)'} || undef
MC/DC0%0/1
$item{'thread(s?)'} || undef
$item{'thread(s?)'}
Truth table50%1/2
A
A= $item{'thread(s?)'}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 290 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 291 | 2 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 292 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 293 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 294 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 295 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 296 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 297 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 298 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 299 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 300 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 301 | 2 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 302 | 2 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 303 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 304 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 305 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/^\\* THREAD /i thread]<<}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 306 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 307 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 308 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 309 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 310 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 311 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 312 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 313 | 2 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 314 | 2 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 315 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 316 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 317 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 318 | 2 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or defined $score
MC/DC0%0/2
$_matched or defined $score
$_matched
defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 319 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 320 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 321 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 322 | 0 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 323 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 324 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 325 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 326 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 327 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 328 | 0 | return undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 329 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 330 | 2 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 331 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 332 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 333 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 334 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 335 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 336 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 337 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 338 | 2 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 339 | 2 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 340 | 2 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 341 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 342 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 343 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 344 | q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 345 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 346 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 347 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 348 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 349 | , q{start}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 350 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 351 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 352 | 2 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 353 | 2 | return $return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 354 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 355 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 356 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 357 | sub Parse::RecDescent::Mail::IMAPClient::Thread::thread | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 358 | 134 | ▶ | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
thread: called CC=45 SCAR=47.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 359 | 134 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 360 | 1 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 361 | 134 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 362 | 134 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 363 | 134 | my $thisrule = $thisparser->{"rules"}{"thread"}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 364 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 365 | 134 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [thread]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 366 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 367 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 368 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 369 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 370 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 371 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 372 | 134 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 373 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 374 | 134 | my $score; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 375 | my $score_return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 376 | 134 | my $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 377 | 134 | my $return = undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 378 | 134 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 379 | 134 | my $commit=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 380 | 134 | my @item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 381 | 134 | my %item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 382 | 134 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 383 | 134 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 384 | 134 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 385 | 134 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 386 | 134 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 387 | 134 | my $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 388 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 389 | 134 | my $current_match; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 390 | 134 | my $expectation = new Parse::RecDescent::Expectation(q{'('}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 391 | 134 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 392 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 393 | 134 | my $thisline; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 394 | 134 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 395 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 396 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 397 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 398 | 134 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 399 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 400 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 401 | 134 | ▶ | Parse::RecDescent::_trace(q{Trying production: ['(' threadmember ')']}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 402 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 403 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 404 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 405 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 406 | 134 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 407 | 134 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 408 | 134 | my $_savetext; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 409 | 134 | @item = (q{thread}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 410 | 134 | %item = (__RULE__ => q{thread}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 411 | 134 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 412 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 413 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 414 | 134 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: ['(']}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 415 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 416 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 417 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 418 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 419 | 134 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 420 | 134 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 421 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 422 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 423 | 134 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and do { $_tok = "("; 1 } and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition63%7/11
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = "(";
1
} and substr($text, 0, length $_tok) eq $_tok and do {
substr($text, 0, length $_tok) = "";
1
}
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = "(";
1
} and substr($text, 0, length $_tok) eq $_tok
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = "(";
1
}
($lastsep = $1) && ''
MC/DC25%1/4
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = "(";
1
} and substr($text, 0, length $_tok) eq $_tok and do {
substr($text, 0, length $_tok) = "";
1
}
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e
do {
$_tok = "(";
1
}
substr($text, 0, length $_tok) eq $_tok
do {
substr($text, 0, length $_tok) = "";
1
}
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table40%2/5
A and B and C and D
A= $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/eB= do {
$_tok = "(";
1
}C= substr($text, 0, length $_tok) eq $_tokD= do {
substr($text, 0, length $_tok) = "";
1
}
Truth table100%2/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 424 | substr($text,0,length($_tok)) eq $_tok and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 425 | 66 | do { substr($text,0,length($_tok)) = ""; 1; } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 426 | ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 427 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 428 | 68 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 429 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 430 | 68 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 431 | 68 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 432 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 433 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 434 | 68 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 435 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 436 | 66 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 437 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 438 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 439 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 440 | 66 | push @item, $item{__STRING1__}=$_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 441 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 442 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 443 | 66 | ▶ | Parse::RecDescent::_trace(q{Trying repeated subrule: [threadmember]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 444 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 445 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 446 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 447 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 448 | 66 | $expectation->is(q{threadmember})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 449 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 450 | 66 | ▶ | unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Mail::IMAPClient::Thread::threadmember, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 451 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 452 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [threadmember]>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 453 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 454 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 455 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 456 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 457 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 458 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 459 | 66 | ▶ | Parse::RecDescent::_trace(q{>>Matched repeated subrule: [threadmember]<< (} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 460 | . @$_tok . q{ times)}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 461 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 462 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 463 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 464 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 465 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 466 | 66 | $item{q{threadmember(s)}} = $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 467 | 66 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 468 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 469 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 470 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 471 | 66 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [')']}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 472 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 473 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 474 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 475 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 476 | 66 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 477 | 66 | $expectation->is(q{')'})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 478 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 479 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 480 | 66 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and do { $_tok = ")"; 1 } and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition36%4/11
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = ")";
1
} and substr($text, 0, length $_tok) eq $_tok and do {
substr($text, 0, length $_tok) = "";
1
}
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = ")";
1
} and substr($text, 0, length $_tok) eq $_tok
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = ")";
1
}
($lastsep = $1) && ''
MC/DC0%0/4
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e and do {
$_tok = ")";
1
} and substr($text, 0, length $_tok) eq $_tok and do {
substr($text, 0, length $_tok) = "";
1
}
$text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/e
do {
$_tok = ")";
1
}
substr($text, 0, length $_tok) eq $_tok
do {
substr($text, 0, length $_tok) = "";
1
}
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table20%1/5
A and B and C and D
A= $text =~ s/\A($Parse::RecDescent::Mail::IMAPClient::Thread::skip)/$lastsep = $1 and "";/eB= do {
$_tok = ")";
1
}C= substr($text, 0, length $_tok) eq $_tokD= do {
substr($text, 0, length $_tok) = "";
1
}
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 481 | substr($text,0,length($_tok)) eq $_tok and | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 482 | 66 | do { substr($text,0,length($_tok)) = ""; 1; } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 483 | ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 484 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 485 | 0 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 486 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 487 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 488 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 489 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 490 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 491 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 492 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 493 | 66 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 494 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 495 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 496 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 497 | 66 | push @item, $item{__STRING2__}=$_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 498 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 499 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 500 | 66 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 501 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 502 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 503 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 504 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 505 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 506 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 507 | 66 | ▶ | $_tok = ($_noactions) ? 0 : do { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 508 | 66 | ▶ | $return = $item{'threadmember(s)'}||undef; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$item{'threadmember(s)'} || undef
MC/DC0%0/1
$item{'threadmember(s)'} || undef
$item{'threadmember(s)'}
Truth table50%1/2
A
A= $item{'threadmember(s)'}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 509 | }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 510 | 66 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 511 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 512 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 513 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 514 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 515 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 516 | 66 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 517 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 518 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 519 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 520 | 66 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 521 | 66 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 522 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 523 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 524 | 66 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: ['(' threadmember ')']<<}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 525 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 526 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 527 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 528 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 529 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 530 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 531 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 532 | 66 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 533 | 66 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 534 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 535 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 536 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 537 | 134 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 538 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 539 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 540 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 541 | 68 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 542 | 68 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 543 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 544 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 545 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 546 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 547 | 68 | return undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 548 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 549 | 66 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 550 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 551 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 552 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 553 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 554 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 555 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 556 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 557 | 66 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 558 | 66 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 559 | 66 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 560 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 561 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 562 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 563 | q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 564 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 565 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 566 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 567 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 568 | , q{thread}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 569 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 570 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 571 | 66 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 572 | 66 | return $return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 573 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 574 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 575 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 576 | sub Parse::RecDescent::Mail::IMAPClient::Thread::threadmember | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 577 | 170 | ▶ | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
threadmember: called CC=39 SCAR=41.1
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 578 | 170 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 579 | 1 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 580 | 170 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel || 0
$Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Mail::IMAPClient::Thread::tracelevel
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 581 | 170 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 582 | 170 | my $thisrule = $thisparser->{"rules"}{"threadmember"}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 583 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 584 | 170 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [threadmember]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 585 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 586 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 587 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 588 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 589 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 590 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 591 | 170 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 592 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 593 | 170 | my $score; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 594 | my $score_return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 595 | 170 | my $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 596 | 170 | my $return = undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 597 | 170 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 598 | 170 | my $commit=0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 599 | 170 | my @item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 600 | 170 | my %item = (); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 601 | 170 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 602 | 170 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 603 | 170 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 604 | 170 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 605 | 170 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 606 | 170 | my $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 607 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 608 | 170 | my $current_match; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 609 | 170 | my $expectation = new Parse::RecDescent::Expectation(q{NUMBER, or thread}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 610 | 170 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 611 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 612 | 170 | my $thisline; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 613 | 170 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 614 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 615 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 616 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 617 | 170 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 618 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 619 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 620 | 170 | ▶ | Parse::RecDescent::_trace(q{Trying production: [NUMBER]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 621 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 622 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 623 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 624 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 625 | 170 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 626 | 170 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 627 | 170 | my $_savetext; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 628 | 170 | @item = (q{threadmember}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 629 | 170 | %item = (__RULE__ => q{threadmember}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 630 | 170 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 631 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 632 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 633 | 170 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [NUMBER]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 634 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 635 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 636 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 637 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 638 | 1 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 639 | 170 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 640 | 170 | ▶ | unless (defined ($_tok = Parse::RecDescent::Mail::IMAPClient::Thread::NUMBER($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 641 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 642 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 643 | 84 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [NUMBER]>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 644 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 645 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 646 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 647 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 648 | 84 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 649 | 84 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 650 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 651 | 86 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [NUMBER]<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 652 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 653 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 654 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 655 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 656 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 657 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 658 | 86 | $item{q{NUMBER}} = $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 659 | 86 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 660 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 661 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 662 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 663 | 86 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 664 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 665 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 666 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 667 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 668 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 669 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 670 | 86 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = $item{NUMBER} ; }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 671 | 86 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 672 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 673 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 674 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 675 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 676 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 677 | 86 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 678 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 679 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 680 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 681 | 86 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 682 | 86 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 683 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 684 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 685 | 86 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [NUMBER]<<}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 686 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 687 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 688 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 689 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 690 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 691 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 692 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 693 | 86 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 694 | 86 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 695 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 696 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 697 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 698 | 170 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 699 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 700 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 701 | 84 | ▶ | Parse::RecDescent::_trace(q{Trying production: [thread]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 702 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 703 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 704 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 705 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 706 | 84 | my $thisprod = $thisrule->{"prods"}[1]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 707 | 84 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 708 | 84 | my $_savetext; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 709 | 84 | @item = (q{threadmember}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 710 | 84 | %item = (__RULE__ => q{threadmember}); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 711 | 84 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 712 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 713 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 714 | 84 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [thread]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 715 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 716 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 717 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 718 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 719 | 1 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 720 | 84 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 721 | 84 | ▶ | unless (defined ($_tok = Parse::RecDescent::Mail::IMAPClient::Thread::thread($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 722 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 723 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 724 | 66 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [thread]>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 725 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 726 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 727 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 728 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 729 | 66 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 730 | 66 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 731 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 732 | 18 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [thread]<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 733 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 734 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 735 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 736 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 737 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 738 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 739 | 18 | $item{q{thread}} = $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 740 | 18 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 741 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 742 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 743 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 744 | 18 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 745 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 746 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 747 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 748 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 749 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 750 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 751 | 18 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = $item{thread} ; }; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 752 | 18 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 753 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 754 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 755 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 756 | 0 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 757 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 758 | 18 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 759 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 760 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 761 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 762 | 18 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 763 | 18 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 764 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 765 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 766 | 18 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [thread]<<}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 767 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 768 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 769 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 770 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 771 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 772 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 773 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 774 | 18 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 775 | 18 | last; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 776 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 777 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 778 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 779 | 170 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 780 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 781 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 782 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 783 | 66 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 784 | 66 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 785 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 786 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 787 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 788 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 789 | 66 | return undef; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 790 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 791 | 104 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 792 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 793 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 794 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 795 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 796 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 797 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 798 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 799 | 104 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 800 | 104 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 801 | 104 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 802 | { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 803 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 804 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 805 | q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 806 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 807 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 808 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 809 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 810 | , q{threadmember}, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 811 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 812 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 813 | 104 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 814 | 104 | return $return; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 815 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 816 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 817 | 1 | ▶ | package Mail::IMAPClient::Thread; sub new { my $self = bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 818 | '_AUTOACTION' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 819 | '_AUTOTREE' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 820 | '_check' => { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 821 | 'itempos' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 822 | 'prevcolumn' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 823 | 'prevline' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 824 | 'prevoffset' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 825 | 'thiscolumn' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 826 | 'thisoffset' => '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 827 | }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 828 | 'localvars' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 829 | 'namespace' => 'Parse::RecDescent::Mail::IMAPClient::Thread', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 830 | 'rules' => { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 831 | 'NUMBER' => bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 832 | 'calls' => [], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 833 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 834 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 835 | 'line' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 836 | 'name' => 'NUMBER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 837 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 838 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 839 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 840 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 841 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 842 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 843 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 844 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 845 | 'description' => '/\\\\d+/', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 846 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 847 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 848 | 'line' => 3, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 849 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 850 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 851 | 'pattern' => '\\d+', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 852 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 853 | }, 'Parse::RecDescent::Token' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 854 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 855 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 856 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 857 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 858 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 859 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 860 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 861 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 862 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 863 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 864 | 'start' => bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 865 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 866 | 'thread' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 867 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 868 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 869 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 870 | 'line' => 15, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 871 | 'name' => 'start', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 872 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 873 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 874 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 875 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 876 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 877 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 878 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 879 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 880 | 'description' => '/^\\\\* THREAD /i', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 881 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 882 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 883 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 884 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 885 | 'mod' => 'i', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 886 | 'pattern' => '^\\* THREAD ', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 887 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 888 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 889 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 890 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 891 | 'expected' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 892 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 893 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 894 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 895 | 'max' => 100000000, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 896 | 'min' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 897 | 'repspec' => 's?', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 898 | 'subrule' => 'thread' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 899 | }, 'Parse::RecDescent::Repetition' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 900 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 901 | 'code' => '{ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 902 | $return=$item{\'thread(s?)\'}||undef; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 903 | }', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 904 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 905 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 906 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 907 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 908 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 909 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 910 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 911 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 912 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 913 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 914 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 915 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 916 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 917 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 918 | 'thread' => bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 919 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 920 | 'threadmember' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 921 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 922 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 923 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 924 | 'line' => 10, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 925 | 'name' => 'thread', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 926 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 927 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 928 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 929 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 930 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 931 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 932 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 933 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 934 | 'description' => '\'(\'', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 935 | 'hashname' => '__STRING1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 936 | 'line' => 10, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 937 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 938 | 'pattern' => '(' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 939 | }, 'Parse::RecDescent::InterpLit' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 940 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 941 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 942 | 'expected' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 943 | 'line' => 10, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 944 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 945 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 946 | 'max' => 100000000, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 947 | 'min' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 948 | 'repspec' => 's', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 949 | 'subrule' => 'threadmember' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 950 | }, 'Parse::RecDescent::Repetition' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 951 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 952 | 'description' => '\')\'', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 953 | 'hashname' => '__STRING2__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 954 | 'line' => 10, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 955 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 956 | 'pattern' => ')' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 957 | }, 'Parse::RecDescent::InterpLit' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 958 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 959 | 'code' => '{ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 960 | $return = $item{\'threadmember(s)\'}||undef; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 961 | }', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 962 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 963 | 'line' => 11, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 964 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 965 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 966 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 967 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 968 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 969 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 970 | 'strcount' => 2, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 971 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 972 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 973 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 974 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 975 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 976 | 'threadmember' => bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 977 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 978 | 'NUMBER', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 979 | 'thread' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 980 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 981 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 982 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 983 | 'line' => 5, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 984 | 'name' => 'threadmember', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 985 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 986 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 987 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 988 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 989 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 990 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 991 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 992 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 993 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 994 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 995 | 'line' => 7, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 996 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 997 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 998 | 'subrule' => 'NUMBER' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 999 | }, 'Parse::RecDescent::Subrule' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1000 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1001 | 'code' => '{ $return = $item{NUMBER} ; }', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1002 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1003 | 'line' => 7, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1004 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1005 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1006 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1007 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1008 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1009 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1010 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1011 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1012 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1013 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1014 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1015 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1016 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1017 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1018 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1019 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1020 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1021 | 'line' => 8, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1022 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1023 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1024 | 'subrule' => 'thread' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1025 | }, 'Parse::RecDescent::Subrule' ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1026 | bless( { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1027 | 'code' => '{ $return = $item{thread} ; }', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1028 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1029 | 'line' => 8, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1030 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1031 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1032 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1033 | 'line' => 7, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1034 | 'number' => 1, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1035 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1036 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1037 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1038 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1039 | ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1040 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1041 | }, 'Parse::RecDescent::Rule' ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1042 | }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1043 | 'startcode' => '' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1044 | }, 'Parse::RecDescent' ); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 1045 | } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||