Branch Coverage

blib/lib/Mojo/Weixin/Model/Remote/_webwxgetheadimg.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
7 0 0 unless ($object->_avatar)
14 0 0 unless (defined $data)
18 0 0 $data =~ /^PNG|\x89PNG/ ? :
0 0 $data =~ /^GIF8/ ? :
23 0 0 $mime =~ m[^image/gif]i ? :
0 0 $mime =~ m[^image/bmp]i ? :
0 0 $mime =~ m[^image/png]i ? :
0 0 $mime =~ m[^image/jpe?g]i ? :
29 0 0 unless (defined $type)
33 0 0 if (defined $self->media_dir and not -d $self->media_dir)
42 0 0 defined $self->media_dir ? :
49 0 0 if ref $callback eq 'CODE'
51 0 0 if $@