| blib/lib/Dancer/Plugin/CORS/Sharing.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 6 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 1 | 1 | if (blessed $class and $class->isa('Dancer::Plugin::CORS::Sharing')) |
| 19 | 0 | 2 | unless exists $options{'_add_rule'} |
| 34 | 5 | 0 | unless ref $routes eq 'ARRAY' |