| blib/lib/Linux/Proc/Mountinfo.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 0 | 1 | if %opts |
| 24 | 1 | 0 | unless (defined $file) |
| 25 | 1 | 0 | unless defined $mnt |
| 26 | 0 | 1 | unless -d $mnt and (stat _)[12] == 0 |
| 27 | 1 | 0 | unless defined $pid |
| 30 | 0 | 1 | unless open my $fh, '<', $file |
| 39 | 0 | 17 | unless ($dash_ix) |
| 44 | 0 | 17 | if (@fields < $dash_ix + 4) |
| 60 | 10 | 7 | if (not $old or length $$entry[3] < length $$old[3]) |
| 67 | 9 | 8 | $bind == $entry ? : |
| 69 | 17 | 0 | if ($$entry[0] != $$entry[1]) |
| 70 | 16 | 1 | if (my $parent = $entry_by_id{$$entry[1]}) |