Branch Coverage

blib/lib/WebService/ReviewBoard.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
17 1 4 unless my $review_board_url = shift()
30 0 3 unless ($url and $url =~ m[^http://])
39 0 3 unless my $username = shift()
40 0 3 unless my $password = shift()
66 0 3 unless my $ua = shift()
67 0 3 unless my $path = shift()
68 0 3 unless my $method = shift()
73 3 0 if ($method eq 'POST') { }
0 0 elsif ($method eq 'GET') { }
87 0 3 if ($response->is_success) { }
95 0 0 if ($$json{'err'} and $$json{'err'}{'msg'})
104 0 3 unless my $self = shift()
106 3 0 unless ($$self{'ua'})