blib/lib/Mojo/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 15 | 80.0 |
line | l | !l | condition | |
---|---|---|---|---|
45 | 3 | 28 | shift() // {} | |
58 | 47 | 176 | shift() // {} | |
114 | 45 | 1 | 0 | unlink $$self or croak(qq[Can't remove file "$$self": $!]) |
143 | 42 | 0 | $file->syswrite($content) // -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 60 | 1920 | 688 | $options->{'dir'} or not -d $File::Find::name |
98 | 5901 | 4242 | 0 | ref $class || $class |