Suunto   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 43
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 43
ccs 4
cts 6
cp 0.6667
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getEnum() 0 4 1
A getName() 0 4 1
A getDeviceEnumList() 0 30 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 Suunto extends AbstractDistributor
17
{
18 1
    public function getEnum()
19
    {
20 1
        return DistributorProfile::SUUNTO;
21
    }
22
23 2
    public function getName()
24
    {
25 2
        return 'Suunto';
26
    }
27
28
    public function getDeviceEnumList()
29
    {
30
        return [
31
            DeviceProfile::SUUNTO_3_FITNESS,
32
            DeviceProfile::SUUNTO_M_4,
33
            DeviceProfile::SUUNTO_M_5,
34
            DeviceProfile::SUUNTO_X_6,
35
            DeviceProfile::SUUNTO_X_9,
36
            DeviceProfile::SUUNTO_X_10,
37
            DeviceProfile::SUUNTO_D_5,
38
            DeviceProfile::SUUNTO_5,
39
            DeviceProfile::SUUNTO_7,
40
            DeviceProfile::SUUNTO_9,
41
            DeviceProfile::SUUNTO_AMBIT,
42
            DeviceProfile::SUUNTO_AMBIT_2,
43
            DeviceProfile::SUUNTO_AMBIT_2_R,
44
            DeviceProfile::SUUNTO_AMBIT_2_S,
45
            DeviceProfile::SUUNTO_AMBIT_3_PEAK,
46
            DeviceProfile::SUUNTO_AMBIT_3_RUN,
47
            DeviceProfile::SUUNTO_AMBIT_3_VERTICAL,
48
            DeviceProfile::SUUNTO_AMBIT_3_SPORT,
49
            DeviceProfile::SUUNTO_EON_CORE,
50
            DeviceProfile::SUUNTO_EON_STEEL,
51
            DeviceProfile::SUUNTO_MEMORY_BELT,
52
            DeviceProfile::SUUNTO_QUEST,
53
            DeviceProfile::SUUNTO_TRAVERSE,
54
            DeviceProfile::SUUNTO_TRAVERSE_ALPHA,
55
            DeviceProfile::SUUNTO_SPARTAN_TRAINER_WRIST_H_R,
56
        ];
57
    }
58
}
59