blib/lib/Acme/MetaSyntactic/us_presidents.pm

filter: Statementstmt 61.1% 11 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 61.9% 13 / 21 CC 1 SCAR 2.9
CC
1
Cov
61%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Acme/MetaSyntactic/pm_groups.pm ↑ Summary blib/lib/Acme/MetaSyntactic/services.pm »
1 package Acme::MetaSyntactic::us_presidents;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Acme::MetaSyntactic::List;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our @ISA = qw( Acme::MetaSyntactic::List );
5 2 our $VERSION = '1.001';
6 2 __PACKAGE__->init();
7  
8 our %Remote = (
9 source => 'https://www.whitehouse.gov/1600/Presidents',
10 extract => sub {
11 return
12 0 map { y'- .'_'; s/_+/_/g; s/\b(.)/uc $1/eg; $_ }
13 0 ▶ grep { !/^(?:BEGIN|END)$/ }
Subroutine __ANON__: not called CC=1 SCAR=6.9
14 $_[0] =~ /"Portrait of ([^"]+)"/g;
15 }
16 2 );
17  
18 2 1;
19  
20 =head1 NAME
21  
22 Acme::MetaSyntactic::us_presidents - The presidents of the USA theme
23  
24 =head1 DESCRIPTION
25  
26 Presidents of the USA.
27  
28 This list is based on the official White House list, available at:
29 L<https://www.whitehouse.gov/1600/Presidents>.
30  
31 =head1 CONTRIBUTOR
32  
33 Abigail
34  
35 =head1 CHANGES
36  
37 =over 4
38  
39 =item *
40  
41 2017-06-12 - v1.001
42  
43 Updated with the new US president since 2012
44 in Acme-MetaSyntactic-Themes version 1.050.
45  
46 =item *
47  
48 2012-05-07 - v1.000
49  
50 Updated with the new US president since 2008, and
51 received its own version number in Acme-MetaSyntactic-Themes version 1.000.
52  
53 =item *
54  
55 2006-01-16
56  
57 Updated (correction of a typo) by Abigail again
58 in Acme-MetaSyntactic version 0.57.
59  
60 =item *
61  
62 Introduced in Acme-MetaSyntactic version 0.52, published on December 12, 2005.
63  
64 =item *
65  
66 2005-10-20
67  
68 Submitted by Abigail.
69  
70 =back
71  
72 =head1 SEE ALSO
73  
74 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
75  
76 =cut
77  
78 __DATA__
« blib/lib/Acme/MetaSyntactic/pm_groups.pm ↑ Summary blib/lib/Acme/MetaSyntactic/services.pm »