| lib/MP3/PodcastFetch.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 20 | 62 | 32.2 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 601 | 0 | 6 | 6 | $mode eq 'exists' and -e $filename | 
| 624 | 0 | 6 | 0 | defined $length and $size < $length | 
| line | l | !l | condition | 
|---|---|---|---|
| 308 | 4 | 0 | $args{-'base'} || '/tmp/podcasts' | 
| 313 | 0 | 4 | $args{-'timeout'} || 30 | 
| 314 | 4 | 0 | $args{-'mirror_mode'} || 'exists' | 
| 325 | 0 | 4 | $args{-'fetch_callback'} || 'none' | 
| 326 | 0 | 4 | $args{-'delete_callback'} || 'none' | 
| 451 | 2 | 2 | (shift())->{'stats'}{'fetched'} ||= 0 | 
| 452 | 0 | 0 | (shift())->{'stats'}{'error'} ||= 0 | 
| 453 | 0 | 0 | (shift())->{'stats'}{'deleted'} ||= 0 | 
| 454 | 2 | 2 | (shift())->{'stats'}{'skipped'} ||= 0 | 
| 664 | 0 | 0 | $$self{'tabs'} || 0 | 
| 665 | 0 | 0 | $_ ||= '' | 
| 680 | 0 | 0 | $$self{'tabs'} || 0 | 
| 681 | 0 | 0 | $_ ||= '' | 
| 761 | 0 | 6 | $self->force_genre || 'Podcast' | 
| 804 | 0 | 0 | $item->duration || 0 | 
| 853 | 0 | 10 | $self->subdir || '' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 307 | 0 | 4 | 0 | ref $class || $class | 
| 311 | 4 | 0 | 0 | $args{-'rss'} || croak('please provide -rss argument') | 
| 596 | 12 | 0 | 0 | $mode eq 'exists' or $mode eq 'modified-since' | 
| 719 | 0 | 0 | 0 | $self->playlist_base || $self->base | 
| 727 | 0 | 0 | 0 | $base =~ /^[A-Z]:\\/ or $base =~ /\\/ | 
| 756 | 0 | 6 | 0 | $self->force_album || $channel->title | 
| 757 | 0 | 6 | 0 | $self->force_artist || $channel->author | 
| 875 | 0 | 10 | 0 | $self->override_channel_dir || $channel->title |