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
|
60
|
|
|
60
|
|
404
|
use strict; |
|
60
|
|
|
|
|
125
|
|
|
60
|
|
|
|
|
1514
|
|
16
|
60
|
|
|
60
|
|
301
|
use warnings; |
|
60
|
|
|
|
|
119
|
|
|
60
|
|
|
|
|
1776
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package MongoDB::_Platform; |
19
|
|
|
|
|
|
|
|
20
|
60
|
|
|
60
|
|
269
|
use version; |
|
60
|
|
|
|
|
120
|
|
|
60
|
|
|
|
|
282
|
|
21
|
|
|
|
|
|
|
our $VERSION = 'v2.2.2'; |
22
|
|
|
|
|
|
|
|
23
|
60
|
|
|
60
|
|
4112
|
use Config; |
|
60
|
|
|
|
|
137
|
|
|
60
|
|
|
|
|
7560
|
|
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; |