MongoDB/BSON/Binary.pm

filter: Statementstmt 91.6% 22 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 87.5% 28 / 32 CC 1 SCAR 1.3
CC
1
Cov
92%
BUILD
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« MongoDB/Timestamp.pm ↑ Summary MongoDB/UpdateResult.pm »
1 # Copyright 2012 - 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::Binary;
18  
19 # ABSTRACT: (DEPRECATED) MongoDB binary 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::Bytes';
26  
27 1 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 # Kept for backwards compatibilty
30 1 ▶use constant {
Subroutine BEGIN: called CC=1 SCAR=0.0
31 1 SUBTYPE_GENERIC => 0,
32 SUBTYPE_FUNCTION => 1,
33 SUBTYPE_GENERIC_DEPRECATED => 2,
34 SUBTYPE_UUID_DEPRECATED => 3,
35 SUBTYPE_UUID => 4,
36 SUBTYPE_MD5 => 5,
37 SUBTYPE_USER_DEFINED => 128
38 1 };
39  
40 1 with $_ for qw(
41 MongoDB::Role::_DeprecationWarner
42 );
43  
44 0 ▶sub BUILD {
Subroutine BUILD: not called CC=1 SCAR=6.9
Pod undocumented
45 0 my $self = shift;
46 0 $self->_warn_deprecated_class(__PACKAGE__, ["BSON::Bytes"], 0);
47 };
48  
49 1 1;
50  
51 __END__
« MongoDB/Timestamp.pm ↑ Summary MongoDB/UpdateResult.pm »