blib/lib/CLI/Driver/Class.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
32 | 272 | 0 | 0 | $#_ == 0 and ref $_[0] eq 'HASH' |
56 | 29 | 0 | 0 | $#_ == 0 and ref $_[0] eq 'HASH' |
65 | 16 | 0 | 0 | $hard and $opt->is_hard |
0 | 14 | 2 | $soft and $opt->is_soft | |
90 | 4 | 2 | 2 | $opt->is_required and $opt->is_hard |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 272 | 0 | 0 | $OK{$_} or Carp::croak("Unknown named parameter: $_") |
56 | 58 | 0 | 0 | $OK{$_} or Carp::croak("Unknown named parameter: $_") |