Branch Coverage

bin/aep
Criterion Covered Total %
branch 24 38 63.1


line true false branch
274 1 9 if ($opt->help)
292 9 0 if (defined $code and $code =~ /^\d+$/u) { }
294 9 0 if (defined $reason) { }
301 0 9 $opt->verbose ? :
0 9 $opt->quiet ? :
341 1 243 if ($env_key =~ /^\Q$env_prefix\E/u) { }
357 1 8 if (defined $config_file and $config_file ne "\$unset" and -e $config_file)
360 0 1 unless open my $fh, "<", $config_file
404 2 0 $val ? :
2 0 if ($val ne '$unset') { }
410 1 0 $val >= 0 || $val == -1 ? :
419 0 89 if ($log_level eq "quiet" and $level ne "error")
423 0 89 if ($log_level eq "info" and $level eq "debug")
431 9 80 if ($message and ref $message eq 'HASH') { }
435 9 0 if ($message->{'lines'} and ref $message->{'lines'} eq 'ARRAY') { }
457 89 18 if ($msg_first++ == 1) { }
477 0 9 if (not defined $exit_code && $exit_code =~ /^\d+$/u or $exit_code > 255 or $exit_code < 0)
482 0 9 $opt->verbose ? :
0 9 $opt->quiet ? :