| blib/lib/Algorithm/TSort.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 28 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 34 | 9 | if ref $_ |
| 49 | 12 | 0 | $array ? : |
| 61 | 0 | 5 | unless defined $what |
| 62 | 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') { } | |
| 66 | 1 | 1 | if ($what eq 'SCALAR') { } |
| 75 | 0 | 12 | unless $line =~ /\S/ |
| 106 | 0 | 30 | unless (@nodes) |
| 107 | 0 | 0 | if (UNIVERSAL::can($object, 'nodes')) { } |
| 122 | 15 | 60 | if ($seen{$node}) |
| 123 | 10 | 5 | if $seen{$node} == 1 |
| 135 | 0 | 30 | if $seen{$_} |