blib/lib/Mojolicious/Plugin/TagHelpers/MailToChiffre.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 14 | 64.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 0 | 0 | 5 | $plugin_param->{'pattern_rotate'} and $plugin_param->{'pattern_rotate'} =~ /^\d+$/u |
102 | 14 | 2 | 1 | ref $_[-1] and ref $_[-1] eq 'CODE' |
368 | 0 | 0 | 12 | $host and $account |
line | l | !l | condition |
---|---|---|---|
42 | 1 | 4 | $plugin_param->{'no_inline'} // undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 3 | 2 | 0 | $plugin_param->{'method_name'} // $app->random_string('mail_to_chiffre') |