| blib/lib/Ascii/Text/Font.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 Ascii::Text::Font; | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 693 | use Rope; | |||
| 1 | 2 | ||||||
| 1 | 8 | ||||||
| 4 | |||||||
| 5 | function default_character => sub { | ||||||
| 6 | my @char = (); | ||||||
| 7 | for (1 .. $_[0]->character_height) { | ||||||
| 8 | my @width = map { " " } 1 .. $_[1]; | ||||||
| 9 | push @char, \@width; | ||||||
| 10 | } | ||||||
| 11 | return @char; | ||||||
| 12 | }; | ||||||
| 13 | |||||||
| 14 | 1; |