Branch Coverage

blib/lib/File/TVShow/Info.pm
Criterion Covered Total %
branch 0 116 0.0


line true false branch
139 0 0 unless defined $_[0]
140 0 0 if (ref $_[0]) { }
154 0 0 if ($] >= 5.01) { }
155 0 0 if ($self->{'file'} =~ /$pat->{'re'}/i)
159 0 0 if defined $data->[0] and not defined $self->{$key}
166 0 0 if (@matches = $self->{'file'} =~ /$pat->{'re_compat'}/i)
171 0 0 unless defined $self->{$key}
213 0 0 unless $self->is_tv_show
215 0 0 if defined $self->{'do_not_strip'}
232 0 0 unless $self->is_tv_show
235 0 0 if ($self->has_year) { }
0 0 elsif ($self->has_country) { }
258 0 0 if defined $self->{'original_show_name'}
284 0 0 if defined $self->{'season'}
310 0 0 if defined $self->{'episode'}
334 0 0 if defined $self->{'endep'}
355 0 0 if (defined $self->{'episode'} and not defined $self->{'endep'}) { }
0 0 elsif (defined $self->{'episode'} and defined $self->{'endep'}) { }
376 0 0 if defined $self->{'year'}
432 0 0 if defined $self->{'year'} and defined $self->{'month'}
505 0 0 unless $self->is_tv_show
535 0 0 if defined $self->{'ext'}
551 0 0 if (defined $self->{'season'} and defined $self->{'episode'}) { }
0 0 elsif (defined $self->{'year'} and $self->{'month'} and $self->{'date'}) { }
572 0 0 if $self->is_tv_show and defined $self->{'is_subtitle'}
588 0 0 if $self->is_tv_subtitle and defined $self->{'subtitle_lang'}
617 0 0 if $self->is_tv_show and defined $self->{'country'}
633 0 0 if (defined $self->{'year'} and defined $self->{'month'} and defined $self->{'date'})
651 0 0 if (defined $self->{'season'} and defined $self->{'episode'})
662 0 0 unless $self->is_tv_show
664 0 0 if defined $self->{'show_name'}
672 0 0 unless $self->is_tv_show
677 0 0 if ($] >= 5.01) { }
685 0 0 if ($self->{'show_name'} =~ /$_/)
692 0 0 if ($self->{'show_name'} =~ /$regex/gi)
708 0 0 unless $self->is_tv_show and defined $self->{'extra_meta'}
712 0 0 if $self->{'extra_meta'} =~ /^([0-9]{3,4}(p|i)|AMZN|WEB)/i
716 0 0 if ($self->{'extra_meta'} =~ /$pat->{'re'}/i)
725 0 0 if (defined $self->{'episode_name_regex'}) { }
726 0 0 if ($self->{'extra_meta'} =~ /$self->{'episode_name_regex'}/i)
741 0 0 unless $self->is_tv_show and defined $self->{'extra_meta'}
744 0 0 if ($] >= 5.01) { }
749 0 0 if ($self->{'extra_meta'} =~ /$regex/gi)
758 0 0 unless $self->is_tv_show and defined $self->{'extra_meta'}
765 0 0 if ($self->{'extra_meta'} =~ /$regex/gi)
775 0 0 unless $self->is_tv_show and defined $self->{'extra_meta'}
778 0 0 if ($] >= 5.01) { }
783 0 0 if ($self->{'extra_meta'} =~ /$regex/gi)
794 0 0 unless $self->is_tv_show
797 0 0 if ($] >= 5.01) { }
802 0 0 if ($self->{'show_name'} =~ /$regex/g)
805 0 0 if (grep {$_ eq $1;} @{$$self{'valid_countries'};})
818 0 0 unless $self->is_tv_show
823 0 0 if (grep {$_ eq $self->{'ext'};} @list_of_subtitle_ext)
833 0 0 unless defined $self->{'is_subtitle'}
836 0 0 if ($] >= 5.01) { }
841 0 0 if ($self->{'extra_meta'} =~ /$regex/gi)
850 0 0 if defined $self->{$attr}