line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::Tabular::Type; |
2
|
7
|
|
|
7
|
|
49
|
use strict; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
376
|
|
3
|
7
|
|
|
7
|
|
3332
|
use warnings; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
376
|
|
4
|
|
|
|
|
|
|
|
5
|
7
|
|
|
7
|
|
38
|
use overload '""' => \&_render, fallback => 'TRUE'; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
82
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub html_text |
8
|
|
|
|
|
|
|
{ |
9
|
288
|
|
|
288
|
0
|
383
|
my $self = shift; |
10
|
288
|
|
|
|
|
915
|
$self->{data}; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub new |
14
|
|
|
|
|
|
|
{ |
15
|
2547
|
|
|
2547
|
0
|
3330
|
my $class = shift; |
16
|
|
|
|
|
|
|
|
17
|
2547
|
|
|
|
|
30181
|
bless { |
18
|
|
|
|
|
|
|
@_ |
19
|
|
|
|
|
|
|
}, $class; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub string |
23
|
|
|
|
|
|
|
{ |
24
|
628
|
|
|
628
|
0
|
847
|
my $self = shift; |
25
|
|
|
|
|
|
|
|
26
|
628
|
|
|
|
|
5159
|
$self->{data}; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub attributes |
30
|
|
|
|
|
|
|
{ |
31
|
0
|
|
|
0
|
0
|
0
|
{}; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub _render |
35
|
|
|
|
|
|
|
{ |
36
|
3763
|
|
|
3763
|
|
12711
|
my $self = shift; |
37
|
|
|
|
|
|
|
|
38
|
3763
|
|
|
|
|
18000
|
$self->{data}; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
package Data::Tabular::Type::Number; |
42
|
7
|
|
|
7
|
|
3041
|
use base 'Data::Tabular::Type'; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
808
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
package Data::Tabular::Type::Dollar; |
45
|
7
|
|
|
7
|
|
103
|
use base 'Data::Tabular::Type'; |
|
7
|
|
|
|
|
867
|
|
|
7
|
|
|
|
|
589
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
package Data::Tabular::Type::Text; |
48
|
7
|
|
|
7
|
|
43
|
use base 'Data::Tabular::Type'; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
592
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
package Data::Tabular::Type::Date; |
51
|
7
|
|
|
7
|
|
41
|
use base 'Data::Tabular::Type'; |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
557
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
1; |