Branch Coverage

blib/lib/Mojo/Weixin/Model/Base.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
15 0 0 if substr($_, 0, 1) eq '_'
16 0 0 if $_ eq 'member'
20 0 0 if ($is_keep_member and exists $self->{'member'})
22 0 0 if (ref $self->{'member'} eq 'ARRAY')
37 0 0 if (my $n = &blessed($self->{$_})) { }
0 0 elsif ($_ eq 'member' and ref $self->{$_} eq 'ARRAY') { }
59 0 0 if (@$array_ref == 0)
61 0 0 if (defined $o) { }
69 0 0 if ($array_ref->[$i]->id eq $element->id)
80 0 0 if 0 == grep({defined $p{$_};} keys %p)
83 0 0 if (wantarray) { }
84 0 0 &first(sub { $p{$_} ne $g->$_; } , grep({defined $p{$_};} keys %p)) ? :
87 0 0 &first(sub { $p{$_} ne $g->$_; } , grep({defined $p{$_};} keys %p)) ? :
93 0 0 ref $self eq 'Mojo::Weixin::Friend' ? :
97 0 0 ref $self eq 'Mojo::Weixin::Group' ? :
101 0 0 ref $self eq 'Mojo::Weixin::Group::Member' ? :