| blib/lib/Clustericious/Plugin/AutodataHandler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 20 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 60 | 2 | $app->isa('Clustericious::App') ? : |
| 52 | 124 | 0 | if $coder->{'format'} |
| 67 | 12 | 2 | if $types{$type} and $types{$type}{'encode'} |
| 71 | 1 | 22 | unless $formats{$format} |
| 81 | 0 | 35 | unless $types{$type}{'encode'} |
| 90 | 1 | 5 | if ($content_type =~ /^([^;]+);/) |
| 106 | 0 | 0 | unless defined $args->{'extension'} |
| 112 | 0 | 0 | if (defined $args->{'encode'}) |
| 116 | 0 | 0 | if (defined $args->{'decode'}) |
| 125 | 67 | 108 | if exists $c->stash->{'autodata'} or exists $args->{'autodata'} |