line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright 2016 - 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
|
59
|
|
|
59
|
|
398
|
use strict; |
|
59
|
|
|
|
|
137
|
|
|
59
|
|
|
|
|
1749
|
|
16
|
59
|
|
|
59
|
|
340
|
use warnings; |
|
59
|
|
|
|
|
129
|
|
|
59
|
|
|
|
|
1972
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package MongoDB::_Platform; |
19
|
|
|
|
|
|
|
|
20
|
59
|
|
|
59
|
|
370
|
use version; |
|
59
|
|
|
|
|
144
|
|
|
59
|
|
|
|
|
336
|
|
21
|
|
|
|
|
|
|
our $VERSION = 'v2.2.0'; |
22
|
|
|
|
|
|
|
|
23
|
59
|
|
|
59
|
|
4844
|
use Config; |
|
59
|
|
|
|
|
156
|
|
|
59
|
|
|
|
|
8290
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub os_type { |
26
|
0
|
0
|
|
0
|
0
|
|
return ($^O eq "MSWin32") ? "Windows" : $^O; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub platform_details { |
30
|
0
|
|
|
0
|
0
|
|
my $perl_version = version->new($])->normal; |
31
|
0
|
|
|
|
|
|
return "Perl $perl_version $Config{archname}"; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |