Branch Coverage

blib/lib/Net/Disqus.pm
Criterion Covered Total %
branch 5 34 14.7


line true false branch
21 0 3 if ref $class
27 0 3 @_ == 1 && ref $_[0] eq 'HASH' ? :
32 2 1 unless $args{'api_secret'}
35 0 1 if $args{'secure'}
59 0 0 $now > $self->rate_limit_reset ? :
69 0 0 unless $reset > 0
70 0 0 if $now > $reset
75 0 0 if $diff == 0 or $remaining == 0
80 0 0 if $wait * $remaining > $diff
96 0 0 unless $args{$_}
102 0 0 if not $self->pass_api_errors and $$json{'code'} != 0
112 0 0 ($_ = $AUTOLOAD) =~ s/.*:// ? :
113 0 0 if $fragment eq uc $fragment
115 0 0 unless ($self->fragment)
120 0 0 if ($self->fragment->{$fragment}) { }
122 0 0 $self->fragment->{'method'} ? :
127 0 0 if my $path = $self->path