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