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