Completed
Push — master ( cc2b61...1c1894 )
by Michael
02:05
created

Apple   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 33.33%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 17
ccs 2
cts 6
cp 0.3333
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getEnum() 0 4 1
A getName() 0 4 1
A getDeviceEnumList() 0 4 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
class Apple extends AbstractDistributor
15
{
16 1
    public function getEnum()
17
    {
18 1
        return DistributorProfile::APPLE;
19
    }
20
21
    public function getName()
22
    {
23
        return 'Apple';
24
    }
25
26
    public function getDeviceEnumList()
27
    {
28
        return [];
29
    }
30
}
31