Mapping   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 13
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Mathielen\ImportEngine\Mapping;
4
5
class Mapping
6
{
7
    public $from;
8
    public $to;
9
    public $converter;
10
11 7
    public function __construct($from, $to = null, $converter = null)
12
    {
13 7
        $this->from = $from;
14 7
        $this->to = $to;
15 7
        $this->converter = $converter;
16 7
    }
17
}
18