blib/lib/Cache/RamDisk/Functions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 28 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
326 | 1 | 0 | 0 | grep /$rdpath/, @mount and system('umount ' . $rdpath) < 0 |
line | l | !l | condition |
---|---|---|---|
282 | 1 | 0 | shift() || (return 0) |
425 | 0 | 1 | shift() || 'RdLk' |
464 | 0 | 0 | shift() || die('Argument missing!') |
466 | 0 | 0 | shift() || 'RdLk' |
512 | 0 | 1 | shift() || 'RdLk' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
298 | 0 | 0 | 3 | /\W/ or /^__.*__$/ |
331 | 0 | 0 | 0 | system('mke2fs -q -N' . $$args{'INodes'} . " /dev/ram$i") < 0 or system("mkdir -p $rdpath") < 0 |
0 | 0 | 0 | system('mke2fs -q -N' . $$args{'INodes'} . " /dev/ram$i") < 0 or system("mkdir -p $rdpath") < 0 or system "mount /dev/ram$i $rdpath" | |
420 | 1 | 0 | 0 | shift() || do { $stat->error('Argument missing'); return $stat } |
507 | 1 | 0 | 0 | shift() || do { warn 'Argument missing'; return 0 } |