UserInfo   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

7 Methods

Rating   Name   Duplication   Size   Complexity  
A isMultiLoginEnabled() 0 3 1
A userName() 0 3 1
A signupTimeSec() 0 3 1
A userEmail() 0 3 1
A userProfileId() 0 3 1
A isBloggerUser() 0 3 1
A userId() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ExileeD\Inoreader\Objects;
6
7
class UserInfo extends AbstractObject implements ObjectInterface
8
{
9
10
11 3
    public function userId(): string
12
    {
13 3
        return $this->data->userId;
14
    }
15
16 3
    public function userName(): string
17
    {
18 3
        return $this->data->userName;
19
    }
20
21
22 3
    public function userProfileId(): string
23
    {
24 3
        return $this->data->userProfileId;
25
    }
26
27 3
    public function userEmail(): string
28
    {
29 3
        return $this->data->userEmail;
30
    }
31
32 3
    public function isBloggerUser(): bool
33
    {
34 3
        return $this->data->isBloggerUser;
35
    }
36
37 3
    public function signupTimeSec(): int
38
    {
39 3
        return $this->data->signupTimeSec;
40
    }
41
42 3
    public function isMultiLoginEnabled(): bool
43
    {
44 3
        return $this->data->isMultiLoginEnabled;
45
    }
46
}
47