Diff   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 26
ccs 0
cts 7
cp 0
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getOldData() 0 3 1
A __construct() 0 4 1
A getNewData() 0 3 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\Diff\DiffScatterChart;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8
class Diff
9
{
10
    /**
11
     * @var NewData
12
     */
13
    protected $newData;
14
15
    /**
16
     * @var OldData
17
     */
18
    protected $oldData;
19
20
    public function __construct()
21
    {
22
        $this->newData = new NewData();
23
        $this->oldData = new OldData();
24
    }
25
26
    public function getNewData(): NewData
27
    {
28
        return $this->newData;
29
    }
30
31
    public function getOldData(): OldData
32
    {
33
        return $this->oldData;
34
    }
35
}
36