Branch Coverage

blib/lib/XAS/Service/Resource.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
21 0 0 exists $args->{'template'} ? :
25 0 0 exists $args->{'json'} ? :
29 0 0 exists $args->{'app_name'} ? :
33 0 0 exists $args->{'app_description'} ? :
37 0 0 exists $args->{'alias'} ? :
54 0 0 if ($auth)
147 0 0 if ($format eq 'json') { }
175 0 0 if (defined $metadata->{'exception'}) { }
0 0 elsif ($self->response->status >= 400) { }
182 0 0 $type =~ /json/ ? :
187 0 0 if ($ref eq 'XAS::Exception' or $ref eq 'Badger::Exception') { }
213 0 0 $self->response->status >= 500 ? :
216 0 0 $type =~ /json/ ? :
386 0 0 $type =~ /json/ ? :
388 0 0 if ($format eq 'json') { }
463 0 0 if defined $code
473 0 0 if defined $string