None   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 50%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 27
ccs 2
cts 4
cp 0.5
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createDelegate() 0 4 1
A create() 0 4 1
1
<?php
2
/**
3
 * Composer Magento Installer
4
 */
5
6
namespace MagentoHackathon\Composer\Magento\Deploystrategy;
7
8
/**
9
 * None deploy strategy
10
 */
11
class None extends DeploystrategyAbstract
12
{
13
    /**
14
     * Deploy nothing
15
     *
16
     * @param string $source
17
     * @param string $dest
18
     * @return bool
19
     */
20
    public function createDelegate($source, $dest)
21
    {
22
        return true;
23
    }
24
25
    /**
26
     * Deploy nothing
27
     *
28
     * @param string $source
29
     * @param string $dest
30
     *
31
     * @return bool
32
     */
33 2
    public function create($source, $dest)
34
    {
35 2
        return true;
36
    }
37
}
38