lib/Mojolicious/Plugin/Vparam/Common.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 20 | 40.0 |
line | true | false | branch |
---|---|---|---|
15 | 26 | 181 | unless defined $str |
27 | 74 | 0 | if 'Mojo::Loader'->can('find_modules') |
29 | 0 | 0 | if 'Mojo::Loader'->can('new') |
35 | 1445 | 0 | if 'Mojo::Loader'->can('load_class') |
37 | 0 | 0 | if 'Mojo::Loader'->can('load') |
44 | 502 | 0 | if $_[0]->can('every_param') |
45 | 0 | 0 | if $_[0]->can('param') |
54 | 17 | 7 | if &is_utf8($json) |
56 | 24 | 0 | if 'Mojo::JSON'->can('decode_json') |
58 | 0 | 0 | if 'Mojo::JSON'->can('new') |