| blib/lib/Perinci/Sub/ConvertArgs/Argv.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 21 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 88 | 0 | 0 | 1 | $sch && $sch->[0] eq 'array' && is_simple($sch->[1]{'of'} // $sch->[1]{'each_elem'}) |
| 102 | 0 | 7 | 2 | $sch && $sch->[0] eq 'bool' |
| 104 | 0 | 0 | 2 | $sch && $sch->[0] eq 'array' && $sch->[1]{'of'} && is_simple($sch->[1]{'of'}) |
| 106 | 8 | 0 | 1 | $sch && $sch->[0] eq 'hash' && is_simple(($sch->[1]{'of'} // $sch->[1]{'each_value'}) // $sch->[1]{'each_elem'}) |
| 108 | 7 | 1 | 1 | $is_array_of_simple && $sch->[1]{'of'}[0] =~ /\A(int|float)\z/ |
| line | l | !l | condition |
|---|---|---|---|
| 71 | 6 | 1 | $fargs{'meta'} // {'v', 1.1} |
| 72 | 6 | 1 | $meta->{'args'} // {} |
| 74 | 7 | 0 | $meta->{'v'} // 1 |