Condition Coverage

/usr/local/bin/optex
Criterion Covered Total %
condition 15 45 33.3


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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