Completed
Push — master ( 6d7f70...76d437 )
by Michael
19s
created

Concept2   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
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 19
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 6 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 Concept2 extends AbstractDistributor
17
{
18 1
    public function getEnum()
19
    {
20 1
        return DistributorProfile::CONCEPT_2;
21
    }
22
23 2
    public function getName()
24
    {
25 2
        return 'Concept 2';
26
    }
27
28
    public function getDeviceEnumList()
29
    {
30
        return [
31
            DeviceProfile::CONCEPT_2_UNKNOWN,
32
            ];
33
    }
34
}
35