MongoDB/BSON/Regexp.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 83.3% 20 / 24 CC 1 SCAR 1.8
CC
1
Cov
89%
BUILD
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« MongoDB/InsertManyResult.pm ↑ Summary MongoDB/Code.pm »
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 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 package MongoDB::BSON::Regexp;
18  
19 # ABSTRACT: (DEPRECATED) Regular expression type
20  
21 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 our $VERSION = 'v2.2.2';
23  
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 extends 'BSON::Regex';
26  
27 1 with $_ for qw(
28 MongoDB::Role::_DeprecationWarner
29 );
30  
31 0 ▶sub BUILD {
Subroutine BUILD: not called CC=1 SCAR=6.9
Pod undocumented
32 0 my $self = shift;
33 0 $self->_warn_deprecated_class(__PACKAGE__, ["BSON::Regex"], 0);
34 };
35  
36 1 1;
37  
38 =pod
39  
40 =encoding UTF-8
41  
42 =head1 NAME
43  
44 MongoDB::BSON::Regexp - (DEPRECATED) Regular expression 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::Regex>.
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__
« MongoDB/InsertManyResult.pm ↑ Summary MongoDB/Code.pm »