SomeClass   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A someMethod2() 0 4 1
A someMethod() 0 4 1
1
<?php
2
namespace Test;
3
4
use ArrayObject;
5
6
class SomeClass
7
{
8
    public function someMethod(ArrayObject $context)
9
    {
10
        $context['test2'] = 'def';
11
    }
12
13
    public function someMethod2(ArrayObject $context)
14
    {
15
        $context['test3'] = 'qrs';
16
    }
17
}
18