Branch Coverage

blib/lib/Triglav/Client.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
17 3 7 unless $args{'base_url'} and $args{'api_token'}
41 1 1 unless $service
51 3 3 if ($options{'with_inactive'}) { }
65 1 3 if @_ == 4
67 2 1 if ($role) { }
76 3 6 if ($options{'with_inactive'}) { }
89 2 2 unless $method and $path
103 0 0 if ($method eq 'get') { }
114 0 0 if ($response->code >= 300)