blib/lib/Crane/Config.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 8 | 37.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
162 | 0 | 2 | 0 | defined $filename and -e $filename |
line | l | !l | condition |
---|---|---|---|
99 | 1 | 0 | (YAML::Load(<$fh>))[0] || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
139 | 0 | 0 | 1 | not eval { do { confess($Crane::Config::OS_ERROR) unless print {$fh;} $yaml->dump($config) } } or $Crane::Config::EVAL_ERROR |