Twitter   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A writeTweet() 0 4 1
A directMessage() 0 4 1
1
<?php
2
3
namespace Structural\Adapter;
4
5
class Twitter implements TwitterClient
6
{
7
    public function writeTweet($tweet)
8
    {
9
        // ...
10
    }
11
    
12
    public function directMessage($message, $userId)
13
    {
14
        // ...
15
    }
16
}
17