blib/lib/Acme/covfefe.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Acme::covfefe;
2  
3 1 ▶use 5.026002;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 require Exporter;
8  
9 1 our @ISA = qw(Exporter);
10  
11 1 our @EXPORT = qw(covfefe);
12  
13 1 our $VERSION = '42';
14  
15 1 ▶sub covfefe {
Subroutine covfefe: called CC=1 SCAR=0.0
Pod undocumented
16 1 my @tweetreasons = (
17 'negative press',
18 'aliens',
19 'immigrants',
20 'the border wall',
21 'politics',
22 'the space force',
23 'Hillary',
24 'the flying spagetti monster',
25 'Twitter',
26 'climate change',
27 'global warming',
28 );
29  
30 1 my $reasonid = int rand @tweetreasons;
31 1 my $tweet = 'Despite ' . $tweetreasons[$reasonid] . ' covfefe';
32  
33 1 return $tweet;
34 }
35  
36  
37 1 1;
38 __END__
↑ Summary