File Coverage

blib/lib/SortExample/Color/Rainbow/EN.pm
Criterion Covered Total %
statement 3 6 50.0
branch n/a
condition n/a
subroutine 1 3 33.3
pod 0 2 0.0
total 4 11 36.3


line stmt bran cond sub pod time code
1             package SortExample::Color::Rainbow::EN;
2              
3 1     1   306820 use strict;
  1         3  
  1         135  
4              
5             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6             our $DATE = '2024-01-26'; # DATE
7             our $DIST = 'SortExample-Color-Rainbow-EN'; # DIST
8             our $VERSION = '0.001'; # VERSION
9              
10             sub meta {
11             +{
12 0     0 0   v => 1,
13             args => {},
14             };
15             }
16              
17             sub get_example {
18 0     0 0   my %args = @_;
19              
20             [
21 0           "red",
22             "orange",
23             "yellow",
24             "green",
25             "blue",
26             "indigo",
27             "violet",
28             ];
29             }
30              
31             1;
32             # ABSTRACT: Ordered list of names of colors in the rainbow, in English
33              
34             __END__