| blib/lib/Unicode/String.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 26 | 33 | 78.7 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 256 | 4 | 21 | 17 | $Unicode::String::UTF7_OPTIONAL_DIRECT_CHARS and $$self =~ /\G((?:\0[A-Za-z0-9\'\(\)\,\-\.\/\:\?\!\"\#\$\%\&\*\;\<\=\>\@\[\]\^\_\`\{\|\}\s])+)/cg | 
| 2 | 0 | 21 | $Unicode::String::UTF7_OPTIONAL_DIRECT_CHARS and $$self =~ /\G((?:[^\0].|\0[^A-Za-z0-9\'\(\)\,\-\.\/\:\?\!\"\#\$\%\&\*\;\<\=\>\@\[\]\^\_\`\{\|\}\s])+)/cgs | |
| 327 | 0 | 0 | 27 | defined $$self and defined wantarray | 
| 387 | 13 | 1 | 6 | $first >= 55296 and $first <= 57343 | 
| 472 | 3 | 2 | 2 | ($pos = CORE::index($$self, $$other, $pos)) > 0 and $pos % 2 != 0 | 
| line | l | !l | condition | 
|---|---|---|---|
| 443 | 4 | 2 | $offset ||= 0 | 
| 469 | 1 | 4 | $pos ||= 0 | 
| 481 | 0 | 0 | $pos ||= 0 | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 256 | 17 | 2 | 23 | $Unicode::String::UTF7_OPTIONAL_DIRECT_CHARS and $$self =~ /\G((?:\0[A-Za-z0-9\'\(\)\,\-\.\/\:\?\!\"\#\$\%\&\*\;\<\=\>\@\[\]\^\_\`\{\|\}\s])+)/cg or $$self =~ m[\G((?:\0[A-Za-z0-9\'\(\)\,\-\./\:\?\s])+)]cg | 
| 21 | 2 | 0 | $Unicode::String::UTF7_OPTIONAL_DIRECT_CHARS and $$self =~ /\G((?:[^\0].|\0[^A-Za-z0-9\'\(\)\,\-\.\/\:\?\!\"\#\$\%\&\*\;\<\=\>\@\[\]\^\_\`\{\|\}\s])+)/cgs or $$self =~ m[\G((?:[^\0].|\0[^A-Za-z0-9\'\(\)\,\-\./\:\?\s])+)]cgs | |
| 390 | 1 | 1 | 4 | $first >= 56320 or $second < 56320 | 
| 2 | 0 | 4 | $first >= 56320 or $second < 56320 or $second > 57343 |