SampleRequest   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getName() 0 1 1
A getUrl() 0 1 1
A getMapping() 0 1 1
1
<?php
2
namespace Thunder\SimilarWebApi\Tests\Dummy;
3
4
use Thunder\SimilarWebApi\AbstractRequest;
5
6
/**
7
 * @author Tomasz Kowalczyk <[email protected]>
8
 */
9
class SampleRequest extends AbstractRequest
10
    {
11
    public function __construct()
12
        {
13
        $this->args['invalid'] = $this->validateArg('invalid', null);
14
        }
15
16
    public function getName() { return null; }
17
    public function getUrl() { return null; }
18
    public function getMapping() { return null; }
19
    }
20