Branch Coverage

blib/lib/Net/Google/Code/Download.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
57 0 3 unless $name
65 0 3 unless $self->name and $self->name eq $name
73 3 0 unless blessed $tree
77 3 0 if $uploaded
94 6 9 unless $key
98 0 9 unless $td
100 3 6 if ($key =~ /Uploaded.*?by/) { }
3 3 elsif ($key =~ /Downloads/) { }
116 3 0 if $size
121 3 0 if ($checksum =~ /^SHA1 Checksum:\s+(\w+)/)
124 3 0 if $need_delete
130 0 4 if (@_ % 2 and ref $_[0] eq 'HASH') { }
139 4 4 if (exists $args{$key})