| 1 | package HTML5::DOM::Element; | ||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | use HTML5::DOM::Node; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | use HTML5::DOM::TokenList; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 1 | our @ISA = ("HTML5::DOM::Node"); | |||||||||
| 9 | |||||||||||
| 10 | sub classList { | ||||||||||
| 11 | 0 | ▶ | return HTML5::DOM::TokenList->new($_[0], "class"); | ||||||||
|
Subroutine
classList: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | } | ||||||||||
| 13 | |||||||||||
| 14 | sub className { | ||||||||||
| 15 | 0 | ▶ | my $class = $_[0]->attr("class"); | ||||||||
|
Subroutine
className: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 16 | 0 | ▶ | return defined $class ? $class : ""; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 1 | 1; | |||||||||