| line |
true |
false |
branch |
|
23
|
0 |
2 |
eval "use $mod; 1" ? : |
|
52
|
0 |
1 |
if ref $self->{'mime_type'}{$par} ne 'CODE' |
|
57
|
8 |
0 |
unless exists $self->{'mime_type'}{$par} |
|
61
|
0 |
2 |
if (_try_load('Rest::HtmlVis')) |
|
62
|
0 |
0 |
if exists $self->{'htmlvis'} |
|
83
|
0 |
7 |
unless $accept |
|
88
|
6 |
1 |
if (not Plack::Util::status_with_no_entity_body($res->[0]) and defined $res->[2]) { } |
|
|
1 |
0 |
elsif (not defined $res->[2]) { } |
|
91
|
0 |
6 |
if ($res->[1] and @{$res->[1];}) { } |
|
113
|
0 |
7 |
if ($query_string =~ m[format=([\w/\+]*)]) |
|
114
|
0 |
0 |
if (exists $self->mime_type->{$1}) |
|
120
|
7 |
0 |
if (not $accept and $env->{'HTTP_ACCEPT'}) |
|
122
|
0 |
7 |
if ($_ eq '*/*') |
|
123
|
0 |
0 |
exists $self->mime_type->{'text/html'} ? : |
|
126
|
1 |
6 |
unless exists $self->mime_type->{$_} |