Garmin   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 132
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 66.67%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 132
c 0
b 0
f 0
ccs 4
cts 6
cp 0.6667
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getEnum() 0 4 1
A getName() 0 4 1
B getDeviceEnumList() 0 119 1
1
<?php
2
3
/*
4
 * This file is part of the Runalyze Device List.
5
 *
6
 * (c) RUNALYZE <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Runalyze\Devices\Distributor;
13
14
use Runalyze\Devices\Device\DeviceProfile;
15
16
class Garmin extends AbstractDistributor
17
{
18 1
    public function getEnum()
19
    {
20 1
        return DistributorProfile::GARMIN;
21
    }
22
23 2
    public function getName()
24
    {
25 2
        return 'Garmin';
26
    }
27
28
    public function getDeviceEnumList()
29
    {
30
        return [
31
            DeviceProfile::GARMIN_UNKNOWN,
32
            DeviceProfile::GARMIN_APPROACH_S_6,
33
            DeviceProfile::GARMIN_APPROACH_S_10,
34
            DeviceProfile::GARMIN_APPROACH_S_20,
35
            DeviceProfile::GARMIN_APPROACH_S_40,
36
            DeviceProfile::GARMIN_APPROACH_X_40,
37
            DeviceProfile::GARMIN_APPROACH_S_60,
38
            DeviceProfile::GARMIN_APPROACH_S_62,
39
            DeviceProfile::GARMIN_DESCENT_MK_1,
40
            DeviceProfile::GARMIN_EDGE_20,
41
            DeviceProfile::GARMIN_EDGE_25,
42
            DeviceProfile::GARMIN_EDGE_200,
43
            DeviceProfile::GARMIN_EDGE_305,
44
            DeviceProfile::GARMIN_EDGE_500,
45
            DeviceProfile::GARMIN_EDGE_510,
46
            DeviceProfile::GARMIN_EDGE_520,
47
            DeviceProfile::GARMIN_EDGE_520_PLUS,
48
            DeviceProfile::GARMIN_EDGE_605,
49
            DeviceProfile::GARMIN_EDGE_705,
50
            DeviceProfile::GARMIN_EDGE_800,
51
            DeviceProfile::GARMIN_EDGE_810,
52
            DeviceProfile::GARMIN_EDGE_820,
53
            DeviceProfile::GARMIN_EDGE_830,
54
            DeviceProfile::GARMIN_EDGE_1000,
55
            DeviceProfile::GARMIN_EDGE_1030,
56
            DeviceProfile::GARMIN_EDGE_EXPLORE_820,
57
            DeviceProfile::GARMIN_EDGE_EXPLORE_1000,
58
            DeviceProfile::GARMIN_EDGE_TOURING,
59
            DeviceProfile::GARMIN_EPIX,
60
            DeviceProfile::GARMIN_ETREX_TOUCH,
61
            DeviceProfile::GARMIN_FENIX,
62
            DeviceProfile::GARMIN_FENIX_2,
63
            DeviceProfile::GARMIN_FENIX_3,
64
            DeviceProfile::GARMIN_FENIX_3_H_R,
65
            DeviceProfile::GARMIN_FENIX_5,
66
            DeviceProfile::GARMIN_FENIX_5_PLUS,
67
            DeviceProfile::GARMIN_FENIX_5_WIFI,
68
            DeviceProfile::GARMIN_FENIX_5_S,
69
            DeviceProfile::GARMIN_FENIX_5_S_PLUS,
70
            DeviceProfile::GARMIN_FENIX_5_X,
71
            DeviceProfile::GARMIN_FENIX_5_X_PLUS,
72
            DeviceProfile::GARMIN_FENIX_6,
73
            DeviceProfile::GARMIN_FENIX_6_S,
74
            DeviceProfile::GARMIN_FENIX_6_S_PRO,
75
            DeviceProfile::GARMIN_FENIX_6_X,
76
            DeviceProfile::GARMIN_FENIX_6_X_PRO,
77
            DeviceProfile::GARMIN_FORERUNNER_10,
78
            DeviceProfile::GARMIN_FORERUNNER_15,
79
            DeviceProfile::GARMIN_FORERUNNER_25,
80
            DeviceProfile::GARMIN_FORERUNNER_30,
81
            DeviceProfile::GARMIN_FORERUNNER_35,
82
            DeviceProfile::GARMIN_FORERUNNER_45,
83
            DeviceProfile::GARMIN_FORERUNNER_45_S,
84
            DeviceProfile::GARMIN_FORERUNNER_50,
85
            DeviceProfile::GARMIN_FORERUNNER_60,
86
            DeviceProfile::GARMIN_FORERUNNER_70,
87
            DeviceProfile::GARMIN_FORERUNNER_245,
88
            DeviceProfile::GARMIN_FORERUNNER_245_MUSIC,
89
            DeviceProfile::GARMIN_FORERUNNER_301,
90
            DeviceProfile::GARMIN_FORERUNNER_305,
91
            DeviceProfile::GARMIN_FORERUNNER_405_C_X,
92
            DeviceProfile::GARMIN_FORERUNNER_645,
93
            DeviceProfile::GARMIN_FORERUNNER_645_MUSIC,
94
            DeviceProfile::GARMIN_FORERUNNER_735_X_T,
95
            DeviceProfile::GARMIN_FORERUNNER_910_X_T,
96
            DeviceProfile::GARMIN_FORERUNNER_920_X_T,
97
            DeviceProfile::GARMIN_FORERUNNER_935,
98
            DeviceProfile::GARMIN_FORERUNNER_945,
99
            DeviceProfile::GARMIN_INSTINCT,
100
            DeviceProfile::GARMIN_MARQ_ADVENTURER,
101
            DeviceProfile::GARMIN_MARQ_ATHLETE,
102
            DeviceProfile::GARMIN_MARQ_AVIATOR,
103
            DeviceProfile::GARMIN_MARQ_CAPTAIN,
104
            DeviceProfile::GARMIN_MARQ_COMMANDER,
105
            DeviceProfile::GARMIN_MARQ_DRIVER,
106
            DeviceProfile::GARMIN_MOBILE_IOS,
107
            DeviceProfile::GARMIN_MONTANA_610,
108
            DeviceProfile::GARMIN_MONTANA_680,
109
            DeviceProfile::GARMIN_MONTANA_680_T,
110
            DeviceProfile::GARMIN_OREGON_300,
111
            DeviceProfile::GARMIN_OREGON_400_T,
112
            DeviceProfile::GARMIN_OREGON_450,
113
            DeviceProfile::GARMIN_OREGON_450_T,
114
            DeviceProfile::GARMIN_OREGON_550,
115
            DeviceProfile::GARMIN_OREGON_600,
116
            DeviceProfile::GARMIN_OREGON_700,
117
            DeviceProfile::GARMIN_OREGON_750,
118
            DeviceProfile::GARMIN_OREGON_750_T,
119
            DeviceProfile::GARMIN_QUATIX_5,
120
            DeviceProfile::GARMIN_SPEED_SENSOR_2,
121
            DeviceProfile::GARMIN_SWIM,
122
            DeviceProfile::GARMIN_SWIM_2,
123
            DeviceProfile::GARMIN_TACTIX_CHARLIE,
124
            DeviceProfile::GARMIN_TACTIX_DELTA,
125
            DeviceProfile::GARMIN_VENU,
126
            DeviceProfile::GARMIN_VIVO_ACTIVE,
127
            DeviceProfile::GARMIN_VIVO_ACTIVE_3,
128
            DeviceProfile::GARMIN_VIVO_ACTIVE_3_MUSIC,
129
            DeviceProfile::GARMIN_VIVO_ACTIVE_4,
130
            DeviceProfile::GARMIN_VIVO_ACTIVE_4_S,
131
            DeviceProfile::GARMIN_VIVO_ACTIVE_H_R,
132
            DeviceProfile::GARMIN_VIVO_FIT,
133
            DeviceProfile::GARMIN_VIVO_FIT_2,
134
            DeviceProfile::GARMIN_VIVO_FIT_3,
135
            DeviceProfile::GARMIN_VIVO_FIT_4,
136
            DeviceProfile::GARMIN_VIVO_FIT_JR,
137
            DeviceProfile::GARMIN_VIVO_FIT_JR_2,
138
            DeviceProfile::GARMIN_VIVO_SMART,
139
            DeviceProfile::GARMIN_VIVO_SMART_4,
140
            DeviceProfile::GARMIN_VIVO_SMART_GPS_H_R,
141
            DeviceProfile::GARMIN_VIVO_SMART_H_R,
142
            DeviceProfile::GARMIN_VIVO_SPORT,
143
            DeviceProfile::GARMIN_TACTIX_CHARLIE,
144
            DeviceProfile::GARMIN_TACTIX_DELTA,
145
        ];
146
    }
147
}
148