| blib/lib/Mojolicious/Command/swagger2.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 10 | 22 | 45.4 | 
| line | l | !l | condition | 
|---|---|---|---|
| 35 | 3 | 0 | shift() || 'unknown' | 
| 46 | 2 | 1 | $ENV{'SWAGGER_COERCE_VALUES'} //= 1 | 
| 83 | 0 | 0 | $file || '' | 
| 85 | 0 | 0 | $file ||= '/root/.cpan/build/Swagger2-0.89-MlmsEw/blib/lib/Mojolicious/Command/swagger2.pm' | 
| 127 | 2 | 0 | $pod->{'api_spec'}->get('/paths') || {} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 53 | 1 | 1 | 1 | $ENV{'SWAGGER_API_FILE'} ||= $file | 
| 54 | 1 | 0 | 1 | not $method or $method =~ /\W/ | 
| 83 | 0 | 0 | 0 | $ENV{'SWAGGER_API_FILE'} ||= $file || '' | 
| 132 | 10 | 0 | 0 | $paths->{$path}{$method}{'operationId'} || join(' ', $method, $path) |