Condition Coverage

blib/lib/Rex/Args.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
62 8 8 1 /^\-[A-Za-z]+/u and length $_ > 2
16 0 1 /^\-[A-Za-z]+/u and length $_ > 2 and $CLEANUP
77 0 1 9 length $p >= 2 and substr($p, 0, 1) eq "-"
92 5 0 0 length $ARGV[0] == 2 and exists $args{substr $ARGV[0], 1, 2}
5 0 0 length $ARGV[0] == 2 and exists $args{substr $ARGV[0], 1, 2} and substr($ARGV[0], 0, 1) eq "-"
117 8 1 0 exists $Rex::Args::rex_opts{$name_param} and $type eq "Single"

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 5 not exists $ARGV[0] or length $ARGV[0] == 2 and exists $args{substr $ARGV[0], 1, 2} and substr($ARGV[0], 0, 1) eq "-"