| blib/lib/SMIL/RootLayout.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 5 | 9 | 55.5 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 4 | 50.0 |
| pod | 0 | 3 | 0.0 |
| total | 7 | 16 | 43.7 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package SMIL::RootLayout; | ||||||
| 2 | |||||||
| 3 | $VERSION = "0.898"; | ||||||
| 4 | |||||||
| 5 | 1 | 1 | 6 | use SMIL::XMLTag; | |||
| 1 | 3 | ||||||
| 1 | 140 | ||||||
| 6 | |||||||
| 7 | @ISA = qw( SMIL::XMLTag ); | ||||||
| 8 | |||||||
| 9 | sub init { | ||||||
| 10 | 1 | 1 | 0 | 2 | my $self = shift; | ||
| 11 | 1 | 8 | $self->SUPER::init( "root-layout" ); | ||||
| 12 | } | ||||||
| 13 | |||||||
| 14 | sub getRootHeight { | ||||||
| 15 | 0 | 0 | 0 | my $self = shift; | |||
| 16 | 0 | return $self->getAttribute( "height" ); | |||||
| 17 | } | ||||||
| 18 | |||||||
| 19 | sub getRootWidth { | ||||||
| 20 | 0 | 0 | 0 | my $self = shift; | |||
| 21 | 0 | return $self->getAttribute( "width" ); | |||||
| 22 | } | ||||||
| 23 |