| lib/Google/Chart/Data.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 9 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | n/a | ||
| total | 12 | 12 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | # $Id$ | ||||||
| 2 | |||||||
| 3 | package Google::Chart::Data; | ||||||
| 4 | 1 | 1 | 6 | use Moose::Role; | |||
| 1 | 3 | ||||||
| 1 | 12 | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 6384 | use constant parameter_name => 'chd'; | |||
| 1 | 3 | ||||||
| 1 | 122 | ||||||
| 7 | |||||||
| 8 | with 'Google::Chart::QueryComponent::Simple'; | ||||||
| 9 | |||||||
| 10 | has 'dataset' => ( | ||||||
| 11 | is => 'rw', | ||||||
| 12 | isa => 'ArrayRef', | ||||||
| 13 | required => 1, | ||||||
| 14 | default => sub { +[] } | ||||||
| 15 | ); | ||||||
| 16 | |||||||
| 17 | 1 | 1 | 7 | no Moose; | |||
| 1 | 3 | ||||||
| 1 | 9 | ||||||
| 18 | |||||||
| 19 | 1; | ||||||
| 20 | |||||||
| 21 | __END__ | ||||||
| 22 | |||||||
| 23 | =head1 NAME | ||||||
| 24 | |||||||
| 25 | Google::Chart::Data - Google::Chart Data Role | ||||||
| 26 | |||||||
| 27 | =cut |