SystemStats   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 5
lcom 0
cbo 2
dl 0
loc 43
rs 10

5 Methods

Rating   Name   Duplication   Size   Complexity  
A setJumpsLast24Hours() 0 4 1
A setHref() 0 4 1
A setShipsDestroyedLast24Hours() 0 4 1
A setPilotsInSpace() 0 4 1
A setStationCount() 0 4 1
1
<?php
2
namespace Perry\Representation\Eve\v1;
3
4
use \Perry\Representation\Reference as Reference;
5
use \Perry\Representation\Uri as Uri;
6
use \Perry\Representation\Base as Base;
7
8
class SystemStats extends Base
9
{
10
    public $jumpsLast24Hours;
11
12
    public $href;
13
14
    public $shipsDestroyedLast24Hours;
15
16
    public $pilotsInSpace;
17
18
    public $stationCount;
19
20
    // by Warringer\Types\Long
21
    public function setJumpsLast24Hours($jumpsLast24Hours)
22
    {
23
        $this->jumpsLast24Hours = $jumpsLast24Hours;
24
    }
25
26
    // by Warringer\Types\Uri
27
    public function setHref($href)
28
    {
29
        $this->href = new Uri($href);
30
    }
31
32
    // by Warringer\Types\Long
33
    public function setShipsDestroyedLast24Hours($shipsDestroyedLast24Hours)
34
    {
35
        $this->shipsDestroyedLast24Hours = $shipsDestroyedLast24Hours;
36
    }
37
38
    // by Warringer\Types\Long
39
    public function setPilotsInSpace($pilotsInSpace)
40
    {
41
        $this->pilotsInSpace = $pilotsInSpace;
42
    }
43
44
    // by Warringer\Types\Long
45
    public function setStationCount($stationCount)
46
    {
47
        $this->stationCount = $stationCount;
48
    }
49
50
}
51