| blib/lib/Net/Hadoop/YARN/Roles/Common.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 31 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 113 | 0 | 0 | 0 | _check_host($host) && $port =~ /^[0-9]+$/ |
| line | l | !l | condition |
|---|---|---|---|
| 205 | 0 | 0 | $response->headers->{'www-authenticate'} || '' |
| 218 | 0 | 0 | $response->decoded_content || die('No response from the server!') |
| 232 | 0 | 0 | XMLin($content, 'KeepRoot', 0, 'KeyAttr', [], 'ForceArray', ['app', 'appAttempt', 'container', 'counterGroup', 'job', 'jobAttempt', 'task', 'taskAttempt']) || die('Failed to parse XML!') |
| 250 | 0 | 0 | $@ || 'Zombie error' |
| 295 | 0 | 0 | $e->{'message'} || $res->{'message'} || '[unknown message]' |
| 0 | 0 | $e->{'exception'} || $res->{'exception'} || '[unknown exception]' | |
| 0 | 0 | $e->{'javaClassName'} || $res->{'javaClassName'} || '[unknown javaClassName]' | |
| 304 | 0 | 0 | $@ || 'Zombie error' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 107 | 0 | 0 | 0 | eval { do { inet_aton($host) } } || $host =~ /$Net::Hadoop::YARN::Roles::Common::RE{'net'}{'IPv4'}/ || $host =~ /$Net::Hadoop::YARN::Roles::Common::RE{'net'}{'IPv6'}/ |
| 113 | 0 | 0 | 0 | not _check_host($host) && $port =~ /^[0-9]+$/ or $port < 1 |
| 0 | 0 | 0 | not _check_host($host) && $port =~ /^[0-9]+$/ or $port < 1 or $port > 19888 | |
| 254 | 0 | 0 | 0 | 'HTML::PullParser'->new('doc', \$str_to_parse, 'text', 'dtext') || Carp::confess("Can't parse HTML received from the API: $!") |