| line |
true |
false |
branch |
|
23
|
0 |
176 |
if ($^X =~ / jperl /imosx) |
|
46
|
0 |
176 |
if ($@) |
|
73
|
0 |
0 |
if (not ref $name and &index($name, '::') == -1 and &index($name, q[']) == -1) |
|
78
|
0 |
0 |
if ($name =~ /^(([^a-z])|(\^[a-z_]+))\z/i or $global{$name}) { } |
|
84
|
0 |
0 |
@_ > 1 ? : |
|
95
|
0 |
0 |
@_ > 1 ? : |
|
106
|
176 |
0 |
if (eval {
do {
local $@;
CORE::require strict
}
}) |
|
179
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) |
|
184
|
0 |
0 |
if (/\A (?:$Char::Earabic::q_char)*? [ ] /mosx) { } |
|
|
0 |
0 |
elsif (/\A (?:$Char::Earabic::q_char)*? [*?] /mosx) { } |
|
185
|
0 |
0 |
if (my(@glob) = glob(qq["$_"])) { } |
|
195
|
0 |
0 |
if (my(@glob) = glob $_) { } |
|
391
|
0 |
0 |
unless (defined $pattern) |
|
396
|
0 |
0 |
unless (defined $string) |
|
397
|
0 |
0 |
if (defined $_) { } |
|
408
|
0 |
0 |
if ($string eq '') { } |
|
|
0 |
0 |
elsif ($pattern eq ' ') { } |
|
411
|
0 |
0 |
if (wantarray) { } |
|
417
|
0 |
0 |
if $^W |
|
435
|
0 |
0 |
if (not defined $limit) { } |
|
444
|
0 |
0 |
if (not defined $limit or $limit <= 0) { } |
|
|
0 |
0 |
elsif ($limit > 0) { } |
|
451
|
0 |
0 |
if ('' =~ / \A $pattern \z /msx) { } |
|
490
|
0 |
0 |
if ('' =~ / \A $pattern \z /msx) { } |
|
495
|
0 |
0 |
if ($string =~ s/\A((?:$Char::Earabic::q_char)+?)$pattern//m) |
|
508
|
0 |
0 |
if ($string =~ s/\A((?:$Char::Earabic::q_char)*?)$pattern//m) |
|
518
|
0 |
0 |
if (length $string > 0) |
|
523
|
0 |
0 |
if (not defined $_[2] or $_[2] == 0) |
|
530
|
0 |
0 |
if (wantarray) { } |
|
536
|
0 |
0 |
if $^W |
|
552
|
0 |
0 |
if ($pattern =~ /\(\?\^? ([\-A-Za-z]+) :/mosx) |
|
559
|
0 |
0 |
if ($modifier =~ /x/mosx) { } |
|
592
|
0 |
0 |
if ($modifier =~ /r/mosx) |
|
593
|
0 |
0 |
if ($bind_operator =~ / !~ /mosx) |
|
604
|
0 |
0 |
unless (exists $tr{$searchlist[$i]}) |
|
605
|
0 |
0 |
if (defined $replacementlist[$i] and $replacementlist[$i] ne '') { } |
|
|
0 |
0 |
elsif ($modifier =~ /d/mosx) { } |
|
|
0 |
0 |
elsif (defined $replacementlist[-1] and $replacementlist[-1] ne '') { } |
|
622
|
0 |
0 |
if ($modifier =~ /c/mosx) { } |
|
624
|
0 |
0 |
if (not exists $tr{$char}) { } |
|
625
|
0 |
0 |
if (defined $replacementlist[0]) |
|
629
|
0 |
0 |
if ($modifier =~ /s/mosx) |
|
643
|
0 |
0 |
if (exists $tr{$char}) { } |
|
646
|
0 |
0 |
if ($modifier =~ /s/mosx) |
|
659
|
0 |
0 |
if ($modifier =~ /r/mosx) { } |
|
664
|
0 |
0 |
if ($bind_operator =~ / !~ /mosx) { } |
|
679
|
0 |
0 |
if (@_ == 0) { } |
|
704
|
0 |
0 |
if (substr($str, $pos, length $substr) eq $substr) |
|
705
|
0 |
0 |
if ($pos >= $position) |
|
709
|
0 |
0 |
if (substr($str, $pos) =~ /\A ($Char::Earabic::q_char) /mosx) { } |
|
730
|
0 |
0 |
if (substr($str, $pos, length $substr) eq $substr) |
|
733
|
0 |
0 |
if (substr($str, $pos) =~ /\A ($Char::Earabic::q_char) /mosx) { } |
|
747
|
0 |
0 |
if (@_) { } |
|
749
|
0 |
0 |
if (@_ and wantarray) { } |
|
772
|
0 |
0 |
if (@_) { } |
|
774
|
0 |
0 |
if (@_ and wantarray) { } |
|
775
|
0 |
0 |
defined $lc{$_} ? : |
|
778
|
0 |
0 |
defined $lc{$_} ? : |
|
791
|
0 |
0 |
defined $lc{$_} ? : |
|
798
|
0 |
0 |
if (@_) { } |
|
800
|
0 |
0 |
if (@_ and wantarray) { } |
|
823
|
0 |
0 |
if (@_) { } |
|
825
|
0 |
0 |
if (@_ and wantarray) { } |
|
826
|
0 |
0 |
defined $uc{$_} ? : |
|
829
|
0 |
0 |
defined $uc{$_} ? : |
|
842
|
0 |
0 |
defined $uc{$_} ? : |
|
849
|
0 |
0 |
if (@_) { } |
|
851
|
0 |
0 |
if (@_ and wantarray) { } |
|
852
|
0 |
0 |
defined $fc{$_} ? : |
|
855
|
0 |
0 |
defined $fc{$_} ? : |
|
868
|
0 |
0 |
defined $fc{$_} ? : |
|
899
|
0 |
0 |
unless defined $char[$i] |
|
902
|
0 |
0 |
if ($char[$i] eq '[') { } |
|
|
0 |
0 |
elsif ($char[$i] eq '[^') { } |
|
|
0 |
0 |
elsif (my $char = classic_character_class($char[$i])) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A [\x00-\xFF] \z/mosx) { } |
|
907
|
0 |
0 |
if ($char[$i + 1] eq ']') |
|
912
|
0 |
0 |
if (++$i > $#char) |
|
915
|
0 |
0 |
if ($char[$i] eq ']') |
|
921
|
0 |
0 |
if (do {
$char =~ /\A [.|)] \z/mosx
}) |
|
944
|
0 |
0 |
if ($char[$i + 1] eq ']') |
|
949
|
0 |
0 |
if (++$i > $#char) |
|
952
|
0 |
0 |
if ($char[$i] eq ']') |
|
958
|
0 |
0 |
if (do {
$char =~ /\A [.|)] \z/mosx
}) |
|
984
|
0 |
0 |
if ($uc ne $fc) |
|
985
|
0 |
0 |
if (length $fc == 1) { } |
|
997
|
0 |
0 |
unless defined $char[$i] |
|
999
|
0 |
0 |
if (do {
$char[$i] =~ /\A [\?\+\*\{] \z/mosx if $i >= 1
}) |
|
1003
|
0 |
0 |
if $i >= 1 |
|
1004
|
0 |
0 |
unless ($char[$i - 1] =~ /\A [\x00-\xFF] \z/mosx) |
|
1108
|
0 |
0 |
if (@chars1) |
|
1111
|
0 |
0 |
if (exists $range_tr{1}) |
|
1125
|
0 |
0 |
if (@chars2) |
|
1128
|
0 |
0 |
if (exists $range_tr{2}) |
|
1144
|
0 |
0 |
if (@chars3) |
|
1147
|
0 |
0 |
if (exists $range_tr{3}) |
|
1165
|
0 |
0 |
if (@chars4) |
|
1168
|
0 |
0 |
if (exists $range_tr{4}) |
|
1195
|
0 |
0 |
if (/\G (\\0?55|\\x2[Dd]|\\-) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G \\ ([0-7]{2,3}) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G \\x ([0-9A-Fa-f]{1,2}) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G \\c ([\x40-\x5F]) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G (\\ [0nrtfbae]) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G \\ ($Char::Earabic::q_char) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G ($Char::Earabic::q_char) /cgmosx) { } |
|
1233
|
0 |
0 |
if ($char[$i] eq '\\-') { } |
|
|
0 |
0 |
elsif ($char[$i] eq '-') { } |
|
1237
|
0 |
0 |
if (0 < $i and $i < $#char) |
|
1248
|
0 |
0 |
if (length $char[$i - 1] > length $char[$i + 1] or $char[$i - 1] gt $char[$i + 1]) |
|
1253
|
0 |
0 |
if (length $char[$i - 1] == 1) { } |
|
|
0 |
0 |
elsif (length $char[$i - 1] == 2) { } |
|
|
0 |
0 |
elsif (length $char[$i - 1] == 3) { } |
|
|
0 |
0 |
elsif (length $char[$i - 1] == 4) { } |
|
1254
|
0 |
0 |
if (length $char[$i + 1] == 1) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 2) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 3) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
|
1255
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1277
|
0 |
0 |
if (length $char[$i + 1] == 2) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 3) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
|
1278
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1294
|
0 |
0 |
if (length $char[$i + 1] == 3) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
|
1295
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1306
|
0 |
0 |
if (length $char[$i + 1] == 4) { } |
|
1307
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1327
|
0 |
0 |
if (scalar @_ == 0) { } |
|
|
0 |
0 |
elsif (scalar @_ == 1) { } |
|
|
0 |
0 |
elsif (scalar @_ == 2) { } |
|
1334
|
0 |
0 |
if ($_[0] > $_[1]) { } |
|
|
0 |
0 |
elsif ($_[0] == $_[1]) { } |
|
|
0 |
0 |
elsif ($_[0] + 1 == $_[1]) { } |
|
1358
|
0 |
0 |
if ($length == 1) { } |
|
1362
|
0 |
0 |
if ($a1 > $z1) |
|
1366
|
0 |
0 |
if ($a1 == $z1) { } |
|
|
0 |
0 |
elsif ($a1 + 1 == $z1) { } |
|
1388
|
0 |
0 |
unless (exists $range_tr{$length}) |
|
1405
|
0 |
0 |
if ($max lt $first) { } |
|
|
0 |
0 |
elsif ($min le $first and $first le $max and $max le $last) { } |
|
|
0 |
0 |
elsif ($min eq $first and $max eq $last) { } |
|
|
0 |
0 |
elsif ($first le $min and $max le $last) { } |
|
|
0 |
0 |
elsif ($min le $first and $last le $max) { } |
|
|
0 |
0 |
elsif ($first le $min and $min le $last and $last le $max) { } |
|
|
0 |
0 |
elsif ($last lt $min) { } |
|
1476
|
0 |
0 |
$modifier =~ /i/mosx ? : |
|
1482
|
0 |
0 |
if ($char[$i] eq '-') { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\o \{ ([0-7]+) \} \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\x \{ ([0-9A-Fa-f]+) \} \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\ (N) ( \{ ([^0-9\}][^\}]*) \} ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\ (p) ( \{ ([^0-9\}][^\}]*) \} ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\ (P) ( \{ ([^0-9\}][^\}]*) \} ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\ ( [pPX] ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\ ([0-7]{2,3}) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\x ([0-9A-Fa-f]{1,2}) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\c ([\x40-\x5F]) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A (\\ [0nrtfbaedswDSWHVhvR]) \z/mosx) { } |
|
|
0 |
0 |
elsif ($ignorecase and $char[$i] =~ /\A ( \[\: \^? (?:lower|upper) :\] ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A ( \[\: \^? (?:alnum|alpha|ascii|blank|cntrl|digit|graph|lower|print|punct|space|upper|word|xdigit) :\] ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A \\ ($Char::Earabic::q_char) \z/mosx) { } |
|
1483
|
0 |
0 |
if (0 < $i and $i < $#char) |
|
1631
|
0 |
0 |
if (defined $char[$i + 1] and $char[$i + 1] eq '...') { } |
|
|
0 |
0 |
elsif ($char[$i] eq '...') { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A [\x00-\xFF] \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A (?: \\h ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A (?: \\v ) \z/mosx) { } |
|
|
0 |
0 |
elsif ($char[$i] =~ /\A (?: \\d | \\s | \\w ) \z/mosx) { } |
|
1640
|
0 |
0 |
if (length $char[$i - 1] > length $char[$i + 1]) { } |
|
|
0 |
0 |
elsif (length $char[$i - 1] == length $char[$i + 1]) { } |
|
1644
|
0 |
0 |
if ($char[$i - 1] gt $char[$i + 1]) |
|
1654
|
0 |
0 |
if ($length == length $char[$i - 1] and $length == length $char[$i + 1]) { } |
|
|
0 |
0 |
elsif ($length == length $char[$i - 1]) { } |
|
|
0 |
0 |
elsif (length $char[$i - 1] < $length and $length < length $char[$i + 1]) { } |
|
|
0 |
0 |
elsif ($length == length $char[$i + 1]) { } |
|
1677
|
0 |
0 |
if ($length == 1) { } |
|
1690
|
0 |
0 |
if ($modifier =~ /i/mosx) { } |
|
1693
|
0 |
0 |
if ($uc ne $fc) { } |
|
1694
|
0 |
0 |
if (length $fc == 1) { } |
|
1735
|
0 |
0 |
if ($_ eq '...') { } |
|
|
0 |
0 |
elsif (/\A \n \z/mosx) { } |
|
|
0 |
0 |
elsif (/\A \r \z/mosx) { } |
|
|
0 |
0 |
elsif (/\A ([\x00-\x20\x7F-\xFF]) \z/mosx) { } |
|
|
0 |
0 |
elsif (/\A [\x00-\xFF] \z/mosx) { } |
|
1821
|
0 |
0 |
if (scalar @singleoctet >= 1) |
|
1824
|
0 |
0 |
if ($modifier =~ /i/mosx) |
|
1832
|
0 |
0 |
if ($uc eq $fc) { } |
|
1836
|
0 |
0 |
if (length $fc == 1) { } |
|
1847
|
0 |
0 |
if ($_ ne '') |
|
1854
|
0 |
0 |
if (exists $singleoctet_ignorecase{$ord}) { } |
|
1863
|
0 |
0 |
if (ref $range) |
|
1864
|
0 |
0 |
if (scalar @{$range;} == 1) { } |
|
|
0 |
0 |
elsif (scalar @{$range;} == 2) { } |
|
1881
|
0 |
0 |
if (scalar @multipleoctet >= 2) { } |
|
1902
|
0 |
0 |
if ($modifier =~ /i/mosx) |
|
1910
|
0 |
0 |
if ($uc eq $fc) { } |
|
1914
|
0 |
0 |
if (length $fc == 1) { } |
|
1925
|
0 |
0 |
if ($_ ne '') |
|
1932
|
0 |
0 |
if (exists $singleoctet_ignorecase{$ord}) { } |
|
1941
|
0 |
0 |
if (ref $range) |
|
1942
|
0 |
0 |
if (scalar @{$range;} == 1) { } |
|
|
0 |
0 |
elsif (scalar @{$range;} == 2) { } |
|
1956
|
0 |
0 |
if (scalar @multipleoctet >= 1) { } |
|
1957
|
0 |
0 |
if (scalar @singleoctet >= 1) { } |
|
1969
|
0 |
0 |
if (scalar @singleoctet >= 1) { } |
|
2099
|
0 |
0 |
@_ ? : |
|
2101
|
0 |
0 |
if ($c == 0) { } |
|
2121
|
0 |
0 |
if ($c == 0) { } |
|
2139
|
0 |
0 |
if (wantarray) { } |
|
2158
|
0 |
0 |
if (wantarray) { } |
|
2186
|
0 |
0 |
unless defined $expr |
|
2197
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) { } |
|
2205
|
0 |
0 |
$1 ? : |
|
2209
|
0 |
0 |
unless defined $cxix |
|
2210
|
0 |
0 |
unless exists $iter{$cxix} |
|
2213
|
0 |
0 |
if ($iter{$cxix} == 0) |
|
2218
|
0 |
0 |
if (wantarray) { } |
|
2223
|
0 |
0 |
if ($iter{$cxix} = scalar @{$entries{$cxix};}) { } |
|
2246
|
0 |
0 |
unless defined $expr |
|
2247
|
0 |
0 |
if $expr eq '' |
|
2256
|
0 |
0 |
if ($expr =~ /\A " ((?:$Char::Earabic::q_char)*) " \z/mosx) |
|
2258
|
0 |
0 |
if ($cond eq 'd') { } |
|
2259
|
0 |
0 |
if (-d $expr) |
|
2264
|
0 |
0 |
if (-e $expr) |
|
2273
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) |
|
2274
|
0 |
0 |
if ($expr =~ s( \A ((?:[A-Za-z]:)?) ([^/\\]) )[$1./$2]mosx) |
|
2279
|
0 |
0 |
if (($head, $tail) = _parse_path($expr, $pathsep)) |
|
2280
|
0 |
0 |
if ($tail eq '') |
|
2284
|
0 |
0 |
if ($head =~ / \A (?:$Char::Earabic::q_char)*? [*?] /mosx) |
|
2285
|
0 |
0 |
if (@globdir = _do_glob('d', $head)) |
|
2290
|
0 |
0 |
if ($head eq '' or $head =~ /\A [A-Za-z]: \z/mosx) |
|
2297
|
0 |
0 |
unless ($expr =~ / \A (?:$Char::Earabic::q_char)*? [*?] /mosx) |
|
2298
|
0 |
0 |
if ($head eq '.') |
|
2301
|
0 |
0 |
if ($head ne '' and ($head =~ / \G ($Char::Earabic::q_char) /gmosx)[-1] ne $pathsep) |
|
2305
|
0 |
0 |
if ($cond eq 'd') { } |
|
2306
|
0 |
0 |
if (-d $head) |
|
2311
|
0 |
0 |
if (-e $head) |
|
2317
|
0 |
0 |
unless opendir *DIR, $head |
|
2321
|
0 |
0 |
if ($head eq '.') |
|
2324
|
0 |
0 |
if ($head ne '' and ($head =~ / \G ($Char::Earabic::q_char) /gmosx)[-1] ne $pathsep) |
|
2337
|
0 |
0 |
if ($char eq '*') { } |
|
|
0 |
0 |
elsif ($char eq '?') { } |
|
|
0 |
0 |
elsif ((my $fc = fc($char)) ne $char) { } |
|
2360
|
0 |
0 |
if ($leaf eq '.' or $leaf eq '..') |
|
2363
|
0 |
0 |
if ($cond eq 'd' and not -d "$head$leaf") |
|
2367
|
0 |
0 |
if (&$matchsub($leaf)) |
|
2375
|
0 |
0 |
if (index($leaf, '.') == -1 and length $leaf <= 8 and index($pattern, '\\.') != -1) |
|
2379
|
0 |
0 |
if (&$matchsub("$leaf.")) |
|
2385
|
0 |
0 |
if (@matched) |
|
2389
|
0 |
0 |
if ($fix_drive_relative_paths) |
|
2411
|
0 |
0 |
defined $1 ? : |
|
2445
|
0 |
0 |
if (exists $ENV{'HOME'} and $ENV{'HOME'}) { } |
|
|
0 |
0 |
elsif (exists $ENV{'USERPROFILE'} and $ENV{'USERPROFILE'}) { } |
|
|
0 |
0 |
elsif (exists $ENV{'HOMEDRIVE'} and exists $ENV{'HOMEPATH'} and $ENV{'HOMEDRIVE'} and $ENV{'HOMEPATH'}) { } |
|
2468
|
0 |
0 |
if (exists $ENV{'HOME'} and defined $ENV{'HOME'}) { } |
|
|
0 |
0 |
elsif (exists $ENV{'LOGDIR'} and $ENV{'LOGDIR'}) { } |
|
2487
|
0 |
0 |
if (defined $home and not -d $home) |
|
2519
|
0 |
0 |
if @_ |
|
2521
|
0 |
0 |
if (/\A ($Char::Earabic::q_char) /mosx) { } |
|
2539
|
0 |
0 |
if (/\A ($Char::Earabic::q_char) /mosx) { } |
|
2557
|
0 |
0 |
if (wantarray) { } |
|
2577
|
0 |
0 |
@_ ? : |
|
2578
|
0 |
0 |
if @_ and not wantarray |
|
2584
|
0 |
0 |
if (exists $range_tr{length $getc}) |
|
2585
|
0 |
0 |
if ($getc =~ /\A $Char::Earabic::dot_s \z/mosx) |
|
2586
|
0 |
0 |
wantarray ? : |
|
2590
|
0 |
0 |
wantarray ? : |
|
2598
|
0 |
0 |
if @_ |
|
2621
|
176 |
0 |
$] >= 5.014 ? : |
|
|
0 |
0 |
if ($offset > scalar @char or $offset < -1 * scalar(@char)) |
|
|
0 |
0 |
if ($offset == 0) { } |
|
|
0 |
0 |
elsif ($offset > 0) { } |
|
|
0 |
0 |
if ($length == 0) { } |
|
|
0 |
0 |
elsif ($length > 0) { } |
|
|
0 |
0 |
if ($offset == 0) { } |
|
|
0 |
0 |
elsif ($offset > 0) { } |
|
|
0 |
0 |
if (@_ == 4) { } |
|
|
0 |
0 |
elsif (@_ == 3) { } |
|
2701
|
0 |
0 |
if (@_ == 3) { } |
|
2708
|
0 |
0 |
if ($index == -1) { } |
|
2722
|
0 |
0 |
if (@_ == 3) { } |
|
2729
|
0 |
0 |
if ($rindex == -1) { } |