blib/lib/Net/Hadoop/YARN/Roles/AppMasterHistoryServer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 19 | 21.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 0 | 0 | 0 | not @_ and ref $param |
line | l | !l | condition |
---|---|---|---|
33 | 0 | 0 | shift() || (return) |
45 | 1 | 2 | shift() || {} |
46 | 1 | 2 | $opt->{'prefix'} || '' |
59 | 0 | 0 | shift() || (return) |
100 | 0 | 0 | $param || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
76 | 0 | 0 | 0 | $validations[$params_idx] || do { my $what = $key =~ / \A _ /msx ? do { if (my $who = (caller 1)[3]) { my($short) = (split(/ [:]{2} /msx, $who, 0))[-1]; sprintf '%s` via: `%s', $short, $who; } else { $key; } } : $key; croak(sprintf('No validator for `%s` [%s]. Be sure that `%s` is a valid API endpoint for this object', $param, $params_idx, $what)) } |
96 | 0 | 0 | 0 | ref $param or $v->{'validate'}->($param) |