Passed
Push — master ( 046444...56e09b )
by Andrea
28:16 queued 22:41
created

Menuapplicazione   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 19
ccs 8
cts 8
cp 1
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A isAttivo() 0 3 1
A isAutorizzazionerichiesta() 0 3 1
A hasNotifiche() 0 3 1
A __toString() 0 3 1
1
<?php
2
3
namespace Cdf\BiCoreBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Cdf\BiCoreBundle\Entity\Menuapplicazione.
9
 *
10
 * @ORM\Entity()
11
 */
12
class Menuapplicazione extends BaseMenuapplicazione
13
{
14 1
    public function isAttivo()
15
    {
16 1
        return $this->getAttivo();
17
    }
18
19 12
    public function isAutorizzazionerichiesta()
20
    {
21 12
        return $this->getAutorizzazionerichiesta();
22
    }
23
24 12
    public function hasNotifiche()
25
    {
26 12
        return $this->getNotifiche();
27
    }
28 1
    public function __toString()
29
    {
30 1
        return $this->getNome();
31
    }
32
}
33