File Coverage

blib/lib/SortExample/Letter/ByScrabbleScore.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::Letter::ByScrabbleScore;
2              
3 1     1   257564 use strict;
  1         2  
  1         123  
4              
5             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6             our $DATE = '2025-01-12'; # DATE
7             our $DIST = 'SortExample-Letter-ByScrabbleScore'; # 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           qw/Q Z/, # 10
22             qw/J X/, # 8
23             qw/K/, # 5
24             qw/F H V W Y/, # 4
25             qw/B C M P/, # 3
26             qw/D G/, # 2
27             qw/A E I L N O R S T U/, # 1
28             ];
29             }
30              
31             1;
32             # ABSTRACT: Ordered list of letters by highest score in Scrabble
33              
34             __END__