blib/lib/Bryar/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 28 | 39.2 |
line | true | false | branch |
---|---|---|---|
60 | 0 | 12 | unless $self->$module->require |
61 | 0 | 12 | if $self->$module->can('new') or ref $self->$module |
81 | 3 | 0 | unless (-r $file) |
82 | 0 | 3 | if (-r "$datadir/$file") { } |
85 | 0 | 0 | unless open my $config, '<:utf8', $file |
88 | 0 | 0 | if /^#/ or /^$/ |
108 | 0 | 11 | if (@_) |
127 | 0 | 11 | if (@_) |
144 | 0 | 10 | if (@_) |
161 | 0 | 16 | if (@_) |
179 | 0 | 0 | if (@_) |
197 | 0 | 6 | if (@_) |
242 | 0 | 4 | if (@_) |
272 | 0 | 1 | if (@_) |