App   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 53
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 53
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 40 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 App extends AbstractDistributor
17
{
18 1
    public function getEnum()
19
    {
20 1
        return DistributorProfile::APP;
21
    }
22
23 1
    public function getName()
24
    {
25 1
        return '';
26
    }
27
28
    public function getDeviceEnumList()
29
    {
30
        return [
31
            DeviceProfile::APP_DECATHLON_COACH,
32
            DeviceProfile::APP_ENDOMONDO,
33
            DeviceProfile::APP_EPSON_NEO_RUN,
34
            DeviceProfile::APP_GARMIN_CONNECT,
35
            DeviceProfile::APP_GARMIN_TRAINING_CENTER,
36
            DeviceProfile::APP_GLOBAL_SAT,
37
            DeviceProfile::APP_GPSIES,
38
            DeviceProfile::APP_GPS_MASTER,
39
            DeviceProfile::APP_I_SMOOTH_RUN,
40
            DeviceProfile::APP_KOMOOT,
41
            DeviceProfile::APP_KOMPASS,
42
            DeviceProfile::APP_KOMOOT,
43
            DeviceProfile::APP_LOCUS_MAP,
44
            DeviceProfile::APP_MOTI_FIT,
45
            DeviceProfile::APP_MOVESCOUNT,
46
            DeviceProfile::APP_NAVIME,
47
            DeviceProfile::APP_ORUX_MAPS,
48
            DeviceProfile::APP_OSM_AND,
49
            DeviceProfile::APP_OUTDOOR_ACTIVE,
50
            DeviceProfile::APP_POLAR_FLOW,
51
            DeviceProfile::APP_POLAR_PERSONAL_TRAINER,
52
            DeviceProfile::APP_RUN_GAP,
53
            DeviceProfile::APP_RUN_GPS_TRAINER,
54
            DeviceProfile::APP_RUNKEEPER,
55
            DeviceProfile::APP_RUNMETER,
56
            DeviceProfile::APP_RUNNERUP,
57
            DeviceProfile::APP_RUNTASTIC,
58
            DeviceProfile::APP_SMASHRUN,
59
            DeviceProfile::APP_SPORTRACTIVE,
60
            DeviceProfile::APP_SPORTS_TRACKER,
61
            DeviceProfile::APP_STRAVA,
62
            DeviceProfile::APP_THE_SUFFERFEST,
63
            DeviceProfile::APP_TRAIL_RUNNER,
64
            DeviceProfile::APP_TRAILS,
65
            DeviceProfile::APP_FITNESS_SYNCER,
66
        ];
67
    }
68
}
69