line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::WidgetValidator::Widget::AlexaTrafficGraph;
|
2
|
1
|
|
|
1
|
|
5
|
use base qw(HTML::WidgetValidator::Widget);
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
64
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
19
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
5
|
1
|
|
|
1
|
|
4
|
use Carp;
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
317
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
__PACKAGE__->name('Alexa Traffic Graph');
|
8
|
|
|
|
|
|
|
__PACKAGE__->url('http://www.alexa.com/site/site_stats/signup');
|
9
|
|
|
|
|
|
|
__PACKAGE__->models([
|
10
|
|
|
|
|
|
|
[
|
11
|
|
|
|
|
|
|
{
|
12
|
|
|
|
|
|
|
type =>'start',
|
13
|
|
|
|
|
|
|
name =>'script',
|
14
|
|
|
|
|
|
|
attr => { type => 'text/javascript',
|
15
|
|
|
|
|
|
|
src => 'http://widgets.alexa.com/traffic/javascript/graph.js' },
|
16
|
|
|
|
|
|
|
},
|
17
|
|
|
|
|
|
|
{ type => 'end', name=>'script' }
|
18
|
|
|
|
|
|
|
],
|
19
|
|
|
|
|
|
|
[
|
20
|
|
|
|
|
|
|
{
|
21
|
|
|
|
|
|
|
type => 'start',
|
22
|
|
|
|
|
|
|
name => 'script',
|
23
|
|
|
|
|
|
|
attr => { type => 'text/javascript', }
|
24
|
|
|
|
|
|
|
},
|
25
|
|
|
|
|
|
|
{ type => 'text', text => qr{\s*/\*\s*}, },
|
26
|
|
|
|
|
|
|
{ type => 'end', name =>'script', },
|
27
|
|
|
|
|
|
|
],
|
28
|
|
|
|
|
|
|
]);
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1;
|
31
|
|
|
|
|
|
|
__END__
|