LINQ/Grouping.pm

filter: Statementstmt 93.7% 15 / 16 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 90.9% 20 / 22 SCAR 0.0
CC
1
Cov
89%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« LINQ/Array.pm ↑ Summary LINQ/Util.pm »
1 3 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 ▶if ( $] < 5.010000 ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($] < "5.01") 0 3 3
6 0 require UNIVERSAL::DOES;
7 }
8  
9 package LINQ::Grouping;
10  
11 3 our $AUTHORITY = 'cpan:TOBYINK';
12 3 our $VERSION = '0.002';
13  
14 3 ▶use Class::Tiny qw( key values );
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 3 1;
17  
18 __END__
19  
20 =pod
21  
22 =encoding utf-8
23  
24 =head1 NAME
25  
26 LINQ::Grouping - results of group_by
27  
28 =head1 DESCRIPTION
29  
30 The C<group_by> method of L<LINQ::Collection> returns LINQ::Grouping objects.
31 Please see the documntation in that interface.
32  
33 =begin trustme
34  
35 =item key
36  
37 =item values
38  
39 =end trustme
40  
41 =head1 BUGS
42  
43 Please report any bugs to
44 L<http://rt.cpan.org/Dist/Display.html?Queue=LINQ>.
45  
46 =head1 SEE ALSO
47  
48 L<LINQ::Collection>.
49  
50 =head1 AUTHOR
51  
52 Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
53  
54 =head1 COPYRIGHT AND LICENCE
55  
56 This software is copyright (c) 2014, 2021 by Toby Inkster.
57  
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60  
61 =head1 DISCLAIMER OF WARRANTIES
62  
63 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
64 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
65 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
« LINQ/Array.pm ↑ Summary LINQ/Util.pm »