Branch Coverage

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 75 0 if 'Mojo::Loader'->can('find_modules')
29 0 0 if 'Mojo::Loader'->can('new')
35 1462 0 if 'Mojo::Loader'->can('load_class')
37 0 0 if 'Mojo::Loader'->can('load')
44 510 0 if $_[0]->can('every_param')
45 0 0 if $_[0]->can('param')
54 17 15 if &is_utf8($json)
56 32 0 if 'Mojo::JSON'->can('decode_json')
58 0 0 if 'Mojo::JSON'->can('new')