Branch Coverage

lib/Finance/GDAX/API.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
77 0 2 if $self->timeout
79 1 1 if ($method =~ /^(GET|DELETE)$/u) { }
1 0 elsif ($method eq 'POST') { }
88 1 1 if ($self->response_code >= 400)
100 2 2 if $self->body
110 3 1 if defined $self->_body_json
117 0 1 unless $filename
120 0 1 if ($fork) { }
124 0 1 unless open FILE, '<', $filename
130 1 3 unless $key
131 0 3 if /^\s*\#/u
132 0 3 unless (grep /^$key$/u, @valid_attributes)