InnerCircle   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 34
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 34
ccs 0
cts 6
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setRadiusFactor() 0 5 1
A setBorderFactor() 0 5 1
1
<?php
2
3
namespace CMEN\GoogleChartsBundle\GoogleCharts\Options\Diff\DiffPieChart;
4
5
/**
6
 * @author Christophe Meneses
7
 */
8
class InnerCircle
9
{
10
    /**
11
     * Relative size of the circles.
12
     *
13
     * @var float
14
     */
15
    protected $radiusFactor;
16
17
    /**
18
     * Border between the two circles.
19
     *
20
     * @var float
21
     */
22
    protected $borderFactor;
23
24
    /**
25
     * @return $this
26
     */
27
    public function setRadiusFactor(float $radiusFactor)
28
    {
29
        $this->radiusFactor = $radiusFactor;
30
31
        return $this;
32
    }
33
34
    /**
35
     * @return $this
36
     */
37
    public function setBorderFactor(float $borderFactor)
38
    {
39
        $this->borderFactor = $borderFactor;
40
41
        return $this;
42
    }
43
}
44