blib/lib/Chouette/Context.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 15 | 20.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
79 | 1 | 0 | 0 | defined $http_code and $http_code != 200 |
1 | 0 | 0 | defined $http_code and $http_code != 200 and ref $body eq 'HASH' | |
0 | 0 | 0 | defined $http_code and $http_code != 200 and ref $body eq 'HASH' and exists $body->{'error'} |
line | l | !l | condition |
---|---|---|---|
48 | 0 | 0 | (shift())->{'route_params'} // {} |
83 | 0 | 1 | $http_code // 200 |
104 | 0 | 0 | $self->{'chouette'}{'task_clients'}{$task_name} // die("no such task: '${task_name}'") |