blib/lib/HTML5/DOM/CSS/Selector/Entry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 12 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 6 | 50.0 |
pod | n/a | ||
total | 12 | 18 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTML5::DOM::CSS::Selector::Entry; | ||||||
2 | 3 | 3 | 23 | use strict; | |||
3 | 6 | ||||||
3 | 92 | ||||||
3 | 3 | 3 | 16 | use warnings; | |||
3 | 6 | ||||||
3 | 312 | ||||||
4 | |||||||
5 | use overload | ||||||
6 | 0 | 0 | '""' => sub { shift->text }, | ||||
7 | 0 | 0 | '%{}' => sub { shift->specificity }, | ||||
8 | 0 | 0 | 'bool' => sub { 1 }, | ||||
9 | 3 | 3 | 21 | fallback => 1; | |||
3 | 6 | ||||||
3 | 35 | ||||||
10 | |||||||
11 | 1; | ||||||
12 | __END__ |