Branch Coverage

blib/lib/Mojo/Webqq/Discuss.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
15 0 0 if ($Mojo::Webqq::Discuss::AUTOLOAD =~ /.*::d(.*)/) { }
28 0 0 @_ > 1 ? :
0 0 @_ ? :
29 0 0 if (exists $self->{'member'} and ref $self->{'member'} eq 'ARRAY')
31 0 0 unless defined $_->{'_discuss_id'}
32 0 0 if ref $_ ne 'Mojo::Webqq::Discuss::Member'
40 0 0 if $self->is_empty
46 0 0 if ref $callback ne 'CODE'
47 0 0 if ref $self->member ne 'ARRAY'
48 0 0 if $self->is_empty
58 0 0 if 0 == grep({defined $p{$_};} keys %p)
59 0 0 if $self->is_empty
60 0 0 if (wantarray) { }
61 0 0 &first(sub { $p{$_} ne $m->$_; } , grep({defined $p{$_};} keys %p)) ? :
64 0 0 &first(sub { $p{$_} ne $m->$_; } , grep({defined $p{$_};} keys %p)) ? :
72 0 0 if ref $member ne 'Mojo::Webqq::Discuss::Member'
73 0 0 if ($nocheck)
78 0 0 if (defined $m) { }
89 0 0 if ref $member ne 'Mojo::Webqq::Discuss::Member'
91 0 0 if ($self->member->[$i]->id eq $member->id)
101 0 0 ref $self->member eq 'ARRAY' ? :
111 0 0 if ($_ eq 'member' and exists $hash->{'member'} and ref $hash->{'member'} eq 'ARRAY') { }
112 0 0 unless @{$hash->{'member'};}
113 0 0 ref $_ eq 'Mojo::Webqq::Discuss::Member' ? :
114 0 0 if ($self->is_empty) { }
121 0 0 if defined $self->client
125 0 0 if defined $self->client
134 0 0 if (exists $hash->{$_})
135 0 0 if (defined $hash->{$_} and defined $self->{$_}) { }
0 0 elsif (not !(defined $hash->{$_} || defined $self->{$_})) { }
136 0 0 if ($hash->{$_} ne $self->{$_})