blib/lib/Net/Google/Code/Issue/Attachment.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 26 | 61.5 |
line | true | false | branch |
---|---|---|---|
30 | 1 | 4 | unless blessed $tree |
34 | 5 | 0 | if ($b) |
43 | 1 | 4 | if ($content_type) |
49 | 5 | 0 | if (@tds) |
51 | 5 | 0 | if ($self->url =~ /aid=(-?\d+)/) |
56 | 5 | 0 | if ($tds[1]) |
58 | 5 | 0 | if ($size and $size =~ /([\d.]+)\s*(\w+)/) { } |
62 | 0 | 0 | unless $size |
67 | 1 | 4 | if $need_delete |
75 | 0 | 2 | unless blessed $element |
84 | 4 | 0 | if ($a->parse($tr)) |
88 | 0 | 2 | if $need_delete |
113 | 1 | 5 | $mime_type ? : |