CallerObjectInfo   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFile() 0 4 1
A __construct() 0 5 1
1
<?php
2
3
namespace mcorten87\rabbitmq_api\objects;
4
5
class CallerObjectInfo extends BaseObject
6
{
7
    protected $file;
8
9
    /**
10
     * @return string
11
     */
12 26
    public function getFile()
13
    {
14 26
        return $this->file;
15
    }
16
17
18 26
    public function __construct(string $file, string $value)
19
    {
20 26
        $this->file = $file;
21 26
        parent::__construct($value);
22 26
    }
23
}
24