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 (&Plack::Util::is_real_fh($res->[2])) |
96
|
0 |
6 |
if ($res->[1] and @{$res->[1];}) { } |
118
|
0 |
7 |
if ($query_string =~ m[format=([\w/\+]*)]) |
119
|
0 |
0 |
if (exists $self->mime_type->{$1}) |
125
|
7 |
0 |
if (not $accept and $env->{'HTTP_ACCEPT'}) |
127
|
0 |
7 |
if ($_ eq '*/*') |
128
|
0 |
0 |
exists $self->mime_type->{'text/html'} ? : |
131
|
1 |
6 |
unless exists $self->mime_type->{$_} |