Branch Coverage

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


line true false branch
19 0 0 unless (defined $data)
23 0 0 unless $tx->res->headers->content_type =~ m[^image/(.*)]
24 0 0 $1 =~ /gif/i ? :
0 0 $1 =~ /bmp/i ? :
0 0 $1 =~ /png/i ? :
0 0 $1 =~ /jpe?g/i ? :
30 0 0 unless defined $type
31 0 0 if (defined $self->pic_dir and not -d $self->pic_dir)
40 0 0 defined $self->pic_dir ? :
47 0 0 if $sender->type eq 'friend'
48 0 0 if $sender->type ne 'friend'
49 0 0 if ref $cb eq 'CODE'
51 0 0 if $@