blib/lib/Raisin/Plugin/Swagger.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 39 | 51.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
389 | 0 | 0 | 342 | $type and $type->can("display_name") |
0 | 0 | 0 | $type and $type->can("name") | |
441 | 1 | 0 | 1 | $p->can("using") and $p->using |
469 | 1 | 0 | 98 | $t and $t->can("name") |
line | l | !l | condition |
---|---|---|---|
97 | 0 | 2 | $req->env->{'HTTP_X_FORWARDED_SCRIPT_NAME'} || '/' |
165 | 2 | 2 | $SETTINGS{'title'} || 'API' |
2 | 2 | $app->api_version || '0.0.1' | |
179 | 0 | 0 | $_->{'scopes'} || [] |
223 | 0 | 20 | $r->desc || '' |
16 | 4 | $r->summary || '' | |
243 | 1 | 0 | $r->desc || $r->summary || '' |
282 | 27 | 16 | $p->desc || '' |
372 | 0 | 0 | $app->resource_desc($t) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
111 | 2 | 0 | 0 | $req->env->{'HTTP_X_FORWARDED_HOST'} || $req->env->{'SERVER_NAME'} || $req->env->{'HTTP_HOST'} |
223 | 0 | 20 | 0 | $r->produces || $DEFAULTS{'produces'} |
511 | 0 | 1 | 42 | $type->isa("Moose::Meta::TypeConstraint::Enum") or $type->isa("Type::Tiny::Enum") |