Condition Coverage

blib/lib/Perinci/CmdLine/Inline.pm
Criterion Covered Total %
condition 73 118 61.8


and 3 conditions

line !l l&&!r l&&r condition
272 79 0 4 $arg_spec->{'stream'} and $sch->[0] eq "array"
385 0 0 79 $arg_schema and $cd->{'gen_args'}{'validate_args'}
405 22 10 50 $mod_rec->{'use_statement'} and $_->{'use_statement'}
10 0 50 $mod_rec->{'use_statement'} and $_->{'use_statement'} and $_->{'use_statement'} eq $mod_rec->{'use_statement'}
413 12 0 34 $mod_is_core and not $cd->{'module_srcs'}{$mod_rec->{'name'}}
34 0 0 $cd->{'gen_args'}{'allow_prereq'} && grep({$_ eq $mod_rec->{'name'};} @{$$cd{'gen_args'}{'allow_prereq'};})
12 0 34 $mod_is_core and not $cd->{'module_srcs'}{$mod_rec->{'name'}} and not $cd->{'gen_args'}{'allow_prereq'} && grep({$_ eq $mod_rec->{'name'};} @{$$cd{'gen_args'}{'allow_prereq'};})
656 25 0 0 $specmeta->{'is_alias'} and $specmeta->{'is_code'}
712 450 312 138 $stage == 1 and not $co
723 137 1 0 $specmeta->{'is_alias'} and $specmeta->{'is_code'}
1436 0 0 48 $args{'pack_deps'} and $args{'use_cleanser'}

or 2 conditions

line l !l condition
67 0 9 $meta //= {"v", "1.1"}
228 38 15 $meta->{'args'} // {}
234 87 2 $args_prop->{$b}{'pos'} // 9999
84 5 $args_prop->{$a}{'pos'} // 9999
261 0 90 $asa->{'cmdline_src'} // ""
262 0 90 $asb->{'cmdline_src'} // ""
267 85 5 $asa->{'pos'} // 9999
88 2 $asb->{'pos'} // 9999
271 83 0 $arg_spec->{'schema'} // ""
501 48 0 ${"Perinci::CmdLine::Inline::VERSION";} // "dev"
665 25 0 $specmeta->{'parsed'}{'type'} // ""
734 123 15 $specmeta->{'parsed'}{'type'} // ""
1060 0 50 $args{'validate_args'} //= 1
1062 0 50 $args{'pack_deps'} //= 1
1063 50 0 $args{'read_config'} //= 1
1064 50 0 $args{'read_env'} //= 1
1065 0 50 $args{'use_cleanser'} //= 1
1173 46 4 $args{'include'} // []
1341 3 52 $meta->{'args_as'} // "hash"
1403 10 43 $meta->{'result'}{'schema'} // ""
53 0 Data::Sah::Util::Type::get_type($meta->{'result'}{'schema'} // "") // ""
1404 10 43 $meta->{'result'}{'schema'} // ""
1502 48 0 $args{'pod'} // 1
1546 48 0 $cd->{'mods'}{$_}{'version'} // "(no version)"
1621 48 0 ${"Perinci::CmdLine::Inline::VERSION";} // "dev"
16 32 $args{'script_name'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
243 5 0 62 $arg_spec->{'slurpy'} // $arg_spec->{'greedy'}
1113 14 27 0 $script_name //= do {
1121 50 0 0 $url or $scs
1124 0 0 0 $script_name //= do {
1131 43 7 0 $script_name //= do {
1150 3 47 0 $args{'config_filename'} //= "$cd->{'script_name'}.conf"
1151 1 49 0 $args{'env_name'} //= do {
1249 0 50 0 $args{'shebang'} // $^X
1555 0 38 10 $args{'script_summary'} // $cd->{'metas'}{''}{'summary'}
1600 0 0 48 $cd->{'core_deps'}{$mod} //= $cd->{'sub_src_core_deps'}{$sub}{$mod}
1628 48 0 0 not defined $args{'output_file'} or $args{'output_file'} eq "-"