COMFake   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 11
dl 0
loc 20
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace PhpWinTools\Support\COM\Testing;
4
5
class COMFake extends COMObjectFake
6
{
7
    public $module_name;
8
9
    public $server_name;
10
11
    public $code_page;
12
13
    public $type_lib;
14
15
    public $expectations;
16
17 2
    public function __construct($module_name, $server_name = null, $code_page = null, $type_lib = null)
18
    {
19 2
        parent::__construct();
20
21 2
        $this->module_name = $module_name;
22 2
        $this->server_name = $server_name;
23 2
        $this->code_page = $code_page;
24 2
        $this->type_lib = $type_lib;
25 2
    }
26
}
27