blib/lib/Hadoop/HDFS/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 31 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
107 | 0 | 0 | 0 | $response[0] and $response[0] =~ / \A Found \s+ [0-9] /msx |
287 | 0 | 0 | 0 | $paths->[0] and $paths->[0] eq "\\-" |
541 | 0 | 0 | 0 | $conf->{'require_params'} and not @params |
line | l | !l | condition |
---|---|---|---|
63 | 0 | 0 | shift() || die('No dfs command specified') |
130 | 0 | 0 | shift @rest || die("Unable to parse $line to gather the path") |
154 | 0 | 0 | $@ || 'Zombie error' |
233 | 0 | 0 | shift @{$paths;} || die('Source path not specified') |
234 | 0 | 0 | shift @{$paths;} || die('Target path not specified') |
289 | 0 | 0 | pop @{$paths;} || die('stdin content not specified!') |
463 | 0 | 0 | $rv{'entries'} ||= [] |
520 | 0 | 0 | $conf ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
119 | 0 | 0 | 0 | $rest[0] eq 0 or not $rest[1] =~ / [a-zA-Z_] /msx |
145 | 0 | 0 | 0 | $strp ||= "DateTime::Format::Strptime"->new("pattern", "%Y-%m-%d %H:%M", "time_zone", "CET", "on_error", "croak") |