Branch Coverage

blib/lib/JIRA/REST/OAuth.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
27 0 0 if (@_ == 1 and ref $_[0] and ref $_[0] eq 'HASH') { }
38 0 0 unless defined $args{$opt}
43 0 0 unless exists $args{'anonymous'}
45 0 0 if exists $args{'url'}
50 0 0 if (-e $a{'rsa_private_key'}) { }
51 0 0 unless open my $fh, '<', $a{'rsa_private_key'}
74 0 0 if ($method =~ /^(?:PUT|POST)$/)
76 0 0 if ($headers) { }
77 0 0 unless (eval { do { $h = $headers->clone } })
86 0 0 unless (defined $h->content_type)
89 0 0 unless (defined $h->header('Accept'))
114 0 0 if (defined $query)
122 0 0 if ($path =~ /\?(.+)$/)
137 0 0 if ($method =~ /^(?:POST|PUT)$/)