blib/lib/XML/RSS/Private/Output/Roles/ImageDims.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 8 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | n/a | ||
total | 8 | 11 | 72.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package XML::RSS::Private::Output::Roles::ImageDims; | ||||||
2 | |||||||
3 | 1 | 1 | 862 | use strict; | |||
1 | 14 | ||||||
1 | 28 | ||||||
4 | 1 | 1 | 4 | use warnings; | |||
1 | 1 | ||||||
1 | 59 | ||||||
5 | |||||||
6 | sub _out_image_dims { | ||||||
7 | 0 | 0 | my $self = shift; | ||||
8 | |||||||
9 | # link, image width, image height and description | ||||||
10 | 0 | return $self->_output_multiple_tags( | |||||
11 | {ext => "image", 'defined' => 1}, | ||||||
12 | [qw(width height description)], | ||||||
13 | ); | ||||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 |