| blib/lib/Text/Graph/DataSet.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 26 | 26 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 48 | 1 | if (@_) |
| 20 | 42 | 6 | if ('ARRAY' eq ref $_[0]) { } |
| 4 | 2 | elsif ('HASH' eq ref $_[0]) { } | |
| 28 | 37 | 11 | if 'ARRAY' eq ref $_[0] |
| 31 | 5 | 44 | if (@_) |
| 33 | 1 | 4 | unless 0 == @_ % 2 |
| 48 | 44 | 10 | wantarray ? : |
| 55 | 85 | 10 | wantarray ? : |
| 62 | 5 | 43 | if (defined $$self{'hash'}) { } |
| 6 | 37 | elsif (not defined $$self{'labels'}) { } | |
| 64 | 4 | 1 | unless (defined $$self{'labels'}) |
| 66 | 3 | 1 | if (defined $$self{'sort'}) { } |
| 83 | 1 | 47 | if (scalar @{$$self{'values'};} > scalar @{$$self{'labels'};}) |