Branch Coverage

blib/lib/Locale/Maketext/Extract/Plugin/Perl.pm
Criterion Covered Total %
branch 77 84 91.6


line true false branch
37 394 196 if pos $_
44 60 530 if ($state == 0 and /\b(translate|maketext|gettext|__?|loc(?:ali[sz]e)?|l|x)/cg)
45 62 468 if $state == 1 and /^([\s\t\n]*)/cg
50 58 2 $1 eq '(' ? :
60 408 if ($state == 1 and /^([\S\(])\s*/cg)
56 4 192 if ($state == 2 and defined $str and /^(\s*\.\s*)/cg)
59 61 343 if ($state == 2 and defined $str_part)
60 23 38 if ($quo == 3 or $quo == 7) { }
36 2 elsif ($quo != 8) { }
61 23 0 if $str_part
65 35 1 if $str_part
75 19 324 if ($state == 2 and /^(\')/cg)
76 25 299 if ($state == 3 and /^([^'\\]+)/cg)
77 7 292 if ($state == 3 and /^((?:\\.)+)/cgs)
78 19 273 if ($state == 3 and /^\'/cg)
80 23 250 if ($state == 2 and /^\"/cg)
81 30 220 if ($state == 4 and /^([^"\\]+)/cg)
82 9 211 if ($state == 4 and /^((?:\\.)+)/cgs)
83 23 188 if ($state == 4 and /^\"/cg)
85 0 188 if ($state == 2 and /^\`/cg)
86 0 188 if ($state == 5 and /^([^\`]*)/cg)
87 0 188 if ($state == 5 and /^\`/cg)
89 1 187 if ($state == 2 and /^qq\{/cg)
90 2 185 if ($state == 6 and /^([^\}]*)/cg)
91 1 184 if ($state == 6 and /^\}/cg)
93 4 180 if ($state == 2 and /^q\{/cg)
94 8 172 if ($state == 7 and /^([^\}]*)/cg)
95 4 168 if ($state == 7 and /^\}/cg)
101 2 166 if ($state == 2 and /^<<\s*\'/cg)
102 1 165 if ($state == 8 and /^([^'\\\n]+)/cg)
103 0 165 if ($state == 8 and /^((?:\\.)+)/cg)
106 2 163 if ($state == 8 and /^\'/cg)
110 10 153 if ($state == 2 and /^<<\s*\"/cg)
111 1 152 if ($state == 9 and /^([^"\\\n]+)/cg)
112 0 152 if ($state == 9 and /^((?:\\.)+)/cg)
115 10 142 if ($state == 9 and /^\"/cg)
119 3 139 if ($state == 2 and /^<<(\w*)/cg)
126 15 0 if ($state == 10 and /^.*\r?\n/cg and s/\G(.*?\r?\n)$heredoc(\r?\n)//s)
131 58 66 if ($state == 2 and /^\s*[\)]/cg)
133 11 47 if $vars
134 56 2 if $str
145 11 55 if ($state == 2 and /^([^\)]*)/cg)