Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function process() |
||
11 | { |
||
12 | $this->initWrapper($this->setLocalName()); |
||
13 | |||
14 | $this->getQueryString(); |
||
15 | |||
16 | list($key, $value) = array_pad(explode('|', $this->getReference()), 2, null); |
||
17 | |||
18 | if (isset($this->queryArray[$key])) { |
||
19 | if ($this->queryArray[$key] == $value) { |
||
20 | $this->setScore($this->getRealScore()); |
||
21 | |||
22 | } |
||
23 | } |
||
24 | $this->setResult(); |
||
25 | } |
||
41 | } |