| blib/lib/Term/Vspark.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 28 | 60.7 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 6 | 42 | $char ? : |
| 26 | 4 | 44 | if $length > $columns |
| 37 | 9 | 39 | if ($decimal > 0) |
| 48 | 0 | 7 | if ref $args{'values'} ne 'ARRAY' |
| 51 | 0 | 7 | if $args{'labels'} and ref $args{'labels'} ne 'ARRAY' |
| 56 | 1 | 6 | unless $args{'labels'} |
| 60 | 0 | 7 | if $args{'labels'} and scalar @labels != scalar @values |
| 77 | 36 | 12 | if defined $label |
| 89 | 7 | 0 | if $columns and $columns ne 'max' |
| 93 | 0 | 0 | unless $cols |
| 94 | 0 | 0 | if $columns eq 'max' |
| 95 | 0 | 0 | if $cols > 80 |
| 102 | 0 | 1 | unless @sorted |
| 109 | 1 | 6 | if scalar @labels == 0 |