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 | 21 | use strict; | |||
3 | 5 | ||||||
3 | 88 | ||||||
3 | 3 | 3 | 15 | use warnings; | |||
3 | 6 | ||||||
3 | 272 | ||||||
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 | 20 | fallback => 1; | |||
3 | 5 | ||||||
3 | 30 | ||||||
10 | |||||||
11 | 1; | ||||||
12 | __END__ |