MongoDB/DBRef.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BUILD
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # Copyright 2013 - present MongoDB, Inc.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14  
15 use strict;
16 use warnings;
17 package MongoDB::DBRef;
18  
19 # ABSTRACT: (DEPRECATED) A MongoDB database reference type
20  
21 use version;
22 our $VERSION = 'v2.2.2';
23  
24 use Moo;
25 extends 'BSON::DBRef';
26  
27 with $_ for qw(
28 MongoDB::Role::_DeprecationWarner
29 );
30  
31 sub BUILD {
32 my $self = shift;
33 $self->_warn_deprecated_class(__PACKAGE__, ["BSON::DBRef"], 0);
34 };
35  
36 1;
37  
38 =pod
39  
40 =encoding UTF-8
41  
42 =head1 NAME
43  
44 MongoDB::DBRef - (DEPRECATED) A MongoDB database reference type
45  
46 =head1 VERSION
47  
48 version v2.2.2
49  
50 =head1 DESCRIPTION
51  
52 This class is now an empty subclass of L<BSON::DBRef>.
53  
54 =head1 AUTHORS
55  
56 =over 4
57  
58 =item *
59  
60 David Golden <david@mongodb.com>
61  
62 =item *
63  
64 Rassi <rassi@mongodb.com>
65  
66 =item *
67  
68 Mike Friedman <friedo@friedo.com>
69  
70 =item *
71  
72 Kristina Chodorow <k.chodorow@gmail.com>
73  
74 =item *
75  
76 Florian Ragwitz <rafl@debian.org>
77  
78 =back
79  
80 =head1 COPYRIGHT AND LICENSE
81  
82 This software is Copyright (c) 2020 by MongoDB, Inc.
83  
84 This is free software, licensed under:
85  
86 The Apache License, Version 2.0, January 2004
87  
88 =cut
89  
90 __END__