Branch Coverage

blib/lib/VT/API.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
12 0 0 if ref $_[1] eq 'HASH'
19 0 0 unless $$self{'key'} = $opts{'key'}
35 0 0 unless defined $resource
52 0 0 unless defined $file
70 0 0 unless defined $resource
87 0 0 unless defined $url
104 0 0 unless defined $file_or_url
106 0 0 unless defined $comment
109 0 0 $file_or_url =~ m[^https?://] ? :
0 0 ref $tags eq 'ARRAY' ? :
0 0 defined $tags ? :
131 0 0 unless defined $$self{'res'}
134 0 0 if ($$self{'res'}->is_success) { }
138 0 0 if ($@)