blib/lib/HTML/Feature/Engine.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 2 | 2 | 100.0 |
total | 14 | 15 | 93.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTML::Feature::Engine; | ||||||
2 | 3 | 3 | 16 | use strict; | |||
3 | 5 | ||||||
3 | 68 | ||||||
3 | 3 | 3 | 9 | use warnings; | |||
3 | 1 | ||||||
3 | 174 | ||||||
4 | #use base qw/Class::Accessor::Fast/; | ||||||
5 | #__PACKAGE__->mk_accessors(qw/text title desc element/); | ||||||
6 | |||||||
7 | sub new { | ||||||
8 | 6 | 6 | 1 | 12 | my $class = shift; | ||
9 | 6 | 15 | my $self = bless {@_}, $class; | ||||
10 | 6 | 12 | return $self; | ||||
11 | } | ||||||
12 | |||||||
13 | 0 | 1 | sub run { } | ||||
14 | |||||||
15 | 1; | ||||||
16 | |||||||
17 | __END__ |