Cli   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 1 Features 1
Metric Value
wmc 2
c 3
b 1
f 1
lcom 1
cbo 2
dl 0
loc 15
ccs 8
cts 8
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initiate() 0 8 1
A sendDebugIds() 0 3 1
1
<?php
2
3
namespace Ndrx\Profiler\Context;
4
5
use Ndrx\Profiler\Process;
6
7
/**
8
 * Created by PhpStorm.
9
 * User: arnaud
10
 * Date: 01/11/15
11
 * Time: 16:38
12
 */
13
class Cli extends Context
14
{
15 122
    public function initiate()
16
    {
17 122
        parent::initiate();
18
19 122
        $this->process = Process::build();
20 122
        $this->process->setContext($this);
21 122
        $this->sendDebugIds();
22 122
    }
23
24 122
    public function sendDebugIds()
25
    {
26 122
    }
27
}
28