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
}
}) |
290
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) |
295
|
0 |
0 |
if (/\A (?:$Char::Ekoi8r::q_char)*? [ ] /mosx) { } |
|
0 |
0 |
elsif (/\A (?:$Char::Ekoi8r::q_char)*? [*?] /mosx) { } |
296
|
0 |
0 |
if (my(@glob) = glob(qq["$_"])) { } |
306
|
0 |
0 |
if (my(@glob) = glob $_) { } |
502
|
0 |
0 |
unless (defined $pattern) |
507
|
0 |
0 |
unless (defined $string) |
508
|
0 |
0 |
if (defined $_) { } |
519
|
0 |
0 |
if ($string eq '') { } |
|
0 |
0 |
elsif ($pattern eq ' ') { } |
522
|
0 |
0 |
if (wantarray) { } |
528
|
0 |
0 |
if $^W |
546
|
0 |
0 |
if (not defined $limit) { } |
555
|
0 |
0 |
if (not defined $limit or $limit <= 0) { } |
|
0 |
0 |
elsif ($limit > 0) { } |
562
|
0 |
0 |
if ('' =~ / \A $pattern \z /msx) { } |
601
|
0 |
0 |
if ('' =~ / \A $pattern \z /msx) { } |
606
|
0 |
0 |
if ($string =~ s/\A((?:$Char::Ekoi8r::q_char)+?)$pattern//m) |
619
|
0 |
0 |
if ($string =~ s/\A((?:$Char::Ekoi8r::q_char)*?)$pattern//m) |
629
|
0 |
0 |
if (length $string > 0) |
634
|
0 |
0 |
if (not defined $_[2] or $_[2] == 0) |
641
|
0 |
0 |
if (wantarray) { } |
647
|
0 |
0 |
if $^W |
663
|
0 |
0 |
if ($pattern =~ /\(\?\^? ([\-A-Za-z]+) :/mosx) |
670
|
0 |
0 |
if ($modifier =~ /x/mosx) { } |
703
|
0 |
0 |
if ($modifier =~ /r/mosx) |
704
|
0 |
0 |
if ($bind_operator =~ / !~ /mosx) |
715
|
0 |
0 |
unless (exists $tr{$searchlist[$i]}) |
716
|
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 '') { } |
733
|
0 |
0 |
if ($modifier =~ /c/mosx) { } |
735
|
0 |
0 |
if (not exists $tr{$char}) { } |
736
|
0 |
0 |
if (defined $replacementlist[0]) |
740
|
0 |
0 |
if ($modifier =~ /s/mosx) |
754
|
0 |
0 |
if (exists $tr{$char}) { } |
757
|
0 |
0 |
if ($modifier =~ /s/mosx) |
770
|
0 |
0 |
if ($modifier =~ /r/mosx) { } |
775
|
0 |
0 |
if ($bind_operator =~ / !~ /mosx) { } |
790
|
0 |
0 |
if (@_ == 0) { } |
815
|
0 |
0 |
if (substr($str, $pos, length $substr) eq $substr) |
816
|
0 |
0 |
if ($pos >= $position) |
820
|
0 |
0 |
if (substr($str, $pos) =~ /\A ($Char::Ekoi8r::q_char) /mosx) { } |
841
|
0 |
0 |
if (substr($str, $pos, length $substr) eq $substr) |
844
|
0 |
0 |
if (substr($str, $pos) =~ /\A ($Char::Ekoi8r::q_char) /mosx) { } |
858
|
0 |
0 |
if (@_) { } |
860
|
0 |
0 |
if (@_ and wantarray) { } |
883
|
0 |
0 |
if (@_) { } |
885
|
0 |
0 |
if (@_ and wantarray) { } |
886
|
0 |
0 |
defined $lc{$_} ? : |
889
|
0 |
0 |
defined $lc{$_} ? : |
902
|
0 |
0 |
defined $lc{$_} ? : |
909
|
0 |
0 |
if (@_) { } |
911
|
0 |
0 |
if (@_ and wantarray) { } |
934
|
0 |
0 |
if (@_) { } |
936
|
0 |
0 |
if (@_ and wantarray) { } |
937
|
0 |
0 |
defined $uc{$_} ? : |
940
|
0 |
0 |
defined $uc{$_} ? : |
953
|
0 |
0 |
defined $uc{$_} ? : |
960
|
0 |
0 |
if (@_) { } |
962
|
0 |
0 |
if (@_ and wantarray) { } |
963
|
0 |
0 |
defined $fc{$_} ? : |
966
|
0 |
0 |
defined $fc{$_} ? : |
979
|
0 |
0 |
defined $fc{$_} ? : |
1010
|
0 |
0 |
unless defined $char[$i] |
1013
|
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) { } |
1018
|
0 |
0 |
if ($char[$i + 1] eq ']') |
1023
|
0 |
0 |
if (++$i > $#char) |
1026
|
0 |
0 |
if ($char[$i] eq ']') |
1032
|
0 |
0 |
if (do {
$char =~ /\A [.|)] \z/mosx
}) |
1055
|
0 |
0 |
if ($char[$i + 1] eq ']') |
1060
|
0 |
0 |
if (++$i > $#char) |
1063
|
0 |
0 |
if ($char[$i] eq ']') |
1069
|
0 |
0 |
if (do {
$char =~ /\A [.|)] \z/mosx
}) |
1095
|
0 |
0 |
if ($uc ne $fc) |
1096
|
0 |
0 |
if (length $fc == 1) { } |
1108
|
0 |
0 |
unless defined $char[$i] |
1110
|
0 |
0 |
if (do {
$char[$i] =~ /\A [\?\+\*\{] \z/mosx if $i >= 1
}) |
1114
|
0 |
0 |
if $i >= 1 |
1115
|
0 |
0 |
unless ($char[$i - 1] =~ /\A [\x00-\xFF] \z/mosx) |
1219
|
0 |
0 |
if (@chars1) |
1222
|
0 |
0 |
if (exists $range_tr{1}) |
1236
|
0 |
0 |
if (@chars2) |
1239
|
0 |
0 |
if (exists $range_tr{2}) |
1255
|
0 |
0 |
if (@chars3) |
1258
|
0 |
0 |
if (exists $range_tr{3}) |
1276
|
0 |
0 |
if (@chars4) |
1279
|
0 |
0 |
if (exists $range_tr{4}) |
1306
|
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::Ekoi8r::q_char) /cgmosx) { } |
|
0 |
0 |
elsif (/\G ($Char::Ekoi8r::q_char) /cgmosx) { } |
1344
|
0 |
0 |
if ($char[$i] eq '\\-') { } |
|
0 |
0 |
elsif ($char[$i] eq '-') { } |
1348
|
0 |
0 |
if (0 < $i and $i < $#char) |
1359
|
0 |
0 |
if (length $char[$i - 1] > length $char[$i + 1] or $char[$i - 1] gt $char[$i + 1]) |
1364
|
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) { } |
1365
|
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) { } |
1366
|
0 |
0 |
if $char[$i - 1] le $_ |
1388
|
0 |
0 |
if (length $char[$i + 1] == 2) { } |
|
0 |
0 |
elsif (length $char[$i + 1] == 3) { } |
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
1389
|
0 |
0 |
if $char[$i - 1] le $_ |
1405
|
0 |
0 |
if (length $char[$i + 1] == 3) { } |
|
0 |
0 |
elsif (length $char[$i + 1] == 4) { } |
1406
|
0 |
0 |
if $char[$i - 1] le $_ |
1417
|
0 |
0 |
if (length $char[$i + 1] == 4) { } |
1418
|
0 |
0 |
if $char[$i - 1] le $_ |
1438
|
0 |
0 |
if (scalar @_ == 0) { } |
|
0 |
0 |
elsif (scalar @_ == 1) { } |
|
0 |
0 |
elsif (scalar @_ == 2) { } |
1445
|
0 |
0 |
if ($_[0] > $_[1]) { } |
|
0 |
0 |
elsif ($_[0] == $_[1]) { } |
|
0 |
0 |
elsif ($_[0] + 1 == $_[1]) { } |
1469
|
0 |
0 |
if ($length == 1) { } |
1473
|
0 |
0 |
if ($a1 > $z1) |
1477
|
0 |
0 |
if ($a1 == $z1) { } |
|
0 |
0 |
elsif ($a1 + 1 == $z1) { } |
1499
|
0 |
0 |
unless (exists $range_tr{$length}) |
1516
|
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) { } |
1587
|
0 |
0 |
$modifier =~ /i/mosx ? : |
1593
|
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::Ekoi8r::q_char) \z/mosx) { } |
1594
|
0 |
0 |
if (0 < $i and $i < $#char) |
1742
|
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) { } |
1751
|
0 |
0 |
if (length $char[$i - 1] > length $char[$i + 1]) { } |
|
0 |
0 |
elsif (length $char[$i - 1] == length $char[$i + 1]) { } |
1755
|
0 |
0 |
if ($char[$i - 1] gt $char[$i + 1]) |
1765
|
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]) { } |
1788
|
0 |
0 |
if ($length == 1) { } |
1801
|
0 |
0 |
if ($modifier =~ /i/mosx) { } |
1804
|
0 |
0 |
if ($uc ne $fc) { } |
1805
|
0 |
0 |
if (length $fc == 1) { } |
1846
|
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) { } |
1932
|
0 |
0 |
if (scalar @singleoctet >= 1) |
1935
|
0 |
0 |
if ($modifier =~ /i/mosx) |
1943
|
0 |
0 |
if ($uc eq $fc) { } |
1947
|
0 |
0 |
if (length $fc == 1) { } |
1958
|
0 |
0 |
if ($_ ne '') |
1965
|
0 |
0 |
if (exists $singleoctet_ignorecase{$ord}) { } |
1974
|
0 |
0 |
if (ref $range) |
1975
|
0 |
0 |
if (scalar @{$range;} == 1) { } |
|
0 |
0 |
elsif (scalar @{$range;} == 2) { } |
1992
|
0 |
0 |
if (scalar @multipleoctet >= 2) { } |
2013
|
0 |
0 |
if ($modifier =~ /i/mosx) |
2021
|
0 |
0 |
if ($uc eq $fc) { } |
2025
|
0 |
0 |
if (length $fc == 1) { } |
2036
|
0 |
0 |
if ($_ ne '') |
2043
|
0 |
0 |
if (exists $singleoctet_ignorecase{$ord}) { } |
2052
|
0 |
0 |
if (ref $range) |
2053
|
0 |
0 |
if (scalar @{$range;} == 1) { } |
|
0 |
0 |
elsif (scalar @{$range;} == 2) { } |
2067
|
0 |
0 |
if (scalar @multipleoctet >= 1) { } |
2068
|
0 |
0 |
if (scalar @singleoctet >= 1) { } |
2080
|
0 |
0 |
if (scalar @singleoctet >= 1) { } |
2210
|
0 |
0 |
@_ ? : |
2212
|
0 |
0 |
if ($c == 0) { } |
2232
|
0 |
0 |
if ($c == 0) { } |
2250
|
0 |
0 |
if (wantarray) { } |
2269
|
0 |
0 |
if (wantarray) { } |
2297
|
0 |
0 |
unless defined $expr |
2308
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) { } |
2316
|
0 |
0 |
$1 ? : |
2320
|
0 |
0 |
unless defined $cxix |
2321
|
0 |
0 |
unless exists $iter{$cxix} |
2324
|
0 |
0 |
if ($iter{$cxix} == 0) |
2329
|
0 |
0 |
if (wantarray) { } |
2334
|
0 |
0 |
if ($iter{$cxix} = scalar @{$entries{$cxix};}) { } |
2357
|
0 |
0 |
unless defined $expr |
2358
|
0 |
0 |
if $expr eq '' |
2367
|
0 |
0 |
if ($expr =~ /\A " ((?:$Char::Ekoi8r::q_char)*) " \z/mosx) |
2369
|
0 |
0 |
if ($cond eq 'd') { } |
2370
|
0 |
0 |
if (-d $expr) |
2375
|
0 |
0 |
if (-e $expr) |
2384
|
0 |
0 |
if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) |
2385
|
0 |
0 |
if ($expr =~ s( \A ((?:[A-Za-z]:)?) ([^/\\]) )[$1./$2]mosx) |
2390
|
0 |
0 |
if (($head, $tail) = _parse_path($expr, $pathsep)) |
2391
|
0 |
0 |
if ($tail eq '') |
2395
|
0 |
0 |
if ($head =~ / \A (?:$Char::Ekoi8r::q_char)*? [*?] /mosx) |
2396
|
0 |
0 |
if (@globdir = _do_glob('d', $head)) |
2401
|
0 |
0 |
if ($head eq '' or $head =~ /\A [A-Za-z]: \z/mosx) |
2408
|
0 |
0 |
unless ($expr =~ / \A (?:$Char::Ekoi8r::q_char)*? [*?] /mosx) |
2409
|
0 |
0 |
if ($head eq '.') |
2412
|
0 |
0 |
if ($head ne '' and ($head =~ / \G ($Char::Ekoi8r::q_char) /gmosx)[-1] ne $pathsep) |
2416
|
0 |
0 |
if ($cond eq 'd') { } |
2417
|
0 |
0 |
if (-d $head) |
2422
|
0 |
0 |
if (-e $head) |
2428
|
0 |
0 |
unless opendir *DIR, $head |
2432
|
0 |
0 |
if ($head eq '.') |
2435
|
0 |
0 |
if ($head ne '' and ($head =~ / \G ($Char::Ekoi8r::q_char) /gmosx)[-1] ne $pathsep) |
2448
|
0 |
0 |
if ($char eq '*') { } |
|
0 |
0 |
elsif ($char eq '?') { } |
|
0 |
0 |
elsif ((my $fc = fc($char)) ne $char) { } |
2471
|
0 |
0 |
if ($leaf eq '.' or $leaf eq '..') |
2474
|
0 |
0 |
if ($cond eq 'd' and not -d "$head$leaf") |
2478
|
0 |
0 |
if (&$matchsub($leaf)) |
2486
|
0 |
0 |
if (index($leaf, '.') == -1 and length $leaf <= 8 and index($pattern, '\\.') != -1) |
2490
|
0 |
0 |
if (&$matchsub("$leaf.")) |
2496
|
0 |
0 |
if (@matched) |
2500
|
0 |
0 |
if ($fix_drive_relative_paths) |
2522
|
0 |
0 |
defined $1 ? : |
2556
|
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'}) { } |
2579
|
0 |
0 |
if (exists $ENV{'HOME'} and defined $ENV{'HOME'}) { } |
|
0 |
0 |
elsif (exists $ENV{'LOGDIR'} and $ENV{'LOGDIR'}) { } |
2598
|
0 |
0 |
if (defined $home and not -d $home) |
2630
|
0 |
0 |
if @_ |
2632
|
0 |
0 |
if (/\A ($Char::Ekoi8r::q_char) /mosx) { } |
2650
|
0 |
0 |
if (/\A ($Char::Ekoi8r::q_char) /mosx) { } |
2668
|
0 |
0 |
if (wantarray) { } |
2688
|
0 |
0 |
@_ ? : |
2689
|
0 |
0 |
if @_ and not wantarray |
2695
|
0 |
0 |
if (exists $range_tr{length $getc}) |
2696
|
0 |
0 |
if ($getc =~ /\A $Char::Ekoi8r::dot_s \z/mosx) |
2697
|
0 |
0 |
wantarray ? : |
2701
|
0 |
0 |
wantarray ? : |
2709
|
0 |
0 |
if @_ |
2732
|
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) { } |
2812
|
0 |
0 |
if (@_ == 3) { } |
2819
|
0 |
0 |
if ($index == -1) { } |
2833
|
0 |
0 |
if (@_ == 3) { } |
2840
|
0 |
0 |
if ($rindex == -1) { } |