lib/FP/Values.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 76.9% 20 / 26 CC 1 SCAR 2.9
CC
1
Cov
89%
fst
2.0
snd
2.0
BEGIN
1.0
CRAP 1.3
« lib/Chj/IO/WrappedFile.pm ↑ Summary examples/dbi »
1 #
2 # Copyright (c) 2013-2015 Christian Jaeger, copying@christianjaeger.ch
3 #
4 # This is free software, offered under either the same terms as perl 5
5 # or the terms of the Artistic License version 2 or the terms of the
6 # MIT License (Expat version). See the file COPYING.md that came
7 # bundled with this file.
8 #
9  
10 =head1 NAME
11  
12 FP::Values - utilities to work with Perl's multiple values ("lists")
13  
14 =head1 SYNOPSIS
15  
16 =head1 DESCRIPTION
17  
18  
19 =head1 NOTE
20  
21 This is alpha software! Read the status section in the package README
22 or on the L<website|http://functional-perl.org/>.
23  
24 =cut
25  
26 package FP::Values;
27 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
28 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
29 1 ▶use warnings FATAL => 'uninitialized';
Subroutine BEGIN: called CC=1 SCAR=0.0
30 1 ▶use Exporter "import";
Subroutine BEGIN: called CC=1 SCAR=0.0
31  
32 1 our @EXPORT = qw();
33 1 our @EXPORT_OK = qw(fst snd);
34 1 our %EXPORT_TAGS = (all => [@EXPORT, @EXPORT_OK]);
35  
36 0 ▶sub fst {
Subroutine fst: not called CC=1 SCAR=6.9
Pod undocumented
37 0 $_[0]
38 }
39  
40 0 ▶sub snd {
Subroutine snd: not called CC=1 SCAR=6.9
Pod undocumented
41 0 $_[1]
42 }
43  
44 1 1
« lib/Chj/IO/WrappedFile.pm ↑ Summary examples/dbi »