| blib/lib/Captive/Portal/Role/AuthenSimple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 3 | 14 | 21.4 |
| line | true | false | branch |
|---|---|---|---|
| 40 | 5 | 0 | if $self->cfg->{'MOCK_AUTHEN'} |
| 44 | 0 | 0 | unless %$authen_modules |
| 55 | 0 | 0 | if $error |
| 58 | 0 | 0 | unless my $authen_obj = $module->new($$authen_modules{$module}) |
| 68 | 0 | 0 | unless $authen_singleton = 'Authen::Simple'->new(@authen_simple_objects) |
| 87 | 1 | 0 | if ($self->cfg->{'MOCK_AUTHEN'}) |
| 91 | 1 | 0 | if $username =~ /^(mock|fake|foo|bar|baz)/i |