GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( ae6819...4aeb17 )
by Cees-Jan
06:28
created

BackingQueueStatus   A

Complexity

Total Complexity 13

Size/Duplication

Total Lines 171
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 84.62%

Importance

Changes 0
Metric Value
wmc 13
lcom 0
cbo 1
dl 0
loc 171
ccs 22
cts 26
cp 0.8462
rs 10
c 0
b 0
f 0

13 Methods

Rating   Name   Duplication   Size   Complexity  
A mode() 0 4 1
A q1() 0 4 1
A q2() 0 4 1
A delta() 0 4 1
A q3() 0 4 1
A q4() 0 4 1
A len() 0 4 1
A targetRamCount() 0 4 1
A nextSeqId() 0 4 1
A avgIngressRate() 0 4 1
A avgEgressRate() 0 4 1
A avgAckIngressRate() 0 4 1
A avgAckEgressRate() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\RabbitMQ\Management\Resource\Queue;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("Queue\EmptyBackingQueueStatus")
10
 */
11
abstract class BackingQueueStatus extends AbstractResource implements BackingQueueStatusInterface
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $mode;
17
18
    /**
19
     * @var int
20
     */
21
    protected $q1;
22
23
    /**
24
     * @var int
25
     */
26
    protected $q2;
27
28
    /**
29
     * @var array
30
     */
31
    protected $delta;
32
33
    /**
34
     * @var int
35
     */
36
    protected $q3;
37
38
    /**
39
     * @var int
40
     */
41
    protected $q4;
42
43
    /**
44
     * @var int
45
     */
46
    protected $len;
47
48
    /**
49
     * @var mixed
50
     */
51
    protected $target_ram_count;
52
53
    /**
54
     * @var int
55
     */
56
    protected $next_seq_id;
57
58
    /**
59
     * @var float
60
     */
61
    protected $avg_ingress_rate;
62
63
    /**
64
     * @var float
65
     */
66
    protected $avg_egress_rate;
67
68
    /**
69
     * @var float
70
     */
71
    protected $avg_ack_ingress_rate;
72
73
    /**
74
     * @var float
75
     */
76
    protected $avg_ack_egress_rate;
77
78
    /**
79
     * @return string
80
     */
81 4
    public function mode(): string
82
    {
83 4
        return $this->mode;
84
    }
85
86
    /**
87
     * @return int
88
     */
89 4
    public function q1(): int
90
    {
91 4
        return $this->q1;
92
    }
93
94
    /**
95
     * @return int
96
     */
97 4
    public function q2(): int
98
    {
99 4
        return $this->q2;
100
    }
101
102
    /**
103
     * @return array
104
     */
105
    public function delta(): array
106
    {
107
        return $this->delta;
108
    }
109
110
    /**
111
     * @return int
112
     */
113 4
    public function q3(): int
114
    {
115 4
        return $this->q3;
116
    }
117
118
    /**
119
     * @return int
120
     */
121 4
    public function q4(): int
122
    {
123 4
        return $this->q4;
124
    }
125
126
    /**
127
     * @return int
128
     */
129 4
    public function len(): int
130
    {
131 4
        return $this->len;
132
    }
133
134
    /**
135
     * @return mixed
136
     */
137
    public function targetRamCount(): mixed
138
    {
139
        return $this->target_ram_count;
140
    }
141
142
    /**
143
     * @return int
144
     */
145 4
    public function nextSeqId(): int
146
    {
147 4
        return $this->next_seq_id;
148
    }
149
150
    /**
151
     * @return float
152
     */
153 4
    public function avgIngressRate(): float
154
    {
155 4
        return $this->avg_ingress_rate;
156
    }
157
158
    /**
159
     * @return float
160
     */
161 4
    public function avgEgressRate(): float
162
    {
163 4
        return $this->avg_egress_rate;
164
    }
165
166
    /**
167
     * @return float
168
     */
169 4
    public function avgAckIngressRate(): float
170
    {
171 4
        return $this->avg_ack_ingress_rate;
172
    }
173
174
    /**
175
     * @return float
176
     */
177 4
    public function avgAckEgressRate(): float
178
    {
179 4
        return $this->avg_ack_egress_rate;
180
    }
181
}
182