blib/lib/Webqq/Client/Method/_get_offpic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 24 | 0.0 |
line | true | false | branch |
---|---|---|---|
6 | 0 | 0 | if $$self{'type'} ne 'smartqq' |
11 | 0 | 0 | if (ref $cb eq 'CODE') |
20 | 0 | 0 | if ($response->is_success) |
21 | 0 | 0 | unless $response->header('content-type') =~ m[^image/(.*)] |
22 | 0 | 0 | $1 =~ /gif/i ? : |
0 | 0 | $1 =~ /bmp/i ? : | |
0 | 0 | $1 =~ /png/i ? : | |
0 | 0 | $1 =~ /jpe?g/i ? : | |
28 | 0 | 0 | unless defined $type |
39 | 0 | 0 | unless open my $fh, '<:raw', $tmp->filename |
43 | 0 | 0 | if $@ |
49 | 0 | 0 | if $$self{'debug'} |