Branch Coverage

blib/lib/WWW/Sitebase/Poster.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
211 0 0 if (@_) { }
212 0 0 if (ref $_[0]) { }
221 0 0 if (defined $self->{'friend_ids'}) { }
222 0 0 if (ref $self->{'friend_ids'} eq 'ARRAY') { }
279 0 0 if (@_) { }
0 0 elsif (not defined $self->{'cache_file'}) { }
369 0 0 if (@_)
371 0 0 if ($self->{'interactive'})
475 0 0 unless $self->browser
484 0 0 unless (@friend_list)
488 0 0 unless $result
491 0 0 unless $result eq 'R'
493 0 0 if $self->max_count and $self->{'post_count'} > $self->max_count
515 0 0 unless ($result =~ /^[PFR]$/o)
545 0 0 if ($self->{'exclude_my_friends'})
591 0 0 if (not defined $filter) { }
592 0 0 unless unlink $self->cache_path
635 0 0 if ($data eq 'all') { }
638 0 0 unless open $fh, '>', $self->cache_path
645 0 0 unless open $fh, '>>', $self->cache_path
652 0 0 unless (exists $data->{'time'})
769 0 0 if @_
776 0 0 unless (defined $self->{'log'} and $filter ne 'all')
778 0 0 if (-f $self->cache_path) { }
779 0 0 unless open LOGGED, '<', $self->cache_path
809 0 0 if $filter eq 'all'
813 0 0 if ($filter and not ref $filter)
814 0 0 if (exists $self->{'log'}{"$filter"}) { }
822 0 0 unless (ref $filter)
829 0 0 if (&$filter($self->{'log'}{"$key_value"}))
872 0 0 if $self->{'interactive'}
893 0 0 unless (-d $self->cache_dir)
894 0 0 unless mkdir $self->cache_dir
904 0 0 if ($key and $key eq 'browser')