File Coverage

blib/lib/TV/Anytime/Program.pm
Criterion Covered Total %
statement 9 15 60.0
branch n/a
condition n/a
subroutine 3 5 60.0
pod 2 2 100.0
total 14 22 63.6


line stmt bran cond sub pod time code
1             package TV::Anytime::Program;
2 1     1   6 use strict;
  1         2  
  1         41  
3 1     1   6 use warnings;
  1         1  
  1         28  
4 1     1   6 use base 'Class::Accessor::Chained::Fast';
  1         2  
  1         196  
5             __PACKAGE__->mk_accessors(qw(
6             id title synopsis synopsis_long events_ref genres_ref
7             caption_language
8             url email audio_channels aspect_ratio
9             member_of
10             events
11             is_audio_described is_subtitled is_deaf_signed
12             ));
13              
14             sub events {
15 0     0 1   my $self = shift;
16 0           return @{$self->events_ref};
  0            
17             }
18              
19             sub genres {
20 0     0 1   my $self = shift;
21 0           return @{$self->genres_ref};
  0            
22             }
23              
24             # TODO url email member_of
25              
26             1;
27              
28             __END__