line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test_t; |
2
|
1
|
|
|
1
|
|
1748
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
4
|
1
|
|
|
1
|
|
5
|
use Data::Dumper; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
42
|
|
5
|
1
|
|
|
1
|
|
502
|
use HTML::WebDAO::Component; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use base 'HTML::WebDAO::Component'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub ___my_name { |
9
|
|
|
|
|
|
|
return "aaraer/aaa" |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub test_echo { |
13
|
|
|
|
|
|
|
my $self = shift; |
14
|
|
|
|
|
|
|
return @_ |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
#default method for methods call |
18
|
|
|
|
|
|
|
sub index_x { |
19
|
|
|
|
|
|
|
my $self = shift; |
20
|
|
|
|
|
|
|
return '2' |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub index_html { |
24
|
|
|
|
|
|
|
my $self = shift; |
25
|
|
|
|
|
|
|
return "aaaa" |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
sub test_resonse { |
28
|
|
|
|
|
|
|
my $self = shift; |
29
|
|
|
|
|
|
|
my $resonse = $self->response; |
30
|
|
|
|
|
|
|
$resonse->html = 'ok'; |
31
|
|
|
|
|
|
|
return $resonse |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
1; |