| blib/lib/Net/DVDProfiler/DVD.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 0 | 6 | 0.0 |
| branch | n/a | ||
| condition | 0 | 3 | 0.0 |
| subroutine | 0 | 3 | 0.0 |
| pod | 3 | 3 | 100.0 |
| total | 3 | 15 | 20.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Net::DVDProfiler::DVD; | ||||||
| 2 | |||||||
| 3 | sub new { | ||||||
| 4 | 0 | 0 | 1 | my $ref = shift; | |||
| 5 | 0 | 0 | my $class = ref( $ref ) || $ref; | ||||
| 6 | |||||||
| 7 | 0 | my $self = bless { | |||||
| 8 | title => undef, | ||||||
| 9 | upc => undef, | ||||||
| 10 | @_ | ||||||
| 11 | }, $class; | ||||||
| 12 | |||||||
| 13 | 0 | return $self; | |||||
| 14 | } | ||||||
| 15 | |||||||
| 16 | sub title { | ||||||
| 17 | 0 | 0 | 1 | return $_[0]->{title}; | |||
| 18 | } | ||||||
| 19 | |||||||
| 20 | sub upc { | ||||||
| 21 | 0 | 0 | 1 | return $_[0]->{upc}; | |||
| 22 | } | ||||||
| 23 | 1; | ||||||
| 24 | |||||||
| 25 | __END__ |