Test Setup Failed
Push — master ( aa9039...94c501 )
by Derek
03:32
created

TestClass   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 1
cbo 0
dl 0
loc 19
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getTestProperty() 0 4 1
A setTestProperty() 0 4 1
A toggleTestProperty() 0 4 1
1
<?php
2
namespace Subreality\Dilmun\Tests;
3
4
class TestClass
5
{
6
    private $test_property = false;
7
8
    public function getTestProperty()
9
    {
10
        return $this->test_property;
11
    }
12
13
    public function setTestProperty($test_property)
14
    {
15
        $this->test_property = $test_property;
16
    }
17
18
    public function toggleTestProperty()
19
    {
20
        $this->test_property = !$this->test_property;
21
    }
22
}