TwitterPlace   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 19
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A create() 0 4 1
1
<?php
2
3
namespace Twitter\Object;
4
5
use Twitter\TwitterSerializable;
6
7
class TwitterPlace implements TwitterSerializable
8
{
9
    /**
10
     * Constructor.
11
     */
12 3
    public function __construct()
13
    {
14 3
    }
15
16
    /**
17
     * Static constructor.
18
     *
19
     * @return TwitterPlace
20
     */
21 3
    public static function create()
22
    {
23 3
        return new self();
24
    }
25
}
26