| blib/lib/CGI/Application/Plugin/Config/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 16 | 81.2 |
| line | true | false | branch |
|---|---|---|---|
| 106 | 1 | 9 | if (scalar @params == 0) { } |
| 7 | 2 | elsif (scalar @params == 1) { } | |
| 116 | 2 | 0 | if ($conf->write) { } |
| 142 | 2 | 9 | if ($create) |
| 144 | 0 | 2 | unless my $file_name = $self->config_file |
| 145 | 0 | 2 | unless my $conf = 'Config::Simple'->new($file_name) |
| 185 | 1 | 3 | if (defined $file_name) { } |
| 193 | 2 | 2 | unless ($file_name) |