RoutingKeyUnknown   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 19
ccs 7
cts 7
cp 1
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A __toString() 0 4 1
A getValue() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: mathijs
5
 * Date: 28-9-16
6
 * Time: 21:16
7
 */
8
9
namespace mcorten87\rabbitmq_api\objects;
10
11
12
class RoutingKeyUnknown extends RoutingKey
13
{
14 4
    public function __construct()
15
    {
16 4
        parent::__construct('');
17 4
    }
18
19 1
    public function getValue(): string
20
    {
21 1
        return '';
22
    }
23
24 4
    public function __toString(): string
25
    {
26 4
        return '';
27
    }
28
29
30
}