| line |
l |
!l&&r |
!l&&!r |
condition |
|
29
|
17 |
10 |
0 |
$js ||= eval {
do {
require JSON;
'JSON'->new->utf8->allow_unknown->allow_nonref->convert_blessed->canonical
}
} || die("Could not load JSON: $@") |
|
31
|
0 |
0 |
0 |
$jp ||= eval {
do {
require JSON;
'JSON'->new->utf8->allow_unknown->allow_nonref->convert_blessed->canonical->pretty
}
} || die("Could not load JSON: $@") |
|
35
|
174 |
8 |
0 |
$config ||= do {
my $c = undef;
eval {
do {
require config;
eval {
do {
$c = "config"->load
}
};
$c ||= defined $config::config && 'HASH' eq ref $config::config && $config::config;
$c ||= %config::config ? \%config::config : undef
}
};
$c = {"failed_load", $@ || 'missing config::config hash'} unless "HASH" eq ref $c;
$c
} |
|
40
|
4 |
1 |
2 |
$c ||= defined $config::config && 'HASH' eq ref $config::config && $config::config |
|
41
|
5 |
1 |
1 |
$c ||= %config::config ? \%config::config : undef |