line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::Backwards; |
2
|
|
|
|
|
|
|
our $VERSION = '0.02'; |
3
|
2
|
|
|
2
|
|
134627
|
use Keyword::Declare; |
|
2
|
|
|
|
|
248956
|
|
|
2
|
|
|
|
|
17
|
|
4
|
2
|
|
|
2
|
|
26
|
sub import { |
|
0
|
|
|
|
|
0
|
|
5
|
2
|
|
|
2
|
|
72503
|
keytype OKAY is m{(?:fisle (?&PerlNWS)(?&PerlExpression).*?;|esle (?&PerlNWS).*?;)?+}xms; |
|
2
|
|
|
|
|
4
|
|
6
|
0
|
50
|
50
|
3
|
|
0
|
keyword fi (Expr $test, /.+?;/ $code, OKAY @next) {_backwards('if', $test, $code)._process_backwards(@next);}; |
|
0
|
|
|
|
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
2
|
|
|
|
|
68
|
|
|
3
|
|
|
|
|
238231
|
|
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
48
|
|
7
|
0
|
50
|
50
|
1
|
|
0
|
keyword sselnu (Expr $test, /.+?;/ $code, OKAY @next) {_backwards('unless', $test, $code)._process_backwards(@next);}; |
|
0
|
|
|
|
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
2
|
|
|
|
|
12
|
|
|
3
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
20
|
|
|
1
|
|
|
|
|
80048
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
2
|
|
8
|
0
|
|
|
|
|
0
|
} |
|
0
|
|
|
|
|
0
|
|
|
3
|
|
|
|
|
65
|
|
|
2
|
|
|
|
|
11
|
|
|
1
|
|
|
|
|
4
|
|
9
|
0
|
|
|
4
|
|
0
|
sub _process_backwards {join' ',map{$_=~m/(fisle|esle)(.*)$/;return"_$1"->($2)}@_;} |
|
1
|
|
|
|
|
21
|
|
|
4
|
|
|
|
|
62
|
|
|
2
|
|
|
|
|
22
|
|
|
2
|
|
|
|
|
23
|
|
10
|
0
|
|
|
1
|
|
0
|
sub _esle {_backwards('else','',shift)} |
|
0
|
|
|
|
|
0
|
|
|
3
|
|
|
|
|
104
|
|
|
3
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
4
|
|
11
|
0
|
|
|
1
|
|
0
|
sub _fisle {shift=~m/\s*((?&PerlExpression))\s*(.*?;) $PPR::GRAMMAR/gxm;_backwards('elsif', $1, $2);} |
|
0
|
|
|
|
|
0
|
|
|
0
|
|
|
|
|
0
|
|
|
3
|
|
|
|
|
869
|
|
|
1
|
|
|
|
|
33
|
|
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
37938
|
|
|
1
|
|
|
|
|
87
|
|
12
|
0
|
|
|
6
|
|
0
|
sub _backwards {sprintf"%s %s { %s }",@_;} |
|
0
|
|
|
|
|
0
|
|
|
3
|
|
|
|
|
40
|
|
|
1
|
|
|
|
|
299
|
|
|
6
|
|
|
|
|
95
|
|
13
|
0
|
|
|
|
|
0
|
1; |
|
1
|
|
|
|
|
15
|
|
14
|
0
|
|
|
|
|
0
|
__END__ |