blib/lib/App/Framework/Feature/Args.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 49 | 61 | 80.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
637 | 24 | 7 | 0 | $optional and not $arg_optional |
754 | 5 | 0 | 7 | $open_in and $arg_names_href->{$name}{'type'} eq 'f' |
767 | 1 | 0 | 1 | $open_in and $arg_names_href->{$name}{'type'} eq 'f' |
798 | 1 | 10 | 2 | $arg_names_href->{$name}{'dest_type'} ne '*' and not $arg_optional |
812 | 8 | 0 | 34 | not $arg_optional and $val |
815 | 5 | 26 | 3 | $arg_names_href->{$name}{'type'} eq 'f' and not -f $val |
820 | 26 | 4 | 1 | $arg_names_href->{$name}{'type'} eq 'd' and not -d $val |
833 | 21 | 7 | 10 | $open_in and $arg_names_href->{$name}{'type'} eq 'f' |
870 | 17 | 2 | 4 | $arg_names_href->{$name}{'direction'} eq 'o' and $arg_names_href->{$name}{'type'} eq 'f' |
line | l | !l | condition |
---|---|---|---|
776 | 1 | 0 | $args_href->{$name} ||= [] |
852 | 6 | 0 | $args_href->{$fh_name} ||= [] |
1348 | 31 | 15 | $summary ||= 'Arg' |
1349 | 1 | 45 | $description ||= '' |
1350 | 31 | 15 | $arg_type ||= 's' |
1351 | 31 | 15 | $arg_direction ||= 'i' |
1352 | 6 | 40 | $dest_type ||= '' |
1353 | 11 | 35 | $optional ||= 0 |
1355 | 3 | 43 | $arg_append ||= '' |
1356 | 0 | 46 | $arg_mode ||= '' |
1385 | 0 | 6 | $exit_code || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
407 | 0 | 30 | 0 | ref $obj || $obj |
641 | 7 | 4 | 20 | $optional ||= $arg_optional |
765 | 0 | 2 | 6 | not defined $value or scalar @$value == 0 |
1354 | 31 | 15 | 0 | $arg_spec ||= "$arg_type" |