lib/Smartcat/App/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 8 | 75.0 |
line | true | false | branch |
---|---|---|---|
27 | 1 | 7 | if defined $value and not -d dirname($value) |
42 | 8 | 0 | unless ref $self |
45 | 5 | 3 | if (-e $config_file) { } |
56 | 29 | 0 | if not defined $self->can($validate_attribute) or $self->$validate_attribute($value) |