| line |
true |
false |
branch |
|
26
|
0 |
177 |
if ($^X =~ / jperl /imosx) |
|
49
|
0 |
177 |
if ($@) |
|
76
|
0 |
0 |
if (not ref $name and &index($name, '::') == -1 and &index($name, q[']) == -1) |
|
81
|
0 |
0 |
if ($name =~ /^(([^a-z])|(\^[a-z_]+))\z/i or $global{$name}) { } |
|
87
|
0 |
0 |
@_ > 1 ? : |
|
98
|
0 |
0 |
@_ > 1 ? : |
|
109
|
177 |
0 |
if (eval {
do {
local $@;
CORE::require strict
}
}) |
|
302
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) |
|
307
|
0 |
0 |
if (/\A (?:$Char::Ekoi8u::q_char)*? [ ] /mosx) { } |
|
|
0 |
0 |
elsif (/\A (?:$Char::Ekoi8u::q_char)*? [*?] /mosx) { } |
|
308
|
0 |
0 |
if (my(@glob) = glob(qq["$_"])) { } |
|
318
|
0 |
0 |
if (my(@glob) = glob $_) { } |
|
514
|
0 |
0 |
unless (defined $pattern) |
|
519
|
0 |
0 |
unless (defined $string) |
|
520
|
0 |
0 |
if (defined $_) { } |
|
531
|
0 |
0 |
if ($string eq '') { } |
|
|
0 |
0 |
elsif ($pattern eq ' ') { } |
|
534
|
0 |
0 |
if (wantarray) { } |
|
540
|
0 |
0 |
if $^W |
|
558
|
0 |
0 |
if (not defined $limit) { } |
|
567
|
0 |
0 |
if (not defined $limit or $limit <= 0) { } |
|
|
0 |
0 |
elsif ($limit > 0) { } |
|
574
|
0 |
0 |
if ('' =~ / \A $pattern \z /msx) { } |
|
613
|
0 |
0 |
if ('' =~ / \A $pattern \z /msx) { } |
|
618
|
0 |
0 |
if ($string =~ s/\A((?:$Char::Ekoi8u::q_char)+?)$pattern//m) |
|
631
|
0 |
0 |
if ($string =~ s/\A((?:$Char::Ekoi8u::q_char)*?)$pattern//m) |
|
641
|
0 |
0 |
if (length $string > 0) |
|
646
|
0 |
0 |
if (not defined $_[2] or $_[2] == 0) |
|
653
|
0 |
0 |
if (wantarray) { } |
|
659
|
0 |
0 |
if $^W |
|
675
|
0 |
0 |
if ($pattern =~ /\(\?\^? ([\-A-Za-z]+) :/mosx) |
|
682
|
0 |
0 |
if ($modifier =~ /x/mosx) { } |
|
715
|
0 |
0 |
if ($modifier =~ /r/mosx) |
|
716
|
0 |
0 |
if ($bind_operator =~ / !~ /mosx) |
|
727
|
0 |
0 |
unless (exists $tr{$searchlist[$i]}) |
|
728
|
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 '') { } |
|
745
|
0 |
0 |
if ($modifier =~ /c/mosx) { } |
|
747
|
0 |
0 |
if (not exists $tr{$char}) { } |
|
748
|
0 |
0 |
if (defined $replacementlist[0]) |
|
752
|
0 |
0 |
if ($modifier =~ /s/mosx) |
|
766
|
0 |
0 |
if (exists $tr{$char}) { } |
|
769
|
0 |
0 |
if ($modifier =~ /s/mosx) |
|
782
|
0 |
0 |
if ($modifier =~ /r/mosx) { } |
|
787
|
0 |
0 |
if ($bind_operator =~ / !~ /mosx) { } |
|
802
|
0 |
0 |
if (@_ == 0) { } |
|
827
|
0 |
0 |
if (substr($str, $pos, length $substr) eq $substr) |
|
828
|
0 |
0 |
if ($pos >= $position) |
|
832
|
0 |
0 |
if (substr($str, $pos) =~ /\A ($Char::Ekoi8u::q_char) /mosx) { } |
|
853
|
0 |
0 |
if (substr($str, $pos, length $substr) eq $substr) |
|
856
|
0 |
0 |
if (substr($str, $pos) =~ /\A ($Char::Ekoi8u::q_char) /mosx) { } |
|
870
|
0 |
0 |
if (@_) { } |
|
872
|
0 |
0 |
if (@_ and wantarray) { } |
|
895
|
0 |
0 |
if (@_) { } |
|
897
|
0 |
0 |
if (@_ and wantarray) { } |
|
898
|
0 |
0 |
defined $lc{$_} ? : |
|
901
|
0 |
0 |
defined $lc{$_} ? : |
|
914
|
0 |
0 |
defined $lc{$_} ? : |
|
921
|
0 |
0 |
if (@_) { } |
|
923
|
0 |
0 |
if (@_ and wantarray) { } |
|
946
|
0 |
0 |
if (@_) { } |
|
948
|
0 |
0 |
if (@_ and wantarray) { } |
|
949
|
0 |
0 |
defined $uc{$_} ? : |
|
952
|
0 |
0 |
defined $uc{$_} ? : |
|
965
|
0 |
0 |
defined $uc{$_} ? : |
|
972
|
0 |
0 |
if (@_) { } |
|
974
|
0 |
0 |
if (@_ and wantarray) { } |
|
975
|
0 |
0 |
defined $fc{$_} ? : |
|
978
|
0 |
0 |
defined $fc{$_} ? : |
|
991
|
0 |
0 |
defined $fc{$_} ? : |
|
1022
|
0 |
0 |
unless defined $char[$i] |
|
1025
|
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) { } |
|
1030
|
0 |
0 |
if ($char[$i + 1] eq ']') |
|
1035
|
0 |
0 |
if (++$i > $#char) |
|
1038
|
0 |
0 |
if ($char[$i] eq ']') |
|
1044
|
0 |
0 |
if (do {
$char =~ /\A [.|)] \z/mosx
}) |
|
1067
|
0 |
0 |
if ($char[$i + 1] eq ']') |
|
1072
|
0 |
0 |
if (++$i > $#char) |
|
1075
|
0 |
0 |
if ($char[$i] eq ']') |
|
1081
|
0 |
0 |
if (do {
$char =~ /\A [.|)] \z/mosx
}) |
|
1107
|
0 |
0 |
if ($uc ne $fc) |
|
1108
|
0 |
0 |
if (length $fc == 1) { } |
|
1120
|
0 |
0 |
unless defined $char[$i] |
|
1122
|
0 |
0 |
if (do {
$char[$i] =~ /\A [\?\+\*\{] \z/mosx if $i >= 1
}) |
|
1126
|
0 |
0 |
if $i >= 1 |
|
1127
|
0 |
0 |
unless ($char[$i - 1] =~ /\A [\x00-\xFF] \z/mosx) |
|
1231
|
0 |
0 |
if (@chars1) |
|
1234
|
0 |
0 |
if (exists $range_tr{1}) |
|
1248
|
0 |
0 |
if (@chars2) |
|
1251
|
0 |
0 |
if (exists $range_tr{2}) |
|
1267
|
0 |
0 |
if (@chars3) |
|
1270
|
0 |
0 |
if (exists $range_tr{3}) |
|
1288
|
0 |
0 |
if (@chars4) |
|
1291
|
0 |
0 |
if (exists $range_tr{4}) |
|
1318
|
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::Ekoi8u::q_char) /cgmosx) { } |
|
|
0 |
0 |
elsif (/\G ($Char::Ekoi8u::q_char) /cgmosx) { } |
|
1356
|
0 |
0 |
if ($char[$i] eq '\\-') { } |
|
|
0 |
0 |
elsif ($char[$i] eq '-') { } |
|
1360
|
0 |
0 |
if (0 < $i and $i < $#char) |
|
1371
|
0 |
0 |
if (length $char[$i - 1] > length $char[$i + 1] or $char[$i - 1] gt $char[$i + 1]) |
|
1376
|
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) { } |
|
1377
|
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) { } |
|
1378
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1400
|
0 |
0 |
if (length $char[$i + 1] == 2) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 3) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
|
1401
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1417
|
0 |
0 |
if (length $char[$i + 1] == 3) { } |
|
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
|
1418
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1429
|
0 |
0 |
if (length $char[$i + 1] == 4) { } |
|
1430
|
0 |
0 |
if $char[$i - 1] le $_ |
|
1450
|
0 |
0 |
if (scalar @_ == 0) { } |
|
|
0 |
0 |
elsif (scalar @_ == 1) { } |
|
|
0 |
0 |
elsif (scalar @_ == 2) { } |
|
1457
|
0 |
0 |
if ($_[0] > $_[1]) { } |
|
|
0 |
0 |
elsif ($_[0] == $_[1]) { } |
|
|
0 |
0 |
elsif ($_[0] + 1 == $_[1]) { } |
|
1481
|
0 |
0 |
if ($length == 1) { } |
|
1485
|
0 |
0 |
if ($a1 > $z1) |
|
1489
|
0 |
0 |
if ($a1 == $z1) { } |
|
|
0 |
0 |
elsif ($a1 + 1 == $z1) { } |
|
1511
|
0 |
0 |
unless (exists $range_tr{$length}) |
|
1528
|
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) { } |
|
1599
|
0 |
0 |
$modifier =~ /i/mosx ? : |
|
1605
|
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::Ekoi8u::q_char) \z/mosx) { } |
|
1606
|
0 |
0 |
if (0 < $i and $i < $#char) |
|
1754
|
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) { } |
|
1763
|
0 |
0 |
if (length $char[$i - 1] > length $char[$i + 1]) { } |
|
|
0 |
0 |
elsif (length $char[$i - 1] == length $char[$i + 1]) { } |
|
1767
|
0 |
0 |
if ($char[$i - 1] gt $char[$i + 1]) |
|
1777
|
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]) { } |
|
1800
|
0 |
0 |
if ($length == 1) { } |
|
1813
|
0 |
0 |
if ($modifier =~ /i/mosx) { } |
|
1816
|
0 |
0 |
if ($uc ne $fc) { } |
|
1817
|
0 |
0 |
if (length $fc == 1) { } |
|
1858
|
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) { } |
|
1944
|
0 |
0 |
if (scalar @singleoctet >= 1) |
|
1947
|
0 |
0 |
if ($modifier =~ /i/mosx) |
|
1955
|
0 |
0 |
if ($uc eq $fc) { } |
|
1959
|
0 |
0 |
if (length $fc == 1) { } |
|
1970
|
0 |
0 |
if ($_ ne '') |
|
1977
|
0 |
0 |
if (exists $singleoctet_ignorecase{$ord}) { } |
|
1986
|
0 |
0 |
if (ref $range) |
|
1987
|
0 |
0 |
if (scalar @{$range;} == 1) { } |
|
|
0 |
0 |
elsif (scalar @{$range;} == 2) { } |
|
2004
|
0 |
0 |
if (scalar @multipleoctet >= 2) { } |
|
2025
|
0 |
0 |
if ($modifier =~ /i/mosx) |
|
2033
|
0 |
0 |
if ($uc eq $fc) { } |
|
2037
|
0 |
0 |
if (length $fc == 1) { } |
|
2048
|
0 |
0 |
if ($_ ne '') |
|
2055
|
0 |
0 |
if (exists $singleoctet_ignorecase{$ord}) { } |
|
2064
|
0 |
0 |
if (ref $range) |
|
2065
|
0 |
0 |
if (scalar @{$range;} == 1) { } |
|
|
0 |
0 |
elsif (scalar @{$range;} == 2) { } |
|
2079
|
0 |
0 |
if (scalar @multipleoctet >= 1) { } |
|
2080
|
0 |
0 |
if (scalar @singleoctet >= 1) { } |
|
2092
|
0 |
0 |
if (scalar @singleoctet >= 1) { } |
|
2222
|
0 |
0 |
@_ ? : |
|
2224
|
0 |
0 |
if ($c == 0) { } |
|
2244
|
0 |
0 |
if ($c == 0) { } |
|
2262
|
0 |
0 |
if (wantarray) { } |
|
2281
|
0 |
0 |
if (wantarray) { } |
|
2309
|
0 |
0 |
unless defined $expr |
|
2320
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) { } |
|
2328
|
0 |
0 |
$1 ? : |
|
2332
|
0 |
0 |
unless defined $cxix |
|
2333
|
0 |
0 |
unless exists $iter{$cxix} |
|
2336
|
0 |
0 |
if ($iter{$cxix} == 0) |
|
2341
|
0 |
0 |
if (wantarray) { } |
|
2346
|
0 |
0 |
if ($iter{$cxix} = scalar @{$entries{$cxix};}) { } |
|
2369
|
0 |
0 |
unless defined $expr |
|
2370
|
0 |
0 |
if $expr eq '' |
|
2379
|
0 |
0 |
if ($expr =~ /\A " ((?:$Char::Ekoi8u::q_char)*) " \z/mosx) |
|
2381
|
0 |
0 |
if ($cond eq 'd') { } |
|
2382
|
0 |
0 |
if (-d $expr) |
|
2387
|
0 |
0 |
if (-e $expr) |
|
2396
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) |
|
2397
|
0 |
0 |
if ($expr =~ s( \A ((?:[A-Za-z]:)?) ([^/\\]) )[$1./$2]mosx) |
|
2402
|
0 |
0 |
if (($head, $tail) = _parse_path($expr, $pathsep)) |
|
2403
|
0 |
0 |
if ($tail eq '') |
|
2407
|
0 |
0 |
if ($head =~ / \A (?:$Char::Ekoi8u::q_char)*? [*?] /mosx) |
|
2408
|
0 |
0 |
if (@globdir = _do_glob('d', $head)) |
|
2413
|
0 |
0 |
if ($head eq '' or $head =~ /\A [A-Za-z]: \z/mosx) |
|
2420
|
0 |
0 |
unless ($expr =~ / \A (?:$Char::Ekoi8u::q_char)*? [*?] /mosx) |
|
2421
|
0 |
0 |
if ($head eq '.') |
|
2424
|
0 |
0 |
if ($head ne '' and ($head =~ / \G ($Char::Ekoi8u::q_char) /gmosx)[-1] ne $pathsep) |
|
2428
|
0 |
0 |
if ($cond eq 'd') { } |
|
2429
|
0 |
0 |
if (-d $head) |
|
2434
|
0 |
0 |
if (-e $head) |
|
2440
|
0 |
0 |
unless opendir *DIR, $head |
|
2444
|
0 |
0 |
if ($head eq '.') |
|
2447
|
0 |
0 |
if ($head ne '' and ($head =~ / \G ($Char::Ekoi8u::q_char) /gmosx)[-1] ne $pathsep) |
|
2460
|
0 |
0 |
if ($char eq '*') { } |
|
|
0 |
0 |
elsif ($char eq '?') { } |
|
|
0 |
0 |
elsif ((my $fc = fc($char)) ne $char) { } |
|
2483
|
0 |
0 |
if ($leaf eq '.' or $leaf eq '..') |
|
2486
|
0 |
0 |
if ($cond eq 'd' and not -d "$head$leaf") |
|
2490
|
0 |
0 |
if (&$matchsub($leaf)) |
|
2498
|
0 |
0 |
if (index($leaf, '.') == -1 and length $leaf <= 8 and index($pattern, '\\.') != -1) |
|
2502
|
0 |
0 |
if (&$matchsub("$leaf.")) |
|
2508
|
0 |
0 |
if (@matched) |
|
2512
|
0 |
0 |
if ($fix_drive_relative_paths) |
|
2534
|
0 |
0 |
defined $1 ? : |
|
2568
|
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'}) { } |
|
2591
|
0 |
0 |
if (exists $ENV{'HOME'} and defined $ENV{'HOME'}) { } |
|
|
0 |
0 |
elsif (exists $ENV{'LOGDIR'} and $ENV{'LOGDIR'}) { } |
|
2610
|
0 |
0 |
if (defined $home and not -d $home) |
|
2642
|
0 |
0 |
if @_ |
|
2644
|
0 |
0 |
if (/\A ($Char::Ekoi8u::q_char) /mosx) { } |
|
2662
|
0 |
0 |
if (/\A ($Char::Ekoi8u::q_char) /mosx) { } |
|
2680
|
0 |
0 |
if (wantarray) { } |
|
2700
|
0 |
0 |
@_ ? : |
|
2701
|
0 |
0 |
if @_ and not wantarray |
|
2707
|
0 |
0 |
if (exists $range_tr{length $getc}) |
|
2708
|
0 |
0 |
if ($getc =~ /\A $Char::Ekoi8u::dot_s \z/mosx) |
|
2709
|
0 |
0 |
wantarray ? : |
|
2713
|
0 |
0 |
wantarray ? : |
|
2721
|
0 |
0 |
if @_ |
|
2744
|
177 |
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) { } |
|
2824
|
0 |
0 |
if (@_ == 3) { } |
|
2831
|
0 |
0 |
if ($index == -1) { } |
|
2845
|
0 |
0 |
if (@_ == 3) { } |
|
2852
|
0 |
0 |
if ($rindex == -1) { } |