Branch Coverage

blib/lib/Mojolicious/Plugin/TagHelpers/MailToChiffre.pm
Criterion Covered Total %
branch 48 58 82.7


line true false branch
28 0 5 if (my $config_param = $app->config('TagHelpers-MailToChiffre'))
37 5 0 if ($plugin_param->{'pattern_rotate'} and $plugin_param->{'pattern_rotate'} =~ /^\d+$/u)
55 1 1 if ($plugin_param->{'method_name'})
95 1 17 unless my $address = shift()
102 1 16 if (ref $_[-1] and ref $_[-1] eq 'CODE')
132 14 3 if ($routes->lookup('mailToChiffre')) { }
144 41 10 unless exists $param{$_}
147 1 9 unless ($param{$_})
153 3 6 if (ref $param{$_}) { }
156 4 0 if $_
160 2 1 if (@temp) { }
186 3 14 if ($no_fallback) { }
189 2 1 if ($plugin->{'no_inline'}) { }
203 2 15 if ($plugin->{'no_inline'}) { }
207 1 14 if $no_fallback
212 1 16 if ($text) { }
220 0 1 unless ($plugin->{'no_inline'})
235 2 4 if $plugin->css
237 1 3 if ($plugin->{'no_inline'}) { }
256 0 4 if $plugin->js
320 1 3 if ($plugin->{'no_inline'})
368 0 12 unless ($host and $account)
380 8 28 if (my(@val) = @{$p->every_param($type);})
442 4 0 if ($factors{$_} > 1) { }
449 0 4 unless $x == 1
457 0 34 unless my $seq = shift()
470 17 375 if ($c =~ tr/A-Za-z/N-ZA-Mn-za-m/) { }
375 0 elsif ($c eq '-') { }
511 22 480 if ($c =~ /[a-zA-Z]/u) { }