lib/Synapse/CLI/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 20 | 35.0 |
line | true | false | branch |
---|---|---|---|
163 | 0 | 0 | unless -e $file |
164 | 0 | 0 | unless (open FILE, "<$file") |
182 | 0 | 0 | unless -e $file |
183 | 0 | 0 | unless (open FILE, '>file') |
217 | 0 | 9 | unless defined $name |
222 | 0 | 9 | unless $object->can($method) |
227 | 0 | 9 | if $@ |
234 | 0 | 9 | if ($object->can($FORCE_SAVE)) { } |
1 | 8 | elsif ($object->can($FORCE_NOSAVE)) { } | |
244 | 0 | 8 | if ($before ne $after) |