Condition Coverage

/usr/local/bin/optex
Criterion Covered Total %
condition 17 45 37.7


and 3 conditions

line !l l&&!r l&&r condition
172 0 9 2 $mod_arg and @ARGV > 0
9 2 0 $mod_arg and @ARGV > 0 and $ARGV[0] eq $mod_opt
219 11 0 0 $new =~ m[/]u and -x $new
228 11 0 0 $path eq $cmd_dir and $new eq $cmd_name

or 2 conditions

line l !l condition
84 0 15 $config->{'alias'} //= {}
85 0 15 $config->{'no-module'} //= []
225 11 0 $ENV{'PATH'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 15 our $debug //= $ENV{'DEBUG_OPTEX'}
61 0 15 0 $ENV{'OPTEX_INVOKED_AS'} // $0
70 0 15 0 $ENV{$env_ROOT} || "$HOME/.$abs_name.d"
72 0 15 0 $ENV{$env_BINDIR} || "$config_dir/bin"
73 0 15 0 $ENV{$env_CONFIG} || "$config_dir/config.toml"
186 0 11 0 $aliased_name || search_path($target_name)
230 11 0 0 eval { do { abs_path($candidate) } } || $candidate
270 0 0 12 $opt->link or $opt->unlink
302 0 0 0 $ENV{'OPTEX_SCRIPT_PATH'} // $0