lib/Template/Colour/Constants.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Template::Colour::Constants; | ||||||
2 | |||||||
3 | use Badger::Class | ||||||
4 | 3 | 53 | debug => 0, | ||||
5 | base => 'Badger::Constants', | ||||||
6 | constant => { | ||||||
7 | RED => 0, | ||||||
8 | GREEN => 1, | ||||||
9 | BLUE => 2, | ||||||
10 | HUE => 0, | ||||||
11 | SAT => 1, | ||||||
12 | VAL => 2, | ||||||
13 | SCHEME => 3, | ||||||
14 | BLACK => '#000000', | ||||||
15 | WHITE => '#FFFFFF', | ||||||
16 | }, | ||||||
17 | exports => { | ||||||
18 | any => 'SCHEME BLACK WHITE', | ||||||
19 | tags => { | ||||||
20 | RGB => 'RED GREEN BLUE', | ||||||
21 | HSV => 'HUE SAT VAL', | ||||||
22 | }, | ||||||
23 | 3 | 3 | 24020 | }; | |||
3 | 6 | ||||||
24 | |||||||
25 | 1; | ||||||
26 | |||||||
27 | __END__ |