lib/Ubic/ServiceLoader/Ext/json.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 14 | 64.2 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 4 | unless open my $fh, '<', $file |
32 | 0 | 4 | unless close $fh |
35 | 1 | 3 | unless ($config) |
42 | 1 | 2 | if (keys %$config) |
46 | 0 | 2 | unless $module =~ /^[\w:]+$/ |
48 | 0 | 2 | if ($@) |
53 | 2 | 0 | if $options |