lib/Alien/Font/Uni.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 12 | 91.6 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 6 | 83.3 |
pod | 0 | 3 | 0.0 |
total | 16 | 21 | 76.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 659 | use strict; | |||
1 | 2 | ||||||
1 | 51 | ||||||
2 | |||||||
3 | package Alien::Font::Uni; | ||||||
4 | our $VERSION = '0.3'; | ||||||
5 | |||||||
6 | 1 | 1 | 527 | use File::ShareDir 'dist_dir'; | |||
1 | 27265 | ||||||
1 | 70 | ||||||
7 | 1 | 1 | 10 | use File::Spec; | |||
1 | 1 | ||||||
1 | 111 | ||||||
8 | |||||||
9 | 2 | 2 | 0 | 585 | sub get_path { File::Spec->catfile( dist_dir('Alien-Font-Uni') , 'unifont-'.font_version().'.ttf') } | ||
10 | |||||||
11 | 3 | 3 | 0 | 325 | sub font_version { '15.0.01' } | ||
12 | 0 | 0 | 0 | sub font_vstring { v15.0.01 } | |||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |