Branch Coverage

blib/lib/Mojo/Webqq/Client/Remote/_get_group_pic.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
12 0 0 if $sender->is_discuss_member
15 0 0 if ($sender->is_group_member) { }
0 0 elsif ($sender->is_discuss_member) { }
43 0 0 unless (defined $data)
47 0 0 unless $tx->res->headers->content_type =~ m[^image/(.*)]
48 0 0 $1 =~ /gif/i ? :
0 0 $1 =~ /bmp/i ? :
0 0 $1 =~ /png/i ? :
0 0 $1 =~ /jpe?g/i ? :
54 0 0 unless defined $type
55 0 0 if (defined $self->pic_dir and not -d $self->pic_dir)
64 0 0 defined $self->pic_dir ? :
71 0 0 if ($sender->is_group_member) { }
77 0 0 if ref $cb eq 'CODE'
79 0 0 if $@