lib/Rex/Hook/File/Diff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
25 | 12 | 0 | if (not $managing_windows and $diff_command) { } |
0 | 0 | elsif (Rex::is_local()) { } | |
28 | 10 | 2 | if ($diff = i_run($command, 'fail_ok', TRUE())) |
41 | 10 | 2 | if (length $diff > 0) |
54 | 4 | 11 | unless (is_file($file)) |
55 | 5 | 10 | unless (is_file($temp_file)) |