Factory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A newInstance() 0 4 1
1
<?php
2
namespace Comfort;
3
4
class Factory
5
{
6
    /**
7
     * @return Comfort
8
     */
9
    public function newInstance()
10
    {
11
        return new Comfort();
12
    }
13
}
14