line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML5::DOM::Tree; |
2
|
3
|
|
|
3
|
|
20
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
98
|
|
3
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
518
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use overload |
6
|
0
|
|
|
0
|
|
0
|
'""' => sub { $_[0]->document->html }, |
7
|
0
|
|
|
0
|
|
0
|
'@{}' => sub { [$_[0]->document] }, |
8
|
0
|
|
|
0
|
|
0
|
'bool' => sub { 1 }, |
9
|
27
|
50
|
|
27
|
|
75180
|
'==' => sub { defined $_[1] && $_[0]->isSameTree($_[1]) }, |
10
|
0
|
|
0
|
0
|
|
|
'!=' => sub { !defined $_[1] || !$_[0]->isSameTree($_[1]) }, |
11
|
3
|
|
|
3
|
|
19
|
fallback => 1; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
51
|
|
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
0
|
0
|
|
sub text { shift->document->text(@_) } |
14
|
0
|
|
|
0
|
0
|
|
sub html { shift->document->html(@_) } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |