Condition Coverage

blib/lib/Mojolicious/Plugin/Qaptcha.pm
Criterion Covered Total %
condition 20 27 74.0


and 3 conditions

line !l l&&!r l&&r condition
28 0 0 2 $self->param('action') and $self->param('qaptcha_key')
69 1 0 8 $cfg->{'inbuild_jquery'} && $cfg->{'inbuild_jquery'} == 1
71 1 0 8 $cfg->{'inbuild_jquery_ui'} && $cfg->{'inbuild_jquery_ui'} == 1
75 1 0 8 $cfg->{'inbuild_jquery_ui_touch'} && $cfg->{'inbuild_jquery_ui_touch'} == 1

or 2 conditions

line l !l condition
16 1 2 $app->config->{'qaptcha_url'} ||= '/qaptcha'
81 7 2 $cfg->{'txtLock'} ||= q[Locked : form can't be submited]
82 7 2 $cfg->{'txtUnlock'} ||= 'Unlocked : form can be submited'
83 7 2 $cfg->{'disabledSubmit'} ||= 'false'
84 7 2 $cfg->{'autoRevert'} ||= 'true'
85 7 2 $cfg->{'autoSubmit'} ||= 'false'

or 3 conditions

line l !l&&r !l&&!r condition
126 43 0 0 dirname('/root/.cpan/build/Mojolicious-Plugin-Qaptcha-0.11-ds_7B7/blib/lib/Mojolicious/Plugin/Qaptcha.pm') . '/../../../jquery' // File::ShareDir::dist_dir('Mojolicious-Plugin-Qaptcha')