Level   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 30
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace IVCalculator\Entities;
4
5
class Level
6
{
7
    /**
8
     * @var int
9
     */
10
    public $level;
11
12
    /**
13
     * @var int
14
     */
15
    public $dust;
16
17
    /**
18
     * @var int
19
     */
20
    public $candy;
21
22
    /**
23
     * @var float
24
     */
25
    public $cpScalar;
26
27
    public function __construct($level, $dust, $candy, $cpScalar)
28
    {
29
        $this->level = $level;
30
        $this->dust = $dust;
31
        $this->candy = $candy;
32
        $this->cpScalar = $cpScalar;
33
    }
34
}
35