blib/lib/SMIL/Meta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 10 | 11 | 90.9 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package SMIL::Meta; | ||||||
2 | |||||||
3 | $VERSION = "0.898"; | ||||||
4 | |||||||
5 | 1 | 1 | 7 | use SMIL::XMLTag; | |||
1 | 2 | ||||||
1 | 435 | ||||||
6 | |||||||
7 | @ISA = qw( SMIL::XMLTag ); | ||||||
8 | |||||||
9 | my @validMetaAttrs = ( 'name', 'content' ); | ||||||
10 | |||||||
11 | sub init { | ||||||
12 | 3 | 3 | 0 | 5 | my $self = shift; | ||
13 | 3 | 13 | $self->SUPER::init( "meta" ); | ||||
14 | |||||||
15 | 3 | 4 | my $name = shift; | ||||
16 | 3 | 4 | my $content = shift; | ||||
17 | |||||||
18 | 3 | 13 | $self->setAttributes( 'name' => $name, | ||||
19 | 'content' => $content ); | ||||||
20 | } | ||||||
21 |