Completed
Push — master ( ea15e4...6b748c )
by Michał
04:07
created

ProcessExample   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A exec() 0 5 1
1
<?php
2
3
namespace Foo;
4
5
use Phppm\Process;
6
7
class ProcessExample extends Process
8
{
9
    public function exec()
10
    {
11
        $time = $this->getFormattedTime();
12
        $this->output->writeln("[$time] heartbeat");
13
    }
14
}
15