blib/lib/Hadoop/HDFS/Command.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 29 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
100 | 0 | 0 | 0 | $response[0] and $response[0] =~ / \A Found \s+ [0-9] /msx |
280 | 0 | 0 | 0 | $paths->[0] and $paths->[0] eq '\\-' |
454 | 0 | 0 | 0 | $conf->{'require_params'} and not @params |
line | l | !l | condition |
---|---|---|---|
56 | 0 | 0 | shift() || die('No dfs command specified') |
123 | 0 | 0 | shift @rest || die("Unable to parse $line to gather the path") |
147 | 0 | 0 | $@ || 'Zombie error' |
226 | 0 | 0 | shift @{$paths;} || die('Source path not specified') |
227 | 0 | 0 | shift @{$paths;} || die('Target path not specified') |
282 | 0 | 0 | pop @{$paths;} || die('stdin content not specified!') |
441 | 0 | 0 | $conf ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 0 | 0 | 0 | $rest[0] eq '0' or not $rest[1] =~ / [a-zA-Z_] /msx |
138 | 0 | 0 | 0 | $strp ||= 'DateTime::Format::Strptime'->new('pattern', '%Y-%m-%d %H:%M', 'time_zone', 'CET', 'on_error', 'croak') |