User   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 23
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getUsername() 0 4 1
A setUsername() 0 4 1
1
<?php
2
3
namespace Ddeboer\DataImport\Tests\Fixtures\Entity;
4
5
/**
6
 * @Entity()
7
 */
8
class User
9
{
10
    /** @Id @GeneratedValue @Column(type="integer") **/
11
    private $id;
12
13
    /** @Column(type="string") */
14
    private $username;
15
16
    public function getId()
17
    {
18
        return $this->id;
19
    }
20
21
    public function getUsername()
22
    {
23
        return $this->username;
24
    }
25
26
    public function setUsername($username)
27
    {
28
        $this->username = $username;
29
    }
30
}
31