| blib/lib/Algorithm/TSort.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 28 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 34 | 9 | if ref $_ |
| 48 | 12 | 0 | $array ? : |
| 59 | 0 | 5 | unless defined $what |
| 60 | 2 | 3 | if ($what eq 'IO' or $what eq 'SCALAR') { } |
| 1 | 2 | elsif ($what eq 'ADJSUB') { } | |
| 1 | 1 | elsif ($what eq 'ADJSUB_ARRAYREF') { } | |
| 1 | 0 | elsif ($what eq 'ADJ') { } | |
| 64 | 1 | 1 | if ($what eq 'SCALAR') { } |
| 73 | 0 | 12 | unless $line =~ /\S/ |
| 104 | 0 | 30 | unless (@nodes) |
| 105 | 0 | 0 | if (UNIVERSAL::can($object, 'nodes')) { } |
| 120 | 15 | 60 | if ($seen{$node}) |
| 121 | 10 | 5 | if $seen{$node} == 1 |
| 133 | 0 | 30 | if $seen{$_} |